1.部署 Kubernetes Dashboard

$ kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.0-beta8/aio/deploy/recommended.yaml

2.启动 Kubernetes Dashboard

$ kubectl proxy

3.访问 Kubernetes Dashboard

http://localhost:8001/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/

4.获取登陆 Dashboard 需要的令牌

$ kubectl -n kube-system describe secret default| awk '$1=="token:"{print $2}'

5.填写令牌,登陆 Dashboard

参考:https://github.com/kubernetes/dashboard

相关文章:

  • 2021-12-29
  • 2022-01-06
  • 2021-06-07
  • 2021-04-14
  • 2021-04-24
  • 2022-01-13
  • 2021-07-22
  • 2021-10-20
猜你喜欢
  • 2021-12-02
  • 2021-06-19
  • 2021-06-04
  • 2021-11-15
  • 2021-11-11
  • 2022-12-23
  • 2021-07-27
相关资源
相似解决方案