Skip to content
Snippets Groups Projects
Verified Commit 98705921 authored by David Hoese's avatar David Hoese
Browse files

Bump prometheus rules check for a healthy pod to 15m instead of 5m

parent a937c80f
No related branches found
No related tags found
No related merge requests found
......@@ -385,6 +385,13 @@ deploy it by running:
kubectl create -n monitoring -f example_rule.yaml
```
If you've installed these rules in the past and would like to update them, use
the ``replace`` command instead:
```bash
kubectl replace -n monitoring -f example_rule.yaml
```
To investigate if our rules are showing up in Prometheus we can forward the
service to the cluster node and then forward that to our local machine
with SSH. Note you'll need to use the name of your service in your
......
......@@ -436,7 +436,7 @@ spec:
- alert: KubernetesPodNotHealthy
expr: min_over_time(sum by (namespace, pod) (kube_pod_status_phase{phase=~"Pending|Unknown|Failed"})[1h:]) > 0
for: 5m
for: 15m
labels:
severity: critical
ruleGroup: geosphere-kubernetes
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment