Skip to content

Commit ccfa2c3

Browse files
Merge pull request #16392 from leslielin-5/patch-20
Update delete-cluster-pdb.md
2 parents 74e9601 + b038b2f commit ccfa2c3

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

AKS-Hybrid/delete-cluster-pdb.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,17 @@ ms.reviewer: leslielin
99

1010
---
1111

12-
# Can't fully remove workload cluster with PodDisruptionBudget (PDB) resources
12+
# Can't fully delete AKS Arc cluster with PodDisruptionBudget (PDB) resources
1313

1414
[!INCLUDE [hci-applies-to-23h2](includes/hci-applies-to-23h2.md)]
1515

16-
When you delete a workload cluster that has [PodDisruptionBudget](https://kubernetes.io/docs/tasks/run-application/configure-pdb/) (PDB) resources, the deletion might fail to remove the PDB resources. By default, PDB is installed in the Workload Identity-enabled AKS Arc cluster.
16+
When you delete an AKS Arc cluster that has [PodDisruptionBudget](https://kubernetes.io/docs/tasks/run-application/configure-pdb/) (PDB) resources, the deletion might fail to remove the PDB resources. By default, PDB is installed in the workload identity-enabled AKS Arc cluster.
1717

1818
## Workaround
1919

20-
Before you delete the AKS Arc cluster, access the target cluster's **kubeconfig** and delete the PDB:
20+
Before you delete the AKS Arc cluster, access the AKS Arc cluster's **kubeconfig** and delete all PDBs:
2121

22-
1. Access the target cluster:
22+
1. Access the AKS Arc cluster:
2323

2424
```azurecli
2525
az connectedk8s proxy -n $aks_cluster_name -g $resource_group_name
@@ -31,13 +31,13 @@ Before you delete the AKS Arc cluster, access the target cluster's **kubeconfig*
3131
kubectl get pdb -A
3232
```
3333

34-
1. Delete PDB:
34+
1. Delete all PDBs. Here's an example of deleting PDB generated from workload identity enablement:
3535

3636
```bash
3737
kubectl delete pdb azure-wi-webhook-controller-manager -n arc-workload-identity
3838
```
3939

40-
1. Delete cluster:
40+
1. Delete the AKS Arc cluster:
4141

4242
```azurecli
4343
az aksarc delete -n $aks_cluster_name -g $resource_group_name

0 commit comments

Comments
 (0)