How to use existing AWS internal load balancer for exposing multiple Kubernetes services

12/17/2018

I am using Kubernetes deployed using KOPS in AWS. For exposing few services , I have couple of AWS internal load balancer for TCP ports like 22 , 389. These TCP ports can't be used in ingress-controller like Nginx. So for exposing these TCP ports for each deployment , I am using AWS LB. AWS has a limit on number of load balancers per region.

I am looking for a solution to use one aws internal load balancer for multiple services. For example : One AWS LB can use for port 22 , 80 , 389 and send traffic to internal Kubernetes POD using POD internal ports. Using this solution I can minimize my number of AWS LB and expose multiple services pointing to single LB. Any comments are appreciated .

Thanks Sas

-- Sas
amazon-web-services
aws-load-balancer
internal-load-balancer
kubernetes
kubernetes-service

0 Answers