Last active
March 31, 2022 09:36
-
-
Save tanmay-bhat/e6ddcf831b1e8cbfda7bbb45fa146d23 to your computer and use it in GitHub Desktop.
Configure Readiness Probe alert in Prometheus for Kubernetes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ### ALert Configuration | |
| - alert: KubePodReadinessFailure | |
| annotations: | |
| description: Readiness probe for the Pod {{ $labels.pod }} is failing for last 10 minutes | |
| expr: sum by(pod)( kube_pod_info{created_by_kind!="Job"} AND ON (pod, namespace) kube_pod_status_ready{condition="false"} == 1) > 0 | |
| for: 10m | |
| labels: | |
| severity: warning |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment