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.
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.