Azure Kubernetes Service - Zone Redundancy

Rajiv Bansal 186 Reputation points
2023-09-25T13:10:41.49+00:00

Hi,

I have created a AKS cluster with Availability Zones enabled (all three Zones). In node pool, availability zones are enabled (all three) and scale method is "autoscale" with a minimum node count of 1. Assume that the cluster is running with just 1 node (no scaling was required till this point). Now if the zone hosting the node (VM) fails, would the node and the pods be automatically created in next available zone. If yes, how long does it take - minutes or seconds. Any help would be appreciated.

Regards,

Rajiv

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.
2,073 questions
0 comments No comments
{count} votes

Accepted answer
  1. mutaz-msft 2,346 Reputation points Microsoft Employee
    2023-09-25T13:49:50.7633333+00:00

    Hi @Rajiv Bansal,
    By default, the auto scaler will scale new node but no guarantee to be the next zone since Azure platform automatically distributes the underlying VMs across the specified availability zones, and scaling new node time depends on the scan internal that you configured when you enabled the auto scaler, See the details here.

    For your scenario it is recommended to enable auto scaler with this --balance-similar-node-groups to balance the zones.

    Hope this helps, and please "Accept as Answer" if it helped, so that it can help others in the community looking for help on similar topics.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.