Skip to content

Commit

Permalink
Merge pull request #50 from utilitywarehouse/fix-containerOOM
Browse files Browse the repository at this point in the history
Fix the join on the ContainerOOMing alert
  • Loading branch information
hectorhuertas authored Oct 13, 2023
2 parents 2fb0e02 + a0628a5 commit 69ed13b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/container.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ groups:
action: "Investigate CPU consumption and adjust pods resources if needed."
dashboard: "https://grafana.$ENVIRONMENT.$PROVIDER.uw.systems/d/VAE0wIcik/kubernetes-pod-resources?orgId=1&refresh=1m&from=now-12h&to=now&var-instance=All&var-namespace={{ $labels.namespace }}"
- alert: ContainerOOMing
expr: kube_pod_container_status_last_terminated_reason{reason="OOMKilled"} and on (container) kube_pod_container_status_ready == 0
expr: kube_pod_container_status_last_terminated_reason{reason="OOMKilled"} and on (container,pod) kube_pod_container_status_ready == 0
for: 5m
annotations:
summary: "Container {{$labels.namespace}}/{{$labels.pod}}/{{$labels.container}} has been OOMKilled recently and it's not ready"
Expand Down

0 comments on commit 69ed13b

Please sign in to comment.