How to access/expose kubernetes-dashboard service outside of a cluster?

后端 未结 7 1528
终归单人心
终归单人心 2020-12-02 18:54

I have got the following services:

ubuntu@master:~$ kubectl get services --all-namespaces
NAMESPACE     NAME                   CLUSTER-IP      EXTERNAL-IP            


        
7条回答
  •  囚心锁ツ
    2020-12-02 19:19

    You can reach by hitting the nodePort for the dashboard on the master

    kubectl describe services kubernetes-dashboard --namespace=kube-system
    NodePort:        30042/TCP
    

    http://MASTER:30042

提交回复
热议问题