Description
Versions
kubeadm version (use kubeadm version
):
v1.15.0 and above
What happened?
kubeadm doc:
In Kubernetes v1.15.0 and later, kubeadm upgrade apply and kubeadm upgrade node will also automatically renew the kubeadm managed certificates on this node, including those stored in kubeconfig files. To opt-out, it is possible to pass the flag --certificate-renewal=false. For more details about certificate renewal see the certificate management documentation.
But the certificates were only updated on the first wizard where the command kubeadm upgrade apply
was executed
on the second and third masters, the command kubeadm upgrade node
was executed and the certificates for them remained untouched.
But when i use the kubeadm with option kubeadm upgrade node --certificate-renewal
, the certificates will be updated
What you expected to happen?
Certificates must be renewed with command kubeadm upgrade node
How to reproduce it (as minimally and precisely as possible)?
install kube cluster with 3 master and upgrade it with kubeadm