

LoadBalancer Ingress shows the external IP address exposed by your service. The following example output is a condensed version of the output after you run kubectl describe service. It may take a few minutes for the IP address to change from to an actual public IP address.įor more detailed information about your service using the following command. When you view the service details, the public IP address created for this service on the load balancer is shown in the EXTERNAL-IP column. Since the Azure Load Balancer can have multiple frontend IPs, each new service that you deploy will get a new dedicated frontend IP to be uniquely accessed.Ĭonfirm your service is created and the load balancer is configured using the following command. The Azure Load Balancer will be configured with a new public IP that will front the new service. Current usage remains the same and existing services are expected to work without modification.ĭeploy the public service manifest using kubectl apply and specify the name of your YAML manifest. This field is deprecating following upstream Kubernetes, and it can't support dual-stack. Add the LoadBalancerIP property to the load balancer YAML manifest: Add the property to the load balancer YAML manifest.Set service annotations: Use /azure-load-balancer-ipv4 for an IPv4 address and /azure-load-balancer-ipv6 for an IPv6 address.While current usage remains the same and existing services are expected to work without modification, we highly recommend setting service annotations instead.
#KUBERNETES ANNOTATIONS MANUAL#
An example of an unsupported operation is making manual changes to the load balancer resource group.Īdding the LoadBalancerIP property to the load balancer YAML manifest is deprecating following upstream Kubernetes. Modifying the IaaS resources associated with the agent nodes isn't supported.
#KUBERNETES ANNOTATIONS FULL#
For a full list of the supported annotations for Kubernetes services with type LoadBalancer, see LoadBalancer annotations.For more information on the Basic and Standard SKUs, see Azure Load Balancer SKU comparison. It's the recommended load balancer SKU for AKS. The Standard SKU gives you access to added functionality, such as a larger backend pool, multiple node pools, Availability Zones, and is secure by default. The Standard SKU is used by default when you create an AKS cluster. Azure Load Balancer is available in two SKUs: Basic and Standard.For internal load balancer integration, see Use an internal load balancer in AKS. This article covers integration with a public load balancer on AKS.

A load balancer frontend can also be accessed from an on-premises network in a hybrid scenario. Internal load balancers are used to load balance traffic inside a virtual network.

