Skip to content

Commit 3f2df50

Browse files
authored
Update troubleshooting.md
added updates per paul's comments
1 parent 3e6d45b commit 3f2df50

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

articles/aks/troubleshooting.md

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,13 +135,24 @@ To help diagnose the issue run `az aks show -g myResourceGroup -n myAKSCluster -
135135

136136
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).
137137

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-
140138
You may use this command to find the PDBs applied on your cluster:
141139

142140
```
143-
kubectl get poddisruptionbudgets
141+
kubectl get poddisruptionbudgets --all-namespaces
142+
```
143+
or
144+
```
145+
kubectl get poddisruptionbudgets -n {namespace of failed pod}
144146
```
147+
Please view the label selector to see the exact pods that are causing this failure.
148+
149+
There are a few ways this error can occur:
150+
1. Your PDB may be too restrictive such as having a high minAvailable pod count, or low maxUnavailable pod count. You can change it by updating the PDB with less restrictive.
151+
2. During an upgrade, the replacement pods may not be ready fast enough. You can investigate your Pod Readiness times to attempt to fix this situation.
152+
3. The deployed pods may not work with the new upgraded node version, causing Pods to fail and fall below the PDB.
153+
154+
>[!NOTE]
155+
> If the pod is failing from the namespace 'kube-system', please contact support. This is a namespace managed by AKS.
145156
146157
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/).
147158

0 commit comments

Comments
 (0)