there is no need of launching kubelet before, since it will startup once we have configured with kubeadm (#209)

This commit is contained in:
Khanak Nangia
2019-10-14 14:23:25 -07:00
committed by Nitin at Intel
parent 8d0caf2dee
commit d267feb8ff
+1 -4
View File
@@ -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