Skip to content

Reload leaf certificates without business interruption #12173

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

Open
manuelbuil opened this issue Apr 17, 2025 · 1 comment
Open

Reload leaf certificates without business interruption #12173

manuelbuil opened this issue Apr 17, 2025 · 1 comment

Comments

@manuelbuil
Copy link
Contributor

Is your feature request related to a problem? Please describe.

As of today, we need to reboot the node to rotate the certificates. That means a small interruption and a potential risk.

Describe the solution you'd like

If possible, it would be nice to be able to reload the certificates without having to reboot the node (e.g. after rotating them)

Describe alternatives you've considered

Additional context

@brandond
Copy link
Member

brandond commented Apr 17, 2025

Related:

  1. Kubernetes client-go should automatically reload certs if the kubeconfig point at file paths for cert/key instead of specifying them inline.
  2. We need to validate that components other than the kubelet (apiserver, scheduler, controller-manager) also support dynamically reloading their serving certs when a path is specified.
  3. We need to add a subcommand to k3s certificate rotate to do in-place updates. Right now rotate just removes the files, and updated files are pulled from the server during startup. It should be pretty easy to download the new files from the server and move them into place while k3s is running.

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

No branches or pull requests

2 participants