<?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>article Dynatrace Operator - Having a different number of OA/CSI pods than actual K8S nodes in Troubleshooting</title>
    <link>https://community.dynatrace.com/t5/Troubleshooting/Dynatrace-Operator-Having-a-different-number-of-OA-CSI-pods-than/ta-p/262171</link>
    <description>&lt;H2&gt;Self Service Summary&lt;/H2&gt;
&lt;P&gt;After deploying the Dynatrace Operator, the OneAgent pod and CSI driver pod are not running on all the nodes.&amp;nbsp;&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="25%" height="30px"&gt;Issue&amp;nbsp;&lt;/TD&gt;
&lt;TD width="25%" height="30px"&gt;Solution&lt;/TD&gt;
&lt;TD width="25%" height="30px"&gt;Tasks&lt;/TD&gt;
&lt;TD width="25%" height="30px"&gt;Alternative(s)&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD height="112px"&gt;Not all the nodes are having the OneAgent pod/CSI pod running on them&lt;/TD&gt;
&lt;TD height="112px"&gt;Check with your K8S administrator the taint(s) on the nodes&lt;/TD&gt;
&lt;TD height="112px"&gt;Update manifest files with corresponding toleration(s)&lt;/TD&gt;
&lt;TD height="112px"&gt;Contact Dynatrace Support for further assistance&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is a common scenario for customers that use taints on the Kubernetes nodes in order to restrain what workload are deployed on them. If it is required to have the OneAgent + CSI driver pods running on those nodes,&amp;nbsp;&lt;SPAN&gt;these taints need to be added as a toleration in the dynakube and the csi driver manifest files. Modified manifests need to be re-applied.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;In order to check if a node has any taints, execute following command:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;kubectl describe node &amp;lt;nodeName&amp;gt;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Identify the following part:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Taints:             key1=value1:NoSchedule
                    &lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It means that the node has a taint and the same value has to be set as a toleration in the manifest files. Nodes can have multiple taints.&lt;/P&gt;
&lt;P&gt;The toleration(s) would need to be added in the dynakube and the csi driver manifest files.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;tolerations:
- key: "key1"
  operator: "Equal"
  value: "value1"
  effect: "NoSchedule"&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After the manifest files have been edited,&amp;nbsp; execute following commands:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;kubectl apply -f &amp;lt;yourDynakube&amp;gt;.yaml

kubectl apply -f &amp;lt;yourCSI&amp;gt;.yaml&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The same applies if the used platform is Openshift.&lt;/P&gt;
&lt;P&gt;The official documentation from Kubernetes that explains in detail how taint and toleration work can be found here:&amp;nbsp;&lt;A href="https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/" target="_self"&gt;Taint-and-toleration&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 13 Nov 2024 09:23:04 GMT</pubDate>
    <dc:creator>Filip-Rus</dc:creator>
    <dc:date>2024-11-13T09:23:04Z</dc:date>
    <item>
      <title>Dynatrace Operator - Having a different number of OA/CSI pods than actual K8S nodes</title>
      <link>https://community.dynatrace.com/t5/Troubleshooting/Dynatrace-Operator-Having-a-different-number-of-OA-CSI-pods-than/ta-p/262171</link>
      <description>&lt;H2&gt;Self Service Summary&lt;/H2&gt;
&lt;P&gt;After deploying the Dynatrace Operator, the OneAgent pod and CSI driver pod are not running on all the nodes.&amp;nbsp;&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="25%" height="30px"&gt;Issue&amp;nbsp;&lt;/TD&gt;
&lt;TD width="25%" height="30px"&gt;Solution&lt;/TD&gt;
&lt;TD width="25%" height="30px"&gt;Tasks&lt;/TD&gt;
&lt;TD width="25%" height="30px"&gt;Alternative(s)&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD height="112px"&gt;Not all the nodes are having the OneAgent pod/CSI pod running on them&lt;/TD&gt;
&lt;TD height="112px"&gt;Check with your K8S administrator the taint(s) on the nodes&lt;/TD&gt;
&lt;TD height="112px"&gt;Update manifest files with corresponding toleration(s)&lt;/TD&gt;
&lt;TD height="112px"&gt;Contact Dynatrace Support for further assistance&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is a common scenario for customers that use taints on the Kubernetes nodes in order to restrain what workload are deployed on them. If it is required to have the OneAgent + CSI driver pods running on those nodes,&amp;nbsp;&lt;SPAN&gt;these taints need to be added as a toleration in the dynakube and the csi driver manifest files. Modified manifests need to be re-applied.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;In order to check if a node has any taints, execute following command:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;kubectl describe node &amp;lt;nodeName&amp;gt;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Identify the following part:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Taints:             key1=value1:NoSchedule
                    &lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It means that the node has a taint and the same value has to be set as a toleration in the manifest files. Nodes can have multiple taints.&lt;/P&gt;
&lt;P&gt;The toleration(s) would need to be added in the dynakube and the csi driver manifest files.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;tolerations:
- key: "key1"
  operator: "Equal"
  value: "value1"
  effect: "NoSchedule"&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After the manifest files have been edited,&amp;nbsp; execute following commands:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;kubectl apply -f &amp;lt;yourDynakube&amp;gt;.yaml

kubectl apply -f &amp;lt;yourCSI&amp;gt;.yaml&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The same applies if the used platform is Openshift.&lt;/P&gt;
&lt;P&gt;The official documentation from Kubernetes that explains in detail how taint and toleration work can be found here:&amp;nbsp;&lt;A href="https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/" target="_self"&gt;Taint-and-toleration&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2024 09:23:04 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Troubleshooting/Dynatrace-Operator-Having-a-different-number-of-OA-CSI-pods-than/ta-p/262171</guid>
      <dc:creator>Filip-Rus</dc:creator>
      <dc:date>2024-11-13T09:23:04Z</dc:date>
    </item>
  </channel>
</rss>

