So I got a running cluster on my server. The server is running ubuntu 18.06
. I set up the cluster using kubeadm
, kubectl
and kubelet
.
My goal in a nutshell: I want to reach the services with executing http://myserver.com/service
.
I am kinda lost with exposing the services to port 8080. The current structure is like this:
31001:SERVICE:8080 -> 8080:POD
So I need to redirect the requests incoming using http://myserver.com/service
to the kubernetes service
with port 31001.
Current situation: I can only access the cluster via server IP:6443.
So my question: how can I make the cluster more or less public available on port 8080?