k8wiz
cert-manager
Medium
Troubleshooting

A Certificate has never been issued, so its status.notAfter is empty. What value does cert-manager report for its certmanager_certificate_expiration_timestamp_seconds series?

Select your answer:

Show answer and explanation

Answer: 0, which an expiry alert must filter out

Explanation

The certificate collector starts the value at 0 and only replaces it when status.notAfter is set, so a never-issued Certificate still exports a series with value 0. An alert such as expiry minus time() under 14 days would fire at once for it, which is why expiry rules add a > 0 filter.

Read more about cert-manager