cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Kubernetes pod alert

gauravpayghan__
Participant

My client requirement is like whenever the cluster or pod goes down or restarts/recycles then it needs to generate an problem alert into the DT environment. The Kubernetes platform configured already to DT and the pod recycle alert needs to be triggered for a specific container/pod. 

 

I checked the documentation "Kubernetes-Alerting " but did not get it as it shows the configuration for entire Kubernetes platform my requirement is for specified cluster/pod.

 

Please assist and help with the correct steps.

Hope the query is clear.

3 REPLIES 3

gauravpayghan__
Participant

Michal_Gebacki
Community Team
Community Team

FYI @florian_g 

Mizső
DynaMight Guru
DynaMight Guru

Hi @gauravpayghan__ ,

There are few options. First you can switch off the env level Kubernetes anomaly settings and then swith on namespace level. Or if it still not acceptable you can create individual metric events. Metric for restarts: builtin:kubernetes.container.restarts, metric for pod count: builtin:kubernetes.pods (woth pod_status or pod_phase dimension).

I hope it helps.

Best regards,

János

Dynatrace Community RockStar 2024, Certified Dynatrace Professional

Featured Posts