k8s dashboard 安装与配置
1,kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.3.0/aio/deploy/recommended.yaml2,dashboard安装指南GitHub - kubernetes/dashboard: General-purpose web UI for Kubernetes clusters
·
1,kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.3.0/aio/deploy/recommended.yaml
2,dashboard安装指南
kubectl create clusterrolebinding dashboard-admin -n kubernetes-dashboard --clusterrole=cluster-admin --serviceaccount=kubernetes-dashboard:dashboard
查看token:
kubectl describe secret kubernetes-dashboard-token-r6x6f -n kubernetes-dashboard
4,dashboard配置后才能通过浏览器访问
更多推荐
已为社区贡献1条内容
所有评论(0)