From b03b1a0ddadb9b28cb9d93e3ac72b734f6cabb4b Mon Sep 17 00:00:00 2001 From: joy Date: Thu, 30 Oct 2025 13:58:12 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20scripts/README.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/README.md b/scripts/README.md index 5a71ff8..18d75d6 100644 --- a/scripts/README.md +++ b/scripts/README.md @@ -146,6 +146,8 @@ 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' #containerd 安装(所有节点执行) cd /opt/ && wget -qO- http://116.205.97.109/scripts/k8s-base-setup.sh |bash -s -- --install --version '1.30.5' #k8s基础组件(所有节点执行) cd /opt/ && wget -qO- http://116.205.97.109/scripts/haproxy.sh |bash -s -- --install --backend master01-ip:6443,master02-ip:6443,master03-ip:6443 --port 36443 + +#master 节点(3,5,7...) 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 #备节点执行 cd /opt/ && wget -qO- http://116.205.97.109/scripts/keepalived.sh |bash -s -- --install --vip 192.168.61.200/24 --priority 130 #备节点执行