mirror of
https://github.com/clearlinux/cloud-native-setup.git
synced 2026-08-19 13:36:43 +00:00
there is no need of launching kubelet before, since it will startup once we have configured with kubeadm (#209)
This commit is contained in:
committed by
Nitin at Intel
parent
8d0caf2dee
commit
d267feb8ff
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user