From 56190fb3147989b78c2f9b0c74f7a98d9f46cc53 Mon Sep 17 00:00:00 2001 From: Pete Birley Date: Sat, 15 Apr 2017 14:27:29 -0500 Subject: [PATCH] Fix Kubeadm-aio /var/lib/kubelet mounts The script had a typo that prevents it from running on a brand new host, this commit fixes that. Change-Id: If73bfcbed5adc703c256c02dcb90a71f6b713a74 --- tools/kubeadm-aio/kubeadm-aio-launcher.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/kubeadm-aio/kubeadm-aio-launcher.sh b/tools/kubeadm-aio/kubeadm-aio-launcher.sh index 77f848ecd3..3df7fd45c5 100755 --- a/tools/kubeadm-aio/kubeadm-aio-launcher.sh +++ b/tools/kubeadm-aio/kubeadm-aio-launcher.sh @@ -17,7 +17,7 @@ set -xe # Setup shared mounts for kubelet sudo mkdir -p /var/lib/kubelet -sudo mount --bind /var/lib/kublet /var/lib/kubelet +sudo mount --bind /var/lib/kubelet /var/lib/kubelet sudo mount --make-shared /var/lib/kubelet # Cleanup any old deployment