mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-29 18:31:35 +02:00
- kubelets needs cgroups service - kube-proxy needs iptables - add subpackages' depends in makedpends
21 lines
525 B
Plaintext
Executable File
21 lines
525 B
Plaintext
Executable File
#!/sbin/openrc-run
|
|
# Copyright 2016-2017 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
supervisor=supervise-daemon
|
|
description="Kubelet, a Kubernetes node agent"
|
|
|
|
if [ -e /var/lib/kubelet/kubeadm-flags.env ]; then
|
|
. /var/lib/kubelet/kubeadm-flags.env;
|
|
fi
|
|
|
|
command="/usr/bin/kubelet"
|
|
command_args="${command_args} ${KUBELET_KUBEADM_ARGS}"
|
|
: ${output_log:=/var/log/$RC_SVCNAME/$RC_SVCNAME.log}
|
|
: ${error_log:=/var/log/$RC_SVCNAME/$RC_SVCNAME.log}
|
|
|
|
depend() {
|
|
after net
|
|
need cgroups
|
|
}
|