更新 scripts/README.md

This commit is contained in:
joy 2025-10-30 08:32:02 +08:00
parent 17dbd5b54f
commit 0e794e2917
1 changed files with 3 additions and 3 deletions

View File

@ -142,9 +142,9 @@
#### 11k8s集群部署
```bash
cd /opt/ && wget -qO- http://116.205.97.109/scripts/k8s-ubuntu-init.sh | bash #系统初始化
cd /opt/ && wget -qO- http://116.205.97.109/scripts/containerd.sh |bash -s -- --install --version '1.7.28-1' #系统初始化
cd /opt/ && wget -qO- http://116.205.97.109/scripts/k8s-master.sh |bash -s -- --install --version '1.30.5'
cd /opt/ && wget -qO- http://116.205.97.109/scripts/k8s-ubuntu-init.sh | bash #系统初始化 (所有节点执行)
cd /opt/ && wget -qO- http://116.205.97.109/scripts/containerd.sh |bash -s -- --install --version '1.7.28-1' #系统初始化(所有节点执行)
cd /opt/ && wget -qO- http://116.205.97.109/scripts/k8s-master.sh |bash -s -- --install --version '1.30.5'master
cd /opt/ && wget -qO- http://116.205.97.109/scripts/haproxy.sh |bash -s -- --install --backend 192.168.61.131:6443,192.168.61.132:6443,192.168.61.133:6443 --port 8888
cd /opt/ && wget -qO- http://116.205.97.109/scripts/keepalived.sh |bash -s -- --install --vip 192.168.61.200/24 --priority 150 #主节点执行
cd /opt/ && wget -qO- http://116.205.97.109/scripts/keepalived.sh |bash -s -- --install --vip 192.168.61.200/24 --priority 140 #备节点执行