From 816649233c4d1cd9fa9c25005996245b4b30028b Mon Sep 17 00:00:00 2001 From: Andy Zhang Date: Tue, 12 Dec 2017 03:08:44 +0800 Subject: [PATCH] enable default plugin direcotry in k8s cluster setup (#1909) --- parts/k8s/kuberneteskubelet.service | 1 + parts/k8s/kuberneteskubelet1.5.service | 1 + 2 files changed, 2 insertions(+) diff --git a/parts/k8s/kuberneteskubelet.service b/parts/k8s/kuberneteskubelet.service index da6a8f29c0..e9f7f12d6d 100644 --- a/parts/k8s/kuberneteskubelet.service +++ b/parts/k8s/kuberneteskubelet.service @@ -30,6 +30,7 @@ ExecStart=/usr/bin/docker run \ --volume=/etc/kubernetes/:/etc/kubernetes:ro \ --volume=/srv/kubernetes/:/srv/kubernetes:ro $DOCKER_OPTS \ --volume=/var/lib/waagent/ManagedIdentity-Settings:/var/lib/waagent/ManagedIdentity-Settings:ro \ + --volume=/usr/libexec/kubernetes/kubelet-plugins:/usr/libexec/kubernetes/kubelet-plugins \ ${KUBELET_IMAGE} \ /hyperkube kubelet \ --kubeconfig=/var/lib/kubelet/kubeconfig \ diff --git a/parts/k8s/kuberneteskubelet1.5.service b/parts/k8s/kuberneteskubelet1.5.service index 247177b013..794efb1039 100644 --- a/parts/k8s/kuberneteskubelet1.5.service +++ b/parts/k8s/kuberneteskubelet1.5.service @@ -30,6 +30,7 @@ ExecStart=/usr/bin/docker run \ --volume=/etc/kubernetes/:/etc/kubernetes:ro \ --volume=/srv/kubernetes/:/srv/kubernetes:ro $DOCKER_OPTS \ --volume=/var/lib/waagent/ManagedIdentity-Settings:/var/lib/waagent/ManagedIdentity-Settings:ro \ + --volume=/usr/libexec/kubernetes/kubelet-plugins:/usr/libexec/kubernetes/kubelet-plugins \ ${KUBELET_IMAGE} \ /hyperkube kubelet \ --kubeconfig=/var/lib/kubelet/kubeconfig \