Merge pull request #50387 from jcbsmpsn/metric-certificate-expiration
Automatic merge from submit-queue
Add metric for remaining lifetime of certificates authenticating requests
fixes #50778
When incoming requests to the API server are authenticated by a certificate, the expiration of the certificate can affect the validity of the authentication. With auto rotation of certificates, which is starting with kubelet certificates, the goal is to use shorter lifetimes and let the kubelet renew the certificate as desired. Monitoring certificates which are approaching expiration and not renewing would be an early warning sign that nodes are about to stop participating in the cluster.
**Release note**:
```release-note
Add new Prometheus metric that monitors the remaining lifetime of certificates used to authenticate requests to the API server.
```
Showing
Please
register
or
sign in
to comment