# Kubernetes pod alert

**URL:** <https://community.dynatrace.com/t/kubernetes-pod-alert/50224>\
**Category:** Container platforms\
**Tags:** problem-detection, kubernetes\
**Created:** [February 12, 2025, 7:21am UTC](https://community.dynatrace.com/t/kubernetes-pod-alert/50224 "2025-02-12T07:21:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![gauravpayghan\_1](https://avatars.discourse-cdn.com/v4/letter/g/f1d935/32.png) [@gauravpayghan\_1](https://community.dynatrace.com/u/gauravpayghan_1)\
**Post date:** [February 12, 2025, 7:21am UTC](https://community.dynatrace.com/t/kubernetes-pod-alert/50224/1 "2025-02-12T07:21:00Z")

</div>

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](https://community.dynatrace.com/post/262393#M5067)&nbsp;" 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.

---

<div class="post-metadata">

**Author:** ![gauravpayghan\_1](https://avatars.discourse-cdn.com/v4/letter/g/f1d935/32.png) [@gauravpayghan\_1](https://community.dynatrace.com/u/gauravpayghan_1)\
**Post date:** [February 12, 2025, 7:31am UTC](https://community.dynatrace.com/t/kubernetes-pod-alert/50224/2 "2025-02-12T07:31:36Z")

</div>

[@gaddenna\_n\_k](https://community.dynatrace.com/user/6884)&nbsp;[@dannemca](https://community.dynatrace.com/user/18264)&nbsp;[@Michal\_Gebacki](https://community.dynatrace.com/user/44566)&nbsp;[@dynadynat](https://community.dynatrace.com/user/56036)&nbsp;please assist

---

<div class="post-metadata">

**Author:** ![MichalGebacki](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/michalgebacki/32/41585_2.png) [@MichalGebacki](https://community.dynatrace.com/u/MichalGebacki)\
**Post date:** [February 12, 2025, 8:00am UTC](https://community.dynatrace.com/t/kubernetes-pod-alert/50224/3 "2025-02-12T08:00:05Z")

</div>

FYI&nbsp;[@florian\_g](https://community.dynatrace.com/user/40718)

---

<div class="post-metadata">

**Author:** ![mizso74](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mizso74/32/41729_2.png) [@mizso74](https://community.dynatrace.com/u/mizso74)\
**Post date:** [February 12, 2025, 8:24am UTC](https://community.dynatrace.com/t/kubernetes-pod-alert/50224/4 "2025-02-12T08:24:58Z")

</div>

Hi&nbsp;[@gauravpayghan\_\_](https://community.dynatrace.com/user/76461)&nbsp;,

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:&nbsp;builtin:kubernetes.container.restarts, metric for pod count:&nbsp;builtin:kubernetes.pods (woth pod\_status or pod\_phase dimension).

I hope it helps.

Best regards,

János
