Selaa lähdekoodia

02k8s-install-centos.sh

lizw 10 kuukautta sitten
vanhempi
commit
7d19ec7090
1 muutettua tiedostoa jossa 7 lisäystä ja 7 poistoa
  1. 7 7
      sd_dsl/02k8s-install-centos.sh

+ 7 - 7
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
 }