Skip to content

Commit 74572ca

Browse files
authored
Update defender-for-containers-remove-extension.md
Updated kubectl command to get defender pods, since namespace mentioned was not correct
1 parent daff6ed commit 74572ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/defender-for-cloud/includes/defender-for-containers-remove-extension.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ You can remove the extension using Azure portal, Azure CLI, or REST API as expla
5252
There should be no delay in the extension resource getting deleted from Azure Resource Manager. After that, validate that there are no pods called "azuredefender-XXXXX" on the cluster by running the following command with the `kubeconfig` file pointed to your cluster:
5353
5454
```console
55-
kubectl get pods -n azuredefender
55+
kubectl get pods -A --selector app=defender
5656
```
5757
5858
It might take a few minutes for the pods to be deleted.

0 commit comments

Comments
 (0)