Skip to content

Understand k3s certificate rotation #10024

Answered by brandond
gherciu asked this question in Q&A
Discussion options

You must be logged in to vote

You don't need to manually rotate them. As the docs say, the certs are renewed on startup if they are within 90 days of expiring. If you want to rotate them, or renew them before before the automatic renewal would trigger, you can use the rotate command.

If you use the rotate command, you need to rotate on all the nodes - servers first, then agents.

If you've copied the admin kubeconfig to another node, you would want to update your copies periodically, as they contain a client cert that is also only valid for 1 year.

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by gherciu
Comment options

You must be logged in to vote
1 reply
@brandond
Comment options

Comment options

You must be logged in to vote
1 reply
@brandond
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #10021 on April 25, 2024 18:19.