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

Bootstrapped Node Certificate Gets Deleted on Reboot #41

Closed
BugRoger opened this issue Sep 22, 2017 · 0 comments
Closed

Bootstrapped Node Certificate Gets Deleted on Reboot #41

BugRoger opened this issue Sep 22, 2017 · 0 comments

Comments

@BugRoger
Copy link
Contributor

We're using the TLS bootstrap method for creating node specific client certificates. Upon the first time the kubelet is started it will create a CSR and request a certificate. The bootstrap mechanism creates:

  • /var/lib/kubelet/kubeconfig
  • /var/run/kubernetes/kubelet-client.crt

Now, as long as the kubeconfig file exists the registration will not run again. /var/run is either mounted as tmpfs or cleared on reboot. This will delete the kubelet certificates.

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

No branches or pull requests

1 participant