Why Azure create Load balancer while Creating AKS cluster ?

Omkar Pasalkar 86 Reputation points
2023-11-09T15:21:41.3833333+00:00

Hi

I have a few questions on my mind regarding AKS (Azure Kubernetes Service) and load balancers.

  1. What is the role and significance of the load balancer that Azure deploys, be it basic or standard, during the creation of an AKS cluster? How does it impact the cluster's functionality and performance?
  2. Is it feasible to establish an AKS cluster without incorporating a load balancer? If so, what implications or limitations would such a setup entail in terms of the cluster's operation and capabilities?
  3. In the event that the load balancer associated with an AKS cluster is deleted, what are the potential consequences and disruptions that might arise within the cluster's network traffic management and application performance?
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,187 questions
Azure Load Balancer
Azure Load Balancer
An Azure service that delivers high availability and network performance to applications.
460 questions
0 comments No comments
{count} votes

Accepted answer
  1. Prrudram-MSFT 26,686 Reputation points
    2023-11-10T07:27:15.3566667+00:00

    Hi @Omkar Pasalkar

    Thank you for reaching out to the Microsoft Q&A platform.

    The load balancer that Azure deploys during the creation of an AKS cluster is used to distribute traffic to the nodes in the cluster. The load balancer can be either a basic or standard load balancer, depending on the SKU that you choose when creating the AKS cluster. The load balancer is responsible for routing traffic to the appropriate node in the cluster based on the service that is being accessed.

    1#The load balancer is a critical component of an AKS cluster and is required for the cluster to function properly. Without a load balancer, traffic would not be able to be distributed to the nodes in the cluster, which would result in poor performance and potentially even downtime.

    2#It is not feasible to establish an AKS cluster without incorporating a load balancer. The load balancer is a required component of the cluster and cannot be removed. If you attempt to create an AKS cluster without a load balancer, the creation process will fail.

    3#If the load balancer associated with an AKS cluster is deleted, it can have significant consequences and disruptions on the cluster's network traffic management and application performance. Without a load balancer, traffic will not be able to be distributed to the nodes in the cluster, which can result in poor performance and potentially even downtime. It is not recommended to delete the load balancer associated with an AKS cluster. If you need to make changes to the load balancer, it is recommended to do so through the Azure portal or Azure CLI.

    Please don’t forget to Accept Answer and hit Yes for "was this answer helpful" wherever the information provided helps you, this can be beneficial to other community members for remediation for similar issues.


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.