Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save alcnsahin/b847e59c88d5f94f30ee8148b627ecda to your computer and use it in GitHub Desktop.
Save alcnsahin/b847e59c88d5f94f30ee8148b627ecda to your computer and use it in GitHub Desktop.
Restart Kubernetes Master Services
for SERVICES in etcd kube-apiserver kube-controller-manager kube-scheduler flanneld; do
	systemctl restart $SERVICES
	systemctl enable $SERVICES
	systemctl status $SERVICES
done

restart kubelet/node services

for SERVICES in kube-proxy kubelet flanneld docker; do
    systemctl restart $SERVICES
    systemctl enable $SERVICES
    systemctl status $SERVICES
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment