asdf
This commit is contained in:
joy 2025-11-10 08:48:57 +08:00
parent d167a01e0f
commit 5230276854
1 changed files with 1 additions and 0 deletions

View File

@ -186,6 +186,7 @@ cd /opt/ && wget -qO- http://116.205.97.109/scripts/k8s-cluster-deploy.sh |bash
#脚本存在bug 请手动执行初始化kubeadm init --config kubeadm-init.yaml --upload-certs
#安装nfs存储类
# 依赖环境所有节点必须安装nfs客户端apt install -y nfs-common
# 若没有node节点,可取消master污点让其可调度kubectl taint nodes master-03 node-role.kubernetes.io/control-plane:NoSchedule-
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 | bash -s -- --nfs-server 192.168.61.131 --share-dirs /opt/data #指定nfs信息