@@ -3,7 +3,7 @@ title: Install Defender for Containers sensor using Helm
33description : Learn how to install the Microsoft Defender for Containers sensor on Kubernetes clusters using Helm.
44author : Elazark
55ms.topic : how-to
6- ms.date : 02/01 /2026
6+ ms.date : 02/18 /2026
77ms.author : elkrieger
88ai-usage : ai-assisted
99---
@@ -93,10 +93,10 @@ Use the [install_defender_sensor_aks.sh](https://github.com/microsoft/Microsoft-
9393Run the script with the command:
9494
9595```azurecli
96- install_defender_sensor_aks.sh --id <CLUSTER_AZURE_RESOURCE_ID> --version <VERSION> [--release_train <RELEASE_TRAIN>] [--antimalware]
96+ install_defender_sensor_aks.sh --id <CLUSTER_AZURE_RESOURCE_ID> --version <VERSION> [--release_train <RELEASE_TRAIN>] [--namespace <NAMESPACE>] [-- antimalware]
9797```
9898
99- Replace the placeholder text `<CLUSTER_AZURE_RESOURCE_ID>`, `<RELEASE_TRAIN>`, and `<VERSION>` with your own values.
99+ Replace the placeholder text `<CLUSTER_AZURE_RESOURCE_ID>`, `<RELEASE_TRAIN>`, `<NAMESPACE>`, and `<VERSION>` with your own values:
100100
101101- Replace `<VERSION>` with:
102102 - `latest` for the most recent version.
@@ -106,6 +106,11 @@ Replace the placeholder text `<CLUSTER_AZURE_RESOURCE_ID>`, `<RELEASE_TRAIN>`, a
106106 - `stable` (default).
107107 - `public` for the preview version.
108108
109+ - Replace `<NAMESPACE>` with `kube-system` if you are deploying to AKS Automatic.
110+
111+ > [!NOTE]
112+ > Don’t provide this parameter for standard AKS deployments. If not specified, the default namespace is `mdc`.
113+
109114- Use the `--antimalware` flag to enable antimalware scanning.
110115
111116> [!NOTE]
@@ -172,12 +177,20 @@ Replace the placeholder text `<CLUSTER_AZURE_RESOURCE_ID>`, `<RELEASE_TRAIN>`, a
172177
173178### Verify the installation
174179
175- Verify that the installation succeeded by using the command:
180+ Verify that the installation succeeded by using the namespace you used during installation:
181+
182+ **For standard AKS, EKS, and GKE**
176183
177184```bash
178185helm list --namespace mdc
179186```
180187
188+ **For AKS Automatic**
189+
190+ ```bash
191+ helm list --namespace kube-system
192+ ```
193+
181194The installation is successful if the `STATUS` field displays **deployed**.
182195
183196## Configure security rules for gated deployment
0 commit comments