Skip to content

kubeadm upgrade node not rotate certificate #1818

Closed
kubernetes/website
#16726
@LuckySB

Description

@LuckySB

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

Metadata

Metadata

Assignees

Labels

kind/bugCategorizes issue or PR as related to a bug.kind/documentationCategorizes issue or PR as related to documentation.lifecycle/activeIndicates that an issue or PR is actively being worked on by a contributor.priority/important-longtermImportant over the long term, but may not be staffed and/or may need multiple releases to complete.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions