I have got the following services:
ubuntu@master:~$ kubectl get services --all-namespaces NAMESPACE NAME CLUSTER-IP EXTERNAL-IP
You can reference the document:
https://github.com/kubernetes/dashboard/wiki/Accessing-Dashboard---1.7.X-and-above
The easy way is to
$ kubectl -n kube-system edit service kubernetes-dashboard
change the .spec.type to NodePort
.spec.type
NodePort