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

This exporter does not reload the x509_not_after{} when the mounted certificate has been changed #123

Open
wotkddl21 opened this issue Apr 3, 2023 · 0 comments

Comments

@wotkddl21
Copy link

This exporter does not reload the x509_not_after{} when the mounted certificate has been changed

As you know, the certificate for kubelet ,in the k8s cluster, would be rotated by kubelet automatically.
So kubelet.conf consists of /var/lib/kubelet/pki/kubelet-client-current.pem which is symbolic link of /var/lib/kubelet/pki/kubelet-client-YYYY-MM-DD-hh-mm-ss.pem file.

I did mount the /var/lib/kubelet/pki/kubelet-client-current.pem on the exporter as hostpath, but the exporter doesn't change the x509_after{} metric when the pem file has been changed.
image
image

https://github.com/kubeflow/kubeflow/pull/6581/files
Please check above link...
I love this x509-certificate-exporter and I hope this issue would be fixed.
Thanks

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

1 participant