mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-10-31 16:31:40 +01:00 
			
		
		
		
	Follow up on 5c94d4afcb
Changes:
* Revert s/KUBELET_KUBEADM_ARGS/KUBELET_ARGS
* Use /var/lib/kubernetes as the placeholder for other control planes env files
		
	
			
		
			
				
	
	
		
			20 lines
		
	
	
		
			528 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			528 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/sbin/openrc-run
 | |
| # Copyright 2017 Gentoo Foundation
 | |
| # Distributed under the terms of the GNU General Public License v2
 | |
| 
 | |
| supervisor=supervise-daemon
 | |
| description="Kubernetes Scheduler service"
 | |
| 
 | |
| if [ -e /var/lib/kubernetes/kube-scheduler-flags.env ]; then
 | |
| 	. /var/lib/kubernetes/kube-scheduler-flags.env;
 | |
| fi
 | |
| 
 | |
| command="/usr/bin/kube-scheduler"
 | |
| command_args="${command_args} ${KUBE_SCHEDULER_ARGS}"
 | |
| : ${output_log:=/var/log/$RC_SVCNAME/$RC_SVCNAME.log}
 | |
| : ${error_log:=/var/log/$RC_SVCNAME/$RC_SVCNAME.log}
 | |
| 
 | |
| depend() {
 | |
| 	after net
 | |
| }
 |