将 calico.yaml 放到 kuboard.cn
This commit is contained in:
@ -100,6 +100,7 @@ kubectl delete -f https://kuboard.cn/install-script/kuboard.yaml
|
||||
**执行命令**
|
||||
|
||||
```bash
|
||||
# 如果您参考 www.kuboard.cn 提供的文档安装 Kuberenetes,可在第一个 Master 节点上执行此命令
|
||||
kubectl -n kube-system describe secret $(kubectl -n kube-system get secret | grep kuboard-user | awk '{print $1}')
|
||||
```
|
||||
|
||||
@ -140,6 +141,7 @@ token: eyJhbGciOiJSUzI1NiIsImtpZCI6IiJ9.eyJpc3MiOiJrdWJlcm5ldGVzL3NlcnZpY2VhY2Nv
|
||||
执行如下命令可以获得 <span style="color: #F56C6C; font-weight: 500;">只读用户</span> 的 Token
|
||||
|
||||
```bash
|
||||
# 如果您参考 www.kuboard.cn 提供的文档安装 Kuberenetes,可在第一个 Master 节点上执行此命令
|
||||
kubectl -n kube-system describe secret $(kubectl -n kube-system get secret | grep kuboard-viewer | awk '{print $1}')
|
||||
```
|
||||
|
||||
|
||||
@ -50,7 +50,7 @@ meta:
|
||||
|
||||
* **持续更新和完善**
|
||||
* 始终有最新的 Kubernetes 稳定版安装文档,当前版本 v1.16.2
|
||||
* 当前已更新了 <font color="red"> 62 次 </font>, [查看更新历史](https://github.com/eip-work/kuboard-press/commits/master/install/install-k8s.md)
|
||||
* 当前已更新了 <font color="red"> 63 次 </font>, [查看更新历史](https://github.com/eip-work/kuboard-press/commits/master/install/install-k8s.md)
|
||||
|
||||
* **在线答疑**
|
||||
|
||||
@ -443,7 +443,6 @@ kubectl delete -f https://kuboard.cn/install-script/v1.16.2/nginx-ingress.yaml
|
||||
|
||||
您已经完成了 Kubernetes 集群的安装,下一步请:
|
||||
|
||||
[点击此处,给个 GitHub Star](https://github.com/eip-work/kuboard-press)
|
||||
<span v-on:click="$sendGaEvent('安装后求GitHub Star','安装后求GitHub Star','安装后求GitHub Star')"><a href="https://github.com/eip-work/kuboard-press" target="_blank">点击此处,给个GitHub Star</a></span>
|
||||
支持一下吧,<StarCount></StarCount>这么多人都 star 了呢,怎么能少得了您呢?
|
||||
|
||||
|
||||
@ -59,8 +59,7 @@ Pod Template:
|
||||
|
||||
``` sh
|
||||
# 如果版本号是 v3.8.2 或者 v3.8.x,则删除命令如下
|
||||
# calico.yaml 的URL中,不带版本号的最后一位
|
||||
kubectl delete -f https://docs.projectcalico.org/v3.8/manifests/calico.yaml
|
||||
kubectl delete -f https://kuboard.cn/install-script/calico/calico-3.8.yaml
|
||||
```
|
||||
|
||||
## 安装新版本
|
||||
@ -97,10 +96,10 @@ scheduler: {}
|
||||
``` sh {2}
|
||||
# 命令行中环境变量 POD_SUBNET 的取值 10.100.0.1/16 来自于上一个命令的输出结果
|
||||
export POD_SUBNET=10.100.0.1/16
|
||||
rm -f calico.yaml
|
||||
wget https://docs.projectcalico.org/v3.9/manifests/calico.yaml --no-check-certificate
|
||||
sed -i "s#192\.168\.0\.0/16#${POD_SUBNET}#" calico.yaml
|
||||
kubectl apply -f calico.yaml
|
||||
rm -f calico-3.9.2.yaml
|
||||
wget https://kuboard.cn/install-script/calico/calico-3.9.2.yaml
|
||||
sed -i "s#192\.168\.0\.0/16#${POD_SUBNET}#" calico-3.9.2.yaml
|
||||
kubectl apply -f calico-3.9.2.yaml
|
||||
```
|
||||
|
||||
此时可执行命令检查 calico 的版本:
|
||||
|
||||
Reference in New Issue
Block a user