parent
cb7fe5665f
commit
18a3aa2958
|
|
@ -142,6 +142,15 @@
|
||||||
#### (11)k8s集群部署
|
#### (11)k8s集群部署
|
||||||
|
|
||||||
```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基础组件(所有节点执行)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue