AKS Cluster in a failed State (KubernetesAPICallFailed)

Witkowski, Marco 0 Reputation points
2024-05-23T13:41:17.92+00:00

Hello dear readers,

After being in a stopped state for about a month, I recently wanted to start my AKS Cluster in the West Europe region, in order to test a few things. Sadly, the cluster ended up in a failed state after trying to start it.

After trying out a az aks update command for my cluster, i got the errorcode "KubernetesAPICallFailed"

Im guessing it has to do with the lack of currently available computing resources in the region, due to me not using the cluster for some time.

Does anyone happen to know another fix or weither it makes sense to wait this state out? Currently all I can think of is spinning up a new cluster (wouldnt be the worst choice, but it would certainly not be desirable.)

Any help is greatly appreciated. Thank you.

Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
1,935 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Akram Kathimi 1,046 Reputation points Microsoft Employee
    2024-05-23T13:52:59.2966667+00:00

    Hi there,

    Thank you for your question.

    Please note that the error code "KubernetesAPICallFailed" usually means that the nodes are unable to connect with the API server, indicating a networking problem.

    Please check the network path, and make sure that the traffic is allowed to reach the api server (firewalls, NSGs, route tables).

    Let me know if you find something there.

    Thanks.