May 2018
Intermediate to advanced
554 pages
13h 51m
English
To run Kubernetes dashboard, we simply fire a command to apply a configuration file, and every resource is created automatically:
$ kubectl create -fhttps://raw.githubusercontent.com/kubernetes/dashboard/master/src/deploy/recommended/kubernetes-dashboard.yamlsecret "kubernetes-dashboard-certs" createdserviceaccount "kubernetes-dashboard" createdrole "kubernetes-dashboard-minimal" createdrolebinding "kubernetes-dashboard-minimal" createddeployment "kubernetes-dashboard" createdservice "kubernetes-dashboard" created
Next, let's use the command kubectl proxy to open a gateway connecting localhost and the API server. Then, we are good to access the dashboard via a browser: