Adding missing socat binary path for host kubelet deployment type in CoreOS
This commit is contained in:
parent
adf575b75e
commit
240e7c532d
1 changed files with 3 additions and 0 deletions
|
@ -6,6 +6,9 @@ Wants=docker.socket
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
EnvironmentFile=-{{kube_config_dir}}/kubelet.env
|
EnvironmentFile=-{{kube_config_dir}}/kubelet.env
|
||||||
|
{% if ansible_os_family in ["CoreOS", "Container Linux by CoreOS"] %}
|
||||||
|
Environment="PATH=/usr/local/sbin:/usr/sbin:/usr/bin:/sbin:/bin:{{ bin_dir }}"
|
||||||
|
{% endif %}
|
||||||
ExecStart={{ bin_dir }}/kubelet \
|
ExecStart={{ bin_dir }}/kubelet \
|
||||||
$KUBE_LOGTOSTDERR \
|
$KUBE_LOGTOSTDERR \
|
||||||
$KUBE_LOG_LEVEL \
|
$KUBE_LOG_LEVEL \
|
||||||
|
|
Loading…
Reference in a new issue