12 Feb 2025
07:21 AM
- last edited on
17 Feb 2025
07:18 AM
by
MaciejNeumann
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.
Solved! Go to Solution.
12 Feb 2025 07:31 AM
@gaddenna_n_k @dannemca @Michal_Gebacki @dynadynat please assist
12 Feb 2025 08:24 AM
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