Fix kubelet service Environment File
Kubelet env file in Debain uses path /etc/default instead of /etc/sysconfig Test Plan: PASS: Bootstrap Debian SKIP: Boostrap Centos (only impacts debian build) Story: 2009101 Task: 44600 Depends-on: https://review.opendev.org/c/starlingx/ansible-playbooks/+/828547 Change-Id: Ib2889ba9ca2fd4cee047e70271df0e31ac27267d Signed-off-by: Lucas Cavalcante <lucasmedeiros.cavalcante@windriver.com>
This commit is contained in:
parent
acdd869a58
commit
44f7057e50
@ -6,7 +6,7 @@ Environment="KUBELET_CONFIG_ARGS=--config=/var/lib/kubelet/config.yaml"
|
||||
EnvironmentFile=-/var/lib/kubelet/kubeadm-flags.env
|
||||
# This is a file that the user can use for overrides of the kubelet args as a last resort. Preferably, the user should use
|
||||
# the .NodeRegistration.KubeletExtraArgs object in the configuration files instead. KUBELET_EXTRA_ARGS should be sourced from this file.
|
||||
EnvironmentFile=-/etc/sysconfig/kubelet
|
||||
EnvironmentFile=-/etc/default/kubelet
|
||||
ExecStart=
|
||||
ExecStart=/usr/bin/kubelet $KUBELET_KUBECONFIG_ARGS $KUBELET_CONFIG_ARGS $KUBELET_KUBEADM_ARGS $KUBELET_EXTRA_ARGS
|
||||
ExecStartPre=-/usr/local/sbin/sanitize_kubelet_reserved_cpus.sh /etc/sysconfig/kubelet
|
||||
|
Loading…
x
Reference in New Issue
Block a user