Skip to content
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

Refresh certificates not deployed on all nodes #4852

Closed
step-team-jf opened this issue Jan 30, 2025 · 1 comment
Closed

Refresh certificates not deployed on all nodes #4852

step-team-jf opened this issue Jan 30, 2025 · 1 comment

Comments

@step-team-jf
Copy link

step-team-jf commented Jan 30, 2025

Hi,

Summary

I encountered an issue with the metrics server related to invalid certificates.

I checked the status of the certificates on my clusters and found that the client certificate for the front-end proxy had expired.

microk8s refresh-certs -c

The CA certificate will expire in 3200 days.
The server certificate will expire in 280 days.
The front proxy client certificate will expire in -85 days.

I logged in the master node and refreshed successfully proxy client certificate with the command

microk8s refresh-certs -e front-proxy-client.crt
microk8s refresh-certs -c

The CA certificate will expire in 3200 days.
The server certificate will expire in 280 days.
The front proxy client certificate will expire in 364 days

However, it seems that the new certificate is not deployed on all the nodes of my cluster.

What Should Happen Instead?

What is the process to deploy to new certificates on all node (without Leave/Join)

Kind regards,
Jean-François

@bschimke95
Copy link
Contributor

Hey @step-team-jf

The nodes need to re-join the cluster. See note in this section: https://microk8s.io/docs/command-reference#heading--microk8s-refresh-certs

In a multi-node setup, nodes will need to leave and rejoin the cluster in order for new certificates to properly propagate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants