You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/aks/troubleshooting.md
+25Lines changed: 25 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -131,6 +131,31 @@ To help diagnose the issue run `az aks show -g myResourceGroup -n myAKSCluster -
131
131
* If cluster is actively upgrading, wait until the operation finishes. If it succeeded, retry the previously failed operation again.
132
132
* If cluster has failed upgrade, follow steps outlined in previous section.
133
133
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
+
You may use this command to find the PDBs applied on your cluster:
139
+
140
+
```
141
+
kubectl get poddisruptionbudgets --all-namespaces
142
+
```
143
+
or
144
+
```
145
+
kubectl get poddisruptionbudgets -n {namespace of failed pod}
146
+
```
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.
156
+
157
+
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/).
158
+
134
159
## Can I move my cluster to a different subscription or my subscription with my cluster to a new tenant?
135
160
136
161
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