You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to change the below alert from 7 days to 2 days since AKS running on Azure stack HCI nodes will rotate the Client certificate every 4 days. In that case below condition is invalid for AKS-HCI Kubernetes.
We're using the helm chart to deploy the Kube-Prometheus stack and all Prometheus rules are attached to POD via configmap of prometheus rules. is there any way we can override this alert condition locally? Please suggest.
alert: KubeClientCertificateExpiration
annotations:
description: A client certificate used to authenticate to the apiserver is expiring in less than 7.0 days.
runbook_url: https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubeclientcertificateexpiration
summary: Client certificate is about to expire.
expr: apiserver_client_certificate_expiration_seconds_count{job="apiserver"} > 0 and on(job) histogram_quantile(0.01, sum by (job, le) (rate(apiserver_client_certificate_expiration_seconds_bucket{job="apiserver"}[5m]))) < 604800
labels:
severity: warning
Alert firing in prometheus
The text was updated successfully, but these errors were encountered:
Hi,
I would like to change the below alert from 7 days to 2 days since AKS running on Azure stack HCI nodes will rotate the Client certificate every 4 days. In that case below condition is invalid for AKS-HCI Kubernetes.
We're using the helm chart to deploy the Kube-Prometheus stack and all Prometheus rules are attached to POD via configmap of prometheus rules. is there any way we can override this alert condition locally? Please suggest.
Helm Chart Repo: https://prometheus-community.github.io/helm-charts'
Alert:
rules:
annotations:
description: A client certificate used to authenticate to the apiserver is expiring in less than 7.0 days.
runbook_url: https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubeclientcertificateexpiration
summary: Client certificate is about to expire.
expr: apiserver_client_certificate_expiration_seconds_count{job="apiserver"} > 0 and on(job) histogram_quantile(0.01, sum by (job, le) (rate(apiserver_client_certificate_expiration_seconds_bucket{job="apiserver"}[5m]))) < 604800
labels:
severity: warning
Alert firing in prometheus
The text was updated successfully, but these errors were encountered: