更新 scripts/README.md

aa
This commit is contained in:
joy 2025-10-30 20:07:21 +08:00
parent cb7fe5665f
commit 18a3aa2958
1 changed files with 9 additions and 0 deletions

View File

@ -142,6 +142,15 @@
#### 11k8s集群部署 #### 11k8s集群部署
```bash ```bash
配置免密:
cd /opt/ && wget -qO- http://116.205.97.109/scripts/auto_ssh_auth_setup.sh |bash -s -- --file=/opt/ip.txt --user=root --passwd=xxxx
#注ip.txt
cat > /opt/ip.txt << EOF
10.x.x.1
10.x.x.2
10.x.x.3
EOF
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/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/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/k8s-base-setup.sh |bash -s -- --install --version '1.30.5' #k8s基础组件(所有节点执行)