Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save johnny5188/e5acb5439cdc68294fc10c26cbc3cd73 to your computer and use it in GitHub Desktop.
Save johnny5188/e5acb5439cdc68294fc10c26cbc3cd73 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