
上QQ阅读APP看书,第一时间看更新
Viewing Kubernetes Dashboard
To view Kubernetes Dashboard, you need to follow these steps:
- To start Kubernetes Dashboard, use the following command:
$ az aks browse --resource-group k8sdevopscookbook --name AKSCluster
- If your cluster is RBAC-enabled, then create Clusterrolebinding:
$ kubectl create clusterrolebinding kubernetes-dashboard \
--clusterrole=cluster-admin \
--serviceaccount=kube-system:kubernetes-dashboard
- Open a browser window and go to the address where the proxy is running. In our example, this is http://127.0.0.1:8001/.