Created
May 31, 2022 12:59
-
-
Save tonmanna/0bf2ef07e3501e0d05bab25cd6961683 to your computer and use it in GitHub Desktop.
kubeadm Kubernetes Renew Certificate Command
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kubeadm certs check-expiration | |
kubeadm certs renew all | |
systemctl restart kubelet |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Don't forget to copy
mkdir -p $HOME/.kube$(id -u):$ (id -g) $HOME/.kube/config
sudo cp -i /etc/kubernetes/admin.conf $HOME/.kube/config
sudo chown