-
Notifications
You must be signed in to change notification settings - Fork 716
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
kubeadm upgrade node not rotate certificate #1818
Comments
Isn't the value of the flag 'true' by default?
|
looking at the source this seems like a bug. /kind bug |
the fix is here: we can consider backporting to 1.15 and 1.16, but given there is a workaround and given the bug is non-critical, we might just add a note in: |
Thanks so much for a quick fix. |
let's keep this open, until we decide if we want to add documention note here https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-certs/#automatic-certificate-renewal |
Versions
kubeadm version (use
kubeadm version
):v1.15.0 and above
What happened?
kubeadm doc:
But the certificates were only updated on the first wizard where the command
kubeadm upgrade apply
was executedon 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 updatedWhat 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
The text was updated successfully, but these errors were encountered: