on 22 Jul 2024 03:14 PM
On AKS, you can create node-pools specifically for running WASM workloads. However, these workloads cannot be injected.
According to the AKS documentation:
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:
az aks nodepool show -g myResourceGroup --cluster-name myAKSCluster -n mywasipool --query workloadRuntime
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:
namespaceSelector
fields in the DynaKube configuration, assuming the setup ensures that only specific namespaces' pods run on WASM nodes.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.