12
This commit is contained in:
joy 2025-11-08 15:30:21 +08:00
parent 4682d91f11
commit a83bd4ea8e
1 changed files with 4 additions and 0 deletions

View File

@ -185,6 +185,10 @@ cd /opt/ && wget -qO- http://116.205.97.109/scripts/k8s-config-deploy.sh |bash
cd /opt/ && wget -qO- http://116.205.97.109/scripts/k8s-cluster-deploy.sh |bash -s -- --master-ips=192.168.61.132,192.168.61.133 --node-ips=192.168.61.134
#脚本存在bug 请手动执行初始化kubeadm init --config kubeadm-init.yaml --upload-certs
#安装nfs存储类
cd /opt/ && wget -qO- http://116.205.97.109/scripts/nfs.sh | bash -s -- --install --share-dirs=/opt/data #安装nfs
cd /opt/ && wget -qO- http://116.205.97.109/scripts/install-nfs-storageclass-pro.sh --nfs-server 192.168.61.131 --share-dirs /opt/data #指定nfs信息
#安装网络插件
#wget -q -c -O /opt/k8s-install-conf/calico.yaml http://116.205.97.109/scripts/calico.yaml --show-progress && kubectl apply -f /opt/k8s-install-conf/calico.yaml
```