AKS public IP load balancer

IC Admin 20 Reputation points
2024-07-09T07:22:42.6566667+00:00

Hi,

I'm new on AKS.

When i create a new AKS cluster, by default is created a public load balancer and a public ip.

This public ip is used only for egress correct?

Any ingress service deployed after create a new public ip, correct?

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

Accepted answer
  1. Goncalo Correia 351 Reputation points Microsoft Employee
    2024-07-09T08:59:09.6533333+00:00

    Hi @IC Admin

    Thanks for posting your question here in Microsoft Q&A,

    That is correct, the default public ip in an AKS configured with outbound type Load Balancer is for the egress traffic.
    If in your AKS cluster you create services of type LoadBalancer a new Public IP will be created and assign to that service via that Azure Load Balancer.
    https://learn.microsoft.com/en-us/azure/aks/egress-outboundtype#outbound-type-of-loadbalancer

    You can also configure services/ingress with private IP from within the cluster vnet, usually used to expose workloads from the AKS cluster only towards other Azure Resources,
    https://learn.microsoft.com/en-us/azure/aks/internal-lb?tabs=set-service-annotations#create-an-internal-load-balancer

    Best Regards,
    Gonçalo Correia

    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.