AWS Load balancer in front of k8s master

12/27/2018

I have a k8s cluster (1 master node) that was spun up in private subnet. I want to set up an AWS load balancer in order to use kubectl from the internet. I tried setting up network load balancer but it didn't work. Anyone suggests me an approach to achieve that goal, please.

-- An Nguyen
amazon-web-services
aws-elb
kubernetes

1 Answer

12/27/2018

A load balancer will not help you use kubectl to manage kubernetes.

You either need a public IP or a VPN setup within your VPC. Consider using OpenVPN to allow your kubectl running on your desktop to connect to Kubernetes.

-- John Hanley
Source: StackOverflow