Adding missing socat binary path for host kubelet deployment type in CoreOS

This commit is contained in:
Sergio Millan 2017-10-11 15:40:59 +01:00
parent adf575b75e
commit 240e7c532d

View file

@ -6,6 +6,9 @@ Wants=docker.socket
[Service]
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 \
$KUBE_LOGTOSTDERR \
$KUBE_LOG_LEVEL \