dashboard所需鏡像(v1.10.0)地址:
鏈接:https://pan.baidu.com/s/1vkdYNGjQD0hD_Q0_I_2t3A
提取碼:7i7k
1、#helm install –name dashboard –namespace=kube-system stable/kubernetes-dashboard
2、#kubectl edit svc dashboard-kubernetes-dashboard -n kube-system (將ClusterIP改為NodePort,提供外網(wǎng)訪問地址)
3、#kubectl create serviceaccount dashboard-admin -n kube-system (利用token訪問K8s的dashboard)
4、#kubectl create clusterrolebinding dashboard-cluster-admin –clusterrole=cluster-admin –serviceaccount=kube-system:dashboard-admin
5、#kubectl get secret -n kube-system
6、#kubectl describe secret dashboard-admin-token-xxxxx -n kube-system (查詢Doshboard的token是多少)
備注:用火狐瀏覽器進行訪問

更多關(guān)于云服務(wù)器,域名注冊虛擬主機的問題,請訪問西部數(shù)碼官網(wǎng):m.bingfeng168.cn

贊(0)
聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享網(wǎng)絡(luò)內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-62778877-8306;郵箱:fanjiao@west.cn。本站原創(chuàng)內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時需注明出處:西部數(shù)碼知識庫 » CentOS7.5Kubernets(k8s)1.12.2之Helm部署Dashboard(三)

登錄

找回密碼

注冊