File tree 4 files changed +4
-4
lines changed
4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 3
3
Kubernetes Dashboard 的部署非常简单,只需要运行
4
4
5
5
``` sh
6
- kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/master /src/deploy/recommended/kubernetes-dashboard.yaml
6
+ kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v1.10.1 /src/deploy/recommended/kubernetes-dashboard.yaml
7
7
```
8
8
9
9
稍等一会,dashborad 就会创建好
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ kubectl apply -n kube-system -f "https://cloud.weave.works/k8s/net?k8s-version=$
73
73
## 创建Dashboard
74
74
75
75
``` sh
76
- curl -L -s https://raw.githubusercontent.com/kubernetes/dashboard/master /src/deploy/recommended/kubernetes-dashboard.yaml | sed ' s/targetPort: 9090/targetPort: 9090\n type: LoadBalancer/' | kubectl apply -f -
76
+ curl -L -s https://raw.githubusercontent.com/kubernetes/dashboard/v1.10.1 /src/deploy/recommended/kubernetes-dashboard.yaml | sed ' s/targetPort: 9090/targetPort: 9090\n type: LoadBalancer/' | kubectl apply -f -
77
77
```
78
78
79
79
稍等一会,在页面上方会显示Dashborad服务的端口号,点击端口号就可以访问Dashboard页面。
Original file line number Diff line number Diff line change 3
3
Kubernetes Dashboard 的部署非常简单,只需要运行
4
4
5
5
``` sh
6
- kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/master /src/deploy/recommended/kubernetes-dashboard.yaml
6
+ kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v1.10.1 /src/deploy/recommended/kubernetes-dashboard.yaml
7
7
```
8
8
9
9
稍等一会,dashborad 就会创建好
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ Play with Kubernetes 有个非常方便的功能:自动在页面上显示所
53
53
54
54
``` sh
55
55
# 在 master node 上面运行
56
- kubectl create -f https://raw.githubusercontent.com/kubernetes/dashboard/master /src/deploy/recommended/kubernetes-dashboard.yaml
56
+ kubectl create -f https://raw.githubusercontent.com/kubernetes/dashboard/v1.10.1 /src/deploy/recommended/kubernetes-dashboard.yaml
57
57
kubectl proxy --address=' 0.0.0.0' --port=8080 --accept-hosts=' ^*$' &
58
58
```
59
59
You can’t perform that action at this time.
0 commit comments