Skip to content

Commit 090112b

Browse files
authored
add PodDrainFailure into troubleshooting
1 parent 98db2eb commit 090112b

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

articles/aks/troubleshooting.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,20 @@ To help diagnose the issue run `az aks show -g myResourceGroup -n myAKSCluster -
131131
* If cluster is actively upgrading, wait until the operation finishes. If it succeeded, retry the previously failed operation again.
132132
* If cluster has failed upgrade, follow steps outlined in previous section.
133133

134+
## I'm receiving an error due to "PodDrainFailure"
135+
136+
This error is due to the requested operation being blocked by a PodDisruptionBudget (PDB) that has been set on the deployments within the cluster. To learn more about how PodDisruptionBudgets work, please visit check out [the official Kubernetes example](https://kubernetes.io/docs/concepts/workloads/pods/disruptions/#pdb-example).
137+
138+
If you'd like to proceed, either configure your PDB to be less restrictive by reducing the minAvailable pod count, or increasing the maxUnavailable pod count, or deleting the PDB completely before proceeding with the operation.
139+
140+
You may use this command to find the PDBs applied on your cluster:
141+
142+
```
143+
kubectl get poddisruptionbudgets
144+
```
145+
146+
For more information about PodDisruptionBudgets, please check out the [official Kubernetes guide on configuring a PDB](https://kubernetes.io/docs/tasks/run-application/configure-pdb/).
147+
134148
## Can I move my cluster to a different subscription or my subscription with my cluster to a new tenant?
135149

136150
If you've moved your AKS cluster to a different subscription or the cluster's subscription to a new tenant, the cluster won't function because of missing cluster identity permissions. **AKS doesn't support moving clusters across subscriptions or tenants** because of this constraint.

0 commit comments

Comments
 (0)