From 18a3aa2958dba7f4a506509c97194471533f07f8 Mon Sep 17 00:00:00 2001 From: joy Date: Thu, 30 Oct 2025 20:07:21 +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 aa --- scripts/README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/scripts/README.md b/scripts/README.md index 6089cb3..5df4d3f 100644 --- a/scripts/README.md +++ b/scripts/README.md @@ -142,6 +142,15 @@ #### (11)k8s集群部署 ```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/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基础组件(所有节点执行)