Kubernetes client certificate expires soon critical
>>>
apiserver_client_certificate_expiration_seconds_count
{job="apiserver"} > 0 and
histogram_quantile
(0.01, sum by (job, le) (
rate
(
apiserver_client_certificate_expiration_seconds_bucket
{job="apiserver"}[5m]))) < 24*60*60
The rule first ensures there is at least one client certificate (apiserver_client_certificate_expiration_seconds_count{job="apiserver"} > 0). Then it computes the 1 %‑ile of the certificate‑expiration histogram (histogram_quantile(0.01, …)) and fires if that 1 %‑ile is under 24 hours (< 24*60*60). In short, the alert triggers when any client certificate used by the apiserver is expected to expire within the next day.
Exporters Used
Related Alerts
Kubernetes API client errors
Kubernetes API server errors
Kubernetes API server latency
Kubernetes Container oom killer
Kubernetes CronJob suspended
Kubernetes CronJob too long
Kubernetes DaemonSet misscheduled
Kubernetes DaemonSet rollout stuck
Kubernetes Deployment generation mismatch
Kubernetes Deployment replicas mismatch
Kubernetes HPA metrics unavailability
Kubernetes HPA scale inability
Kubernetes HPA scale maximum
Kubernetes HPA underutilized
Kubernetes Job failed
Kubernetes Job not starting
Kubernetes Job slow completion
Kubernetes Node disk pressure
Kubernetes Node memory pressure
Kubernetes Node network unavailable
Kubernetes Node not ready
Kubernetes Node out of pod capacity
Kubernetes Node scheduling disabled
Kubernetes PersistentVolume error
Kubernetes PersistentVolumeClaim pending
Kubernetes Pod not healthy
Kubernetes ReplicaSet replicas mismatch
Kubernetes StatefulSet down
Kubernetes StatefulSet generation mismatch
Kubernetes StatefulSet replicas mismatch
Kubernetes StatefulSet update not rolled out
Kubernetes Volume full in four days
Kubernetes Volume out of disk space
Kubernetes client certificate expires next week
Kubernetes pod crash looping