Using Network Load Balancer

Integrate with NLB

To integrate a NLB with a Kubernetes cluster, you can use a Service with type LoadBalancer . When you create such a Service, VNGCloud LoadBalancer Controller will automatically create an NLB to forward traffic to pods on your node . You can also use annotations to customize NLB properties, such as port, protocol,...

Deploy a NLB

Step 1: Create Deployment, Service type LoadBalancer

kubectl create deployment httpbin --image=mccutchen/go-httpbin                  
kubectl expose deployment httpbin --name=httpbin-service --port=80 --target-port=8080 --type=LoadBalancer

Last updated