From d267feb8ff3926d64e9905bfe33ef3d1695b303d Mon Sep 17 00:00:00 2001 From: Khanak Nangia Date: Mon, 14 Oct 2019 14:23:25 -0700 Subject: [PATCH] there is no need of launching kubelet before, since it will startup once we have configured with kubeadm (#209) --- clr-k8s-examples/setup_system.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/clr-k8s-examples/setup_system.sh b/clr-k8s-examples/setup_system.sh index c5b79ff..2b68b4d 100755 --- a/clr-k8s-examples/setup_system.sh +++ b/clr-k8s-examples/setup_system.sh @@ -127,8 +127,7 @@ function daemon_reload() { function enable_kubelet_runner() { # This will fail at this point, but puts it into a retry loop that # will therefore startup later once we have configured with kubeadm. - echo "The following kubelet command may complain... it is not an error" - sudo systemctl enable --now kubelet $RUNNER || true + sudo systemctl enable kubelet $RUNNER || true } # ensure that the system is ready without requiring a reboot @@ -212,5 +211,3 @@ setup_proxy sudo systemctl daemon-reload # restart runner sudo systemctl restart $RUNNER || true -# restart kubelet -sudo systemctl restart kubelet || true