mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-10-31 16:31:40 +01:00 
			
		
		
		
	Removed docker from the init since docker is no longer supported by kubernetes. Added containerd as runtime instead. Fixes #13942
		
			
				
	
	
		
			23 lines
		
	
	
		
			600 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			600 B
		
	
	
	
		
			Bash
		
	
	
		
			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}"
 | |
| pidfile="${KUBELET_PIDFILE:-/run/${RC_SVCNAME}.pid}"
 | |
| : ${output_log:=/var/log/$RC_SVCNAME/$RC_SVCNAME.log}
 | |
| : ${error_log:=/var/log/$RC_SVCNAME/$RC_SVCNAME.log}
 | |
| 
 | |
| depend() {
 | |
| 	after net
 | |
| 	need cgroups
 | |
| 	want containerd crio
 | |
| }
 |