Add and configure Load Balancers with DuploCloud Azure
Load Balancers are essential when running a service. They expose the containers and images in which your application resides. And when your containers are run inside a private network, you need a load balancer to listen on the correct ports to access the application.
Add a load balancer listener that uses the Kubernetes NodePort (K8S NodePort).
Using Kubernetes Health Check allows AKS's Application Load Balancer to determine whether your service is running properly.
You must create Services to run load balancers. In this example, we name these services s1-alb and s4-nlb, respectively.
Services running ALB and NLB
- 1.In the DuploCloud Portal, navigate DevOps -> Containers -> AKS/Native.
- 2.On the Services page, select the Service name in the Name column.
- 3.Click the Load Balancers tab.Load Balancer tab on the AKS Services page
- 4.Click Configure Load Balancer. The Add Load Balancer Listener pane appears.
- 5.Select a type (such as K8S Node Port) in the Select Type field.
- 6.Add the Kubernetes Health Check URL for this container in the Health Check field.
- 7.Complete the other fields in the Add Load Balancer Listener and click Add.
Rules specify specific configurations for various types of Load Balancers.
See the Ingress use case for an example of how to configure Load Balancers using rules for an inbound Application Load Balancer (ALB) and an outbound Network Load Balancer (NLB).