<?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 AKS WASM node-pools troubleshooting in Troubleshooting</title>
    <link>https://community.dynatrace.com/t5/Troubleshooting/AKS-WASM-node-pools-troubleshooting/ta-p/251156</link>
    <description>&lt;DIV class="lia-message-template-content-zone"&gt;
&lt;P&gt;On AKS, you can create node-pools specifically for running WASM workloads. However, these workloads cannot be injected.&lt;/P&gt;
&lt;H2&gt;What is a “WASM node-pool”?&lt;/H2&gt;
&lt;P&gt;According to the &lt;A href="https://learn.microsoft.com/en-us/azure/aks/use-wasi-node-pools" target="_self"&gt;AKS documentation&lt;/A&gt;:&lt;/P&gt;
&lt;P&gt;To determine if a node-pool is a “WASM node-pool,” check the &lt;CODE&gt;workload-runtime&lt;/CODE&gt; of the node-pool. If its value is &lt;CODE&gt;WasmWasi&lt;/CODE&gt;, then it is classified as a WASM node-pool. Example command:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;az aks nodepool show -g myResourceGroup --cluster-name myAKSCluster -n mywasipool --query workloadRuntime&lt;/CODE&gt;&lt;/PRE&gt;
&lt;H2&gt;What to do when using Dynatrace Operator in a cluster with a “WASM node-pool”&lt;/H2&gt;
&lt;P&gt;Dynatrace Operator cannot inject into pods running on nodes in a WASM node-pool. Therefore, you need to exclude these workloads from injection. There are a few ways to achieve this:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Use the &lt;CODE&gt;namespaceSelector&lt;/CODE&gt; fields in the DynaKube configuration, assuming the setup ensures that only specific namespaces' pods run on WASM nodes.&lt;/LI&gt;
&lt;LI&gt;Apply pod-level annotations to enable or disable injection:
&lt;UL&gt;
&lt;LI&gt;&lt;CODE&gt;oneagent.dynatrace.com/inject: "false"&lt;/CODE&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;CODE&gt;metadata-enrichment.dynatrace.com/inject: "false"&lt;/CODE&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt; Since you have to explicitly create workloads that run on WASM nodes, annotating these workloads should not be much of a hassle.&lt;/P&gt;
&lt;/DIV&gt;</description>
    <pubDate>Mon, 22 Jul 2024 14:14:17 GMT</pubDate>
    <dc:creator>darynakovyrina</dc:creator>
    <dc:date>2024-07-22T14:14:17Z</dc:date>
    <item>
      <title>AKS WASM node-pools troubleshooting</title>
      <link>https://community.dynatrace.com/t5/Troubleshooting/AKS-WASM-node-pools-troubleshooting/ta-p/251156</link>
      <description>&lt;DIV class="lia-message-template-content-zone"&gt;
&lt;P&gt;On AKS, you can create node-pools specifically for running WASM workloads. However, these workloads cannot be injected.&lt;/P&gt;
&lt;H2&gt;What is a “WASM node-pool”?&lt;/H2&gt;
&lt;P&gt;According to the &lt;A href="https://learn.microsoft.com/en-us/azure/aks/use-wasi-node-pools" target="_self"&gt;AKS documentation&lt;/A&gt;:&lt;/P&gt;
&lt;P&gt;To determine if a node-pool is a “WASM node-pool,” check the &lt;CODE&gt;workload-runtime&lt;/CODE&gt; of the node-pool. If its value is &lt;CODE&gt;WasmWasi&lt;/CODE&gt;, then it is classified as a WASM node-pool. Example command:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;az aks nodepool show -g myResourceGroup --cluster-name myAKSCluster -n mywasipool --query workloadRuntime&lt;/CODE&gt;&lt;/PRE&gt;
&lt;H2&gt;What to do when using Dynatrace Operator in a cluster with a “WASM node-pool”&lt;/H2&gt;
&lt;P&gt;Dynatrace Operator cannot inject into pods running on nodes in a WASM node-pool. Therefore, you need to exclude these workloads from injection. There are a few ways to achieve this:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Use the &lt;CODE&gt;namespaceSelector&lt;/CODE&gt; fields in the DynaKube configuration, assuming the setup ensures that only specific namespaces' pods run on WASM nodes.&lt;/LI&gt;
&lt;LI&gt;Apply pod-level annotations to enable or disable injection:
&lt;UL&gt;
&lt;LI&gt;&lt;CODE&gt;oneagent.dynatrace.com/inject: "false"&lt;/CODE&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;CODE&gt;metadata-enrichment.dynatrace.com/inject: "false"&lt;/CODE&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt; Since you have to explicitly create workloads that run on WASM nodes, annotating these workloads should not be much of a hassle.&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 22 Jul 2024 14:14:17 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Troubleshooting/AKS-WASM-node-pools-troubleshooting/ta-p/251156</guid>
      <dc:creator>darynakovyrina</dc:creator>
      <dc:date>2024-07-22T14:14:17Z</dc:date>
    </item>
  </channel>
</rss>

