# AKS WASM node-pools troubleshooting

**URL:** <https://community.dynatrace.com/t/aks-wasm-node-pools-troubleshooting/46718>\
**Category:** Troubleshooting\
**Tags:** azure, kubernetes\
**Created:** [July 22, 2024, 2:14pm UTC](https://community.dynatrace.com/t/aks-wasm-node-pools-troubleshooting/46718 "2024-07-22T14:14:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![darynakovyrina](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/darynakovyrina/32/30846_2.png) [@darynakovyrina](https://community.dynatrace.com/u/darynakovyrina)\
**Post date:** [July 22, 2024, 2:14pm UTC](https://community.dynatrace.com/t/aks-wasm-node-pools-troubleshooting/46718/1 "2024-07-22T14:14:17Z")

</div>

On AKS, you can create node-pools specifically for running WASM workloads. However, these workloads cannot be injected.

## What is a “WASM node-pool”?

According to the [AKS documentation](https://learn.microsoft.com/en-us/azure/aks/use-wasi-node-pools):

To determine if a node-pool is a “WASM node-pool,” check the `workload-runtime` of the node-pool. If its value is `WasmWasi`, then it is classified as a WASM node-pool. Example command:

```auto
az aks nodepool show -g myResourceGroup --cluster-name myAKSCluster -n mywasipool --query workloadRuntime

```

## What to do when using Dynatrace Operator in a cluster with a “WASM node-pool”

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:

- Use the `namespaceSelector` fields in the DynaKube configuration, assuming the setup ensures that only specific namespaces’ pods run on WASM nodes.
- Apply pod-level annotations to enable or disable injection:
  - `oneagent.dynatrace.com/inject: "false"`
  - `metadata-enrichment.dynatrace.com/inject: "false"`

**Note:** Since you have to explicitly create workloads that run on WASM nodes, annotating these workloads should not be much of a hassle.
