Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

kube dashboard expose access port

kubectl -n kube-system edit service kubernetes-dashboard
#change the .spec.type to NodePort


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

kubectl describe services kubernetes-dashboard --namespace=kube-system
#NodePort:       <unset> 30042/TCP
#http://MASTER:30042
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #kube #dashboard #expose #access #port
ADD COMMENT
Topic
Name
8+7 =