I was following a blog posted by Edureka to install kubernetes on a 2 node cluster (one master and 2 nodes). Everything went fine, and when I use curl to access dashboard I am getting html code response. But I have a requirement of accessing this dashboard using the private IP of this VM internally within the corporate network. I can easily SSH to this VM if I am connected to a VPN, so should be able to access this dashboard too.
Since I am using Ubuntu 16.04 server, I don't have a browser to access the dashboard internally and so, would require the kube dashboard through private IP. Here are some results for the commands I fired after googling:
admin@master:~$ kubectl -n kube-system get service kubernetes-dashboard
NAME                   TYPE        CLUSTER-IP      EXTERNAL-IP   PORT(S)   AGE
kubernetes-dashboard   ClusterIP   10.101.84.169   <none>        443/TCP   23h
admin@master:~$ kubectl describe svc kubernetes-dashboard -n kube-system
Name:              kubernetes-dashboard
Namespace:         kube-system
Labels:            k8s-app=kubernetes-dashboard
Annotations:       <none>
Selector:          k8s-app=kubernetes-dashboard
Type:              ClusterIP
IP:                10.101.84.169
Port:              <unset>  443/TCP
TargetPort:        8443/TCP
Endpoints:         10.0.10.7:8443
Session Affinity:  None
Events:            <none>
Can someone please help me at the earliest.?