parent
1b2e2ef495
commit
c64efbdaab
|
|
@ -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-
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue