Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save arunjayakumar01/fef90c21002156d2e2b89cb3d483ae07 to your computer and use it in GitHub Desktop.
Save arunjayakumar01/fef90c21002156d2e2b89cb3d483ae07 to your computer and use it in GitHub Desktop.

Configure a network load balancer for AWS EKS cluster

Expose the a kubernetes service in EKS using a Network Load balancer (NLB )
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-0.32.0/deploy/static/provider/aws/deploy.yaml
  • This will create a network load balancer will will be connected to your EKS cluster .

To delete the loadbalancer and associated resources

kubectl delete -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-0.32.0/deploy/static/provider/aws/deploy.yaml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment