Node size in AKS by autoscaling ?

Sagar Jain 21 Reputation points
2022-10-03T06:45:45.29+00:00

What will be the node size of worker nodes that are auto generated by the auto-scaling in Kubernetes cluster, will it be the exact copy of the configured nodes or will it be the generated according to the pod requirement ? Also can we configure the size of node that is going to be auto generated by the azure auto-scaler ?

Azure Kubernetes Service
Azure Kubernetes Service
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
2,456 questions
0 comments No comments
{count} votes

Accepted answer
  1. JimmySalian-2011 42,496 Reputation points
    2022-10-03T09:09:58.743+00:00

    Hi Sagar,

    AKS clusters can scale in one of two ways:

    The cluster autoscaler watches for pods that can't be scheduled on nodes because of resource constraints. The cluster then automatically increases the number of nodes.
    The horizontal pod autoscaler uses the Metrics Server in a Kubernetes cluster to monitor the resource demand of pods. If an application needs more resources, the number of pods is automatically increased to meet the demand.

    Also the AKS cluster uses a virtual machine scale set for the nodes, don't manually enable or edit settings for scale set autoscale in the Azure portal or using the Azure CLI. Let the Kubernetes cluster autoscaler manage the required scale settings.

    When you enable the cluster autoscaler, a default profile is used unless you specify different settings. check out this table for custom settings:
    cluster-autoscaler

    Hope this helps.

    ==
    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    1 person found this answer helpful.
    0 comments No comments

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.