# Exclude Kubernetes pods from Monitoring

**URL:** <https://community.dynatrace.com/t/exclude-kubernetes-pods-from-monitoring/54077>\
**Category:** Container platforms\
**Tags:** container, dynatrace-operator, kubernetes\
**Created:** [November 13, 2025, 12:28pm UTC](https://community.dynatrace.com/t/exclude-kubernetes-pods-from-monitoring/54077 "2025-11-13T12:28:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Theodore\_x86](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/theodore_x86/32/17620_2.png) [@Theodore\_x86](https://community.dynatrace.com/u/Theodore_x86)\
**Post date:** [November 13, 2025, 12:28pm UTC](https://community.dynatrace.com/t/exclude-kubernetes-pods-from-monitoring/54077/1 "2025-11-13T12:28:10Z")

</div>

Hello.

I want to exclude some pods from injection that belong to a stateful set.

What is the difference doing it via:

1. Pod annotation

2. Container Monitoring rules on Settings page

Thank you

---

<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:** [December 16, 2025, 4:01pm UTC](https://community.dynatrace.com/t/exclude-kubernetes-pods-from-monitoring/54077/2 "2025-12-16T16:01:55Z")

</div>

Hi,&nbsp;[@Theodore\_x86](https://community.dynatrace.com/user/50066)!

Can you take a look at this Dynatrace Documentation page and let us know whether is it helping you in any way?

→ **[Configure monitoring for namespaces and pods](https://docs.dynatrace.com/docs/ingest-from/setup-on-k8s/guides/deployment-and-configuration/monitoring-and-instrumentation/annotate)**

Thank you for any feedback!
