/
Renew certificates for kubernetes once expired
Renew certificates for kubernetes once expired
Certificates for Kubernetes cluster as part of SandboxV2 installation gets expired every 1 year..
So the same needs to be reknewed following below mentioned steps:
Instructions
Login to the master node
kubeadm alpha certs check-expiration
kubeadm alpha certs renew all
mkdir /tmp/manifests
mv /etc/kubernetes/manifests/* /tmp/manifests/
wait for few mins
mv /tmp/manifests/* /etc/kubernetes/manifests/
cp /etc/kubernetes/admin.conf ~/.kube/config
exit from master
from console run
scp root@mzmaster:/root/.kube/config ~/.kube/mzcluster.config
also , source .bashrc
Highlight important information in a panel like this one. To edit this panel's color or style, select one of the options in the menu.
Related articles
, multiple selections available,