12
This commit is contained in:
joy 2025-11-10 13:23:50 +08:00
parent 1b2e2ef495
commit c64efbdaab
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 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 #脚本存在bug 请手动执行初始化kubeadm init --config kubeadm-init.yaml --upload-certs
#常用工具组件安装helm 工具安装
curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
#安装nfs存储类 #安装nfs存储类
# 依赖环境所有节点必须安装nfs客户端apt install -y nfs-common # 依赖环境所有节点必须安装nfs客户端apt install -y nfs-common
# 若没有node节点,可取消master污点让其可调度kubectl taint nodes master-03 node-role.kubernetes.io/control-plane:NoSchedule- # 若没有node节点,可取消master污点让其可调度kubectl taint nodes master-03 node-role.kubernetes.io/control-plane:NoSchedule-