<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Dynatrace Pods Still Running After Namespace Deletion? Here’s What You Need to Know in Dynatrace tips</title>
    <link>https://community.dynatrace.com/t5/Dynatrace-tips/Dynatrace-Pods-Still-Running-After-Namespace-Deletion-Here-s/m-p/280166#M1695</link>
    <description>&lt;P&gt;Very useful solution &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Thank you!&lt;/P&gt;</description>
    <pubDate>Wed, 25 Jun 2025 12:46:27 GMT</pubDate>
    <dc:creator>radek_jasinski</dc:creator>
    <dc:date>2025-06-25T12:46:27Z</dc:date>
    <item>
      <title>Dynatrace Pods Still Running After Namespace Deletion? Here’s What You Need to Know</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-tips/Dynatrace-Pods-Still-Running-After-Namespace-Deletion-Here-s/m-p/279985#M1690</link>
      <description>&lt;P&gt;We've seen multiple customers face issues where &lt;STRONG&gt;Dynatrace Operator pods continue to run even after the &lt;/STRONG&gt;&lt;FONT face="courier new,courier"&gt;dynatrace&lt;/FONT&gt; &lt;STRONG&gt;namespace has been deleted&lt;/STRONG&gt;, especially in &lt;STRONG&gt;Google Cloud (GCP) Kubernetes clusters&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;This typically happens because &lt;STRONG&gt;Dynatrace installs several cluster-scoped resources&lt;/STRONG&gt; (like CRDs, webhook configurations, ClusterRoles, etc.) that are &lt;STRONG&gt;not automatically removed when a namespace is deleted&lt;/STRONG&gt;. As a result, leftover components like validating webhooks and CRDs can continue to function and even interfere with new workloads — causing webhook errors or orphaned pods.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;To ensure a &lt;STRONG&gt;complete and clean uninstallation of the Dynatrace Operator&lt;/STRONG&gt; and all related components, here’s a checklist you can follow.&lt;/P&gt;
&lt;H2&gt;1. Confirm if Dynatrace was installed via Helm or manually via kubectl.&lt;/H2&gt;
&lt;UL&gt;
&lt;LI&gt;If installed via Helm:&lt;BR /&gt;Run:&amp;nbsp;&lt;/LI&gt;
&lt;/UL&gt;
&lt;LI-CODE lang="markup"&gt;helm uninstall dynatrace-operator -n dynatrace​&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;Wait for the uninstall to complete, then run:&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;kubectl delete namespace dynatrace​&lt;/LI-CODE&gt;
&lt;H2&gt;2. If manually installed or namespace already deleted:&lt;/H2&gt;
&lt;P&gt;Run the following to check for cluster-wide resources:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;- kubectl get crd | grep dynatrace
- kubectl get clusterrole | grep dynatrace
- kubectl get clusterrolebinding | grep dynatrace
- kubectl get mutatingwebhookconfigurations | grep dynatrace
- kubectl get validatingwebhookconfigurations | grep dynatrace&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;Delete residual Dynatrace resources using:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;- kubectl delete crd dynakubes.dynatrace.com
- kubectl delete clusterrole dynatrace-operator
- kubectl delete clusterrolebinding dynatrace-operator
- kubectl delete mutatingwebhookconfiguration dynatrace-operator
- kubectl delete validatingwebhookconfiguration dynatrace-operator&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;Check for any Dynatrace-related pods still running (outside namespace):&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;- kubectl get pods --all-namespaces | grep dynatrace&lt;/LI-CODE&gt;
&lt;H3&gt;&lt;BR /&gt;3. If Webhook errors persist during pod creation:&lt;BR /&gt;&lt;SPAN&gt;- Ensure webhook configurations are fully deleted.&lt;/SPAN&gt;&lt;/H3&gt;
&lt;H3&gt;4. Optional: Reboot GKE nodes if operator pods are stuck in Terminating.&lt;/H3&gt;</description>
      <pubDate>Tue, 24 Jun 2025 09:11:15 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-tips/Dynatrace-Pods-Still-Running-After-Namespace-Deletion-Here-s/m-p/279985#M1690</guid>
      <dc:creator>theharithsa</dc:creator>
      <dc:date>2025-06-24T09:11:15Z</dc:date>
    </item>
    <item>
      <title>Re: Dynatrace Pods Still Running After Namespace Deletion? Here’s What You Need to Know</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-tips/Dynatrace-Pods-Still-Running-After-Namespace-Deletion-Here-s/m-p/280166#M1695</link>
      <description>&lt;P&gt;Very useful solution &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jun 2025 12:46:27 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-tips/Dynatrace-Pods-Still-Running-After-Namespace-Deletion-Here-s/m-p/280166#M1695</guid>
      <dc:creator>radek_jasinski</dc:creator>
      <dc:date>2025-06-25T12:46:27Z</dc:date>
    </item>
  </channel>
</rss>

