diff --git a/roles/kubernetes/node/templates/systemd-init/kubelet.service.j2 b/roles/kubernetes/node/templates/systemd-init/kubelet.service.j2 index 5b309c7933566f7763b16432a59320ab76f00623..338b4b23c2e10c996166ad928d583c808c5cf40f 100644 --- a/roles/kubernetes/node/templates/systemd-init/kubelet.service.j2 +++ b/roles/kubernetes/node/templates/systemd-init/kubelet.service.j2 @@ -8,7 +8,7 @@ After=docker.service {% endif %} [Service] -#WorkingDirectory=/var/lib/kubelet +EnvironmentFile=/etc/kubernetes/config EnvironmentFile=/etc/network-environment ExecStart={{ bin_dir }}/kubelet \ $KUBE_LOGTOSTDERR \