File tree 1 file changed +6
-1
lines changed 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -12,15 +12,20 @@ coredns-77c989547b-kncd5 1/1 Running 0 6m
12
12
13
13
## 创建Dashboard
14
14
```
15
- [root@linux-node1 ~]# kubectl create -f dashboard/
15
+ [root@linux-node1 ~]# [root@linux-node1 ~]# kubectl create -f /srv/addons/ dashboard/
16
16
[root@linux-node1 ~]# kubectl cluster-info
17
17
Kubernetes master is running at https://192.168.56.11:6443
18
18
kubernetes-dashboard is running at https://192.168.56.11:6443/api/v1/namespaces/kube-system/services/https:kubernetes-dashboard:/proxy
19
19
20
20
To further debug and diagnose cluster problems, use 'kubectl cluster-info dump'.
21
21
22
22
```
23
+ ## 访问Dashboard
23
24
25
+ https://192.168.56.11:6443/api/v1/namespaces/kube-system/services/https:kubernetes-dashboard:/proxy
26
+ 选择令牌模式登录。
27
+
28
+ ### 获取Token
24
29
```
25
30
kubectl -n kube-system describe secret $(kubectl -n kube-system get secret | grep admin-user | awk '{print $1}')
26
31
```
You can’t perform that action at this time.
0 commit comments