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
Describe the bug
AKS API server vnet integration failed. It took ~60 minutes to fail. It seems that the api server is not able to communicate with the nodes.
To Reproduce
Steps to reproduce the behavior:
Have a public AKS cluster
Have at least one workload with a strict pod disruption policy, e.g. loki
Create a subnet for the api server in the vnet of AKS
Run command az aks update --name <cluster-name> --resource-group <resource-group> --enable-apiserver-vnet-integration --apiserver-subnet-id <apiserver-subnet-resource-id> as per docs.
Wait ~60+ minutes.
See error
Code: UpgradeFailed
Message: Drain node aks-..... failed when evicting pod loki-backend-0 failed with Too Many Requests error.
This is often caused by a restrictive Pod Disruption Budget (PDB) policy. See http://aka.ms/aks/debugdrainfailures. Original error: Cannot
evict pod as it would violate the pod's disruption budget.. PDB debug info: ns/loki-backend-0 blocked by pdb loki-backend
(MaxUnavailable: 1) with 2 unready pods: [observability/loki-backend-0,observability/loki-backend-1].
Expected behavior
AKS VNet Integration enable works and finishes in a <10 minutes.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
CreMindES
changed the title
[BUG] AKS API server vnet integration failed due to pod eviction failure
[BUG] AKS API server vnet integration failed
Feb 9, 2025
Describe the bug
AKS API server vnet integration failed. It took ~60 minutes to fail. It seems that the api server is not able to communicate with the nodes.
To Reproduce
Steps to reproduce the behavior:
az aks update --name <cluster-name> --resource-group <resource-group> --enable-apiserver-vnet-integration --apiserver-subnet-id <apiserver-subnet-resource-id>
as per docs.Expected behavior
AKS VNet Integration enable works and finishes in a <10 minutes.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
Browser [e.g. chrome, safari] is applicableAdditional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: