123
This commit is contained in:
joy 2025-11-10 09:27:31 +08:00
parent f25495fd09
commit c4c29280e0
1 changed files with 4 additions and 0 deletions

View File

@ -191,6 +191,10 @@ cd /opt/ && wget -qO- http://116.205.97.109/scripts/k8s-cluster-deploy.sh |bash
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信息
#安装Metrics Server组件
cd /opt/k8s-install-conf/ && wget http://116.205.97.109/scripts/metrics-server.yaml && kubectl apply -f /opt/k8s-install-conf/metrics-server.yaml
#安装网络插件
#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
```