I also tried changing kubernetes services yaml file to Node port and then tried exposing the dashboard from the new port i am getting error "connection is not private".So how to access the dashboard by making the connection private?
Asked
Active
Viewed 303 times
3
-
Can you provide output of `kubectl -n kube-system get service kubernetes-dashboard` – Crou Feb 25 '19 at 14:33
1 Answers
0
Can you try below steps...
Undeploy the existing dashboard.
Deploy dashboard using the below command:
kubectl create -f https://raw.githubusercontent.com/epasham/docker-repo/master/k8s/dashboard/kubernetes-dashboard.yml
master $ kubectl get svc -n kube-system | grep dashboard kubernetes-dashboard NodePort 10.110.127.61 <none> 9090:30000/TCP 2m
master $ curl 10.110.127.61:9090
( within the cluster )Access the dashboard from browser using
HOSTNAME:30000

RobC
- 22,977
- 20
- 73
- 80

P Ekambaram
- 15,499
- 7
- 34
- 59