-
I've been reading the documentation for the certificate rotation So in the docs is said that in order to rotate the certs we have to
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
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. |
Beta Was this translation helpful? Give feedback.
-
@brandond |
Beta Was this translation helpful? Give feedback.
-
Also I think the docs have a typo |
Beta Was this translation helpful? Give feedback.
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.