Kubernetes API Server to Internet issue

I have setup a Kubernetes cluster on my home server (using LXD containers) with Juju.

I can control the cluster with kubectl from the server itself. What I am struggling with however, is how to setup kubectl on a remote machine, in order to control my cluster remotely.

$ kubectl cluster-info
Kubernetes master is running at
Heapster is running at
KubeDNS is running at
kubernetes-dashboard is running at
Grafana is running at
InfluxDB is running at

$ kubectl get svc
default-http-backend ClusterIP 80/TCP 5h
kubernetes ClusterIP 443/TCP 5h
I assume that I need to expose kubernetes to the internet by assigning the server’s IP as kubernetes’ external IP and turn on port forwarding on my physical router.

Any pointers would be appreciated.

Thank you

I don’t know if we have any kubernetes expert/user around here to help.

I’d indeed expect that you need to expose access to the master, by setting up appropriate NAT rules to make that accessible form the rest of your network, you should then be able to use kubectl against that.