cert-manager
Easy
Troubleshooting
Which cert-manager metric holds the Unix time at which a Certificate's current X.509 certificate expires?
Select your answer:
Show answer and explanation
Answer: certmanager_certificate_expiration_timestamp_seconds
Explanation
certmanager_certificate_expiration_timestamp_seconds reports the Certificate's status.notAfter as Unix time, so subtracting time() gives the time left before expiry. The renewal metric reports status.renewalTime, which is when cert-manager plans to renew, usually well before expiry.
More easy cert-manager questions
- What happens if you set both prometheus.podmonitor.enabled and prometheus.servicemonitor.enabled to true in the cert-manager Helm chart?
- What is cert-manager?
- Which Custom Resource Definition (CRD) is used to define a certificate in cert-manager?
- What is an Issuer in cert-manager?
- Which command is used to install cert-manager using Helm?
- What is the default duration for certificates issued by cert-manager?