From 7d19ec709058f279db9edb33da88cb2943bd2400 Mon Sep 17 00:00:00 2001 From: lizw <1183409807@qq.com> Date: Thu, 1 Aug 2024 17:05:53 +0800 Subject: [PATCH] 02k8s-install-centos.sh --- sd_dsl/02k8s-install-centos.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/sd_dsl/02k8s-install-centos.sh b/sd_dsl/02k8s-install-centos.sh index 9392630..3f253a4 100644 --- a/sd_dsl/02k8s-install-centos.sh +++ b/sd_dsl/02k8s-install-centos.sh @@ -2154,7 +2154,7 @@ function add::ui() { command::exec "${MGMT_NODE}" " $(declare -f utils::retry) cd ${path} - helm repo add rancher-stable http://rancher-mirror.oss-cn-beijing.aliyuncs.com/server-charts/stable + helm repo add rancher-stable https://releases.rancher.com/server-charts/stable utils::retry 6 helm pull rancher-stable/rancher --version ${RANCHER_VERSION} --untar cat << EOF > rancher/templates/service.yaml apiVersion: v1 @@ -2447,15 +2447,15 @@ function init::cluster() { # 2. 安装包 #install::package # 3. 初始化kubeadm - kubeadm::init + #kubeadm::init # 4. 加入集群 - kubeadm::join + #kubeadm::join # 5. 添加network - add::network + #add::network # 6. 安装addon - add::addon + #add::addon # 7. 添加ingress - add::ingress + #add::ingress # 8. 添加storage [[ "${STORAGE_TAG:-}" == "1" ]] && add::storage # 9. 添加web ui @@ -2465,7 +2465,7 @@ function init::cluster() { # 11. 添加log [[ "${LOG_TAG:-}" == "1" ]] && add::log # 12. 运维操作 - add::ops + #add::ops # 13. 查看集群状态 kube::status }