From 3f411bffe4f55bdde85872cb308d89d1c4805d2a Mon Sep 17 00:00:00 2001 From: Smaine Kahlouch Date: Mon, 16 Nov 2015 22:22:19 +0100 Subject: [PATCH] include config file into systemd unit file --- roles/kubernetes/node/templates/systemd-init/kubelet.service.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/kubernetes/node/templates/systemd-init/kubelet.service.j2 b/roles/kubernetes/node/templates/systemd-init/kubelet.service.j2 index 5b309c793..338b4b23c 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 \