From 75b1d3b57a8aaa4c58348e54ed84f66bf269e659 Mon Sep 17 00:00:00 2001 From: feng Date: Mon, 6 Jan 2025 15:53:55 +0800 Subject: [PATCH] add charts repo mirror Signed-off-by: feng --- .../docs/v4.1/02-quickstart/01-install-kubesphere.adoc | 3 ++- .../02-install-kubernetes-and-kubesphere.adoc | 2 +- content/en/docs/v4.1/20-release-notes/release-v412.md | 3 ++- ...sphere-4.1.2-deployment-and-extension-installation.md | 1 + content/zh/blogs/kubesphere-v4-install-guide.md | 9 +++++---- .../docs/v4.1/02-quickstart/01-install-kubesphere.adoc | 1 + content/zh/docs/v4.1/20-release-notes/release-v412.md | 1 + 7 files changed, 13 insertions(+), 7 deletions(-) diff --git a/content/en/docs/v4.1/02-quickstart/01-install-kubesphere.adoc b/content/en/docs/v4.1/02-quickstart/01-install-kubesphere.adoc index cb317c413..c536a7bbf 100644 --- a/content/en/docs/v4.1/02-quickstart/01-install-kubesphere.adoc +++ b/content/en/docs/v4.1/02-quickstart/01-install-kubesphere.adoc @@ -55,7 +55,8 @@ apt install socat conntrack -y + [,bash] ---- -helm upgrade --install -n kubesphere-system --create-namespace ks-core https://charts.kubesphere.io/main/ks-core-1.1.2.tgz --debug --wait +# If you are accessing charts.kubesphere.io from a restricted location, replace charts.kubesphere.io with charts.kubesphere.com.cn +helm upgrade --install -n kubesphere-system --create-namespace ks-core https://charts.kubesphere.io/main/ks-core-1.1.3.tgz --debug --wait ---- + include::../../../_ks_components-en/admonitions/note.adoc[] diff --git a/content/en/docs/v4.1/03-installation-and-upgrade/02-install-kubesphere/02-install-kubernetes-and-kubesphere.adoc b/content/en/docs/v4.1/03-installation-and-upgrade/02-install-kubesphere/02-install-kubernetes-and-kubesphere.adoc index e46548f36..5436fa5a2 100644 --- a/content/en/docs/v4.1/03-installation-and-upgrade/02-install-kubesphere/02-install-kubernetes-and-kubesphere.adoc +++ b/content/en/docs/v4.1/03-installation-and-upgrade/02-install-kubesphere/02-install-kubernetes-and-kubesphere.adoc @@ -371,7 +371,7 @@ curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash [,bash] ---- # If you are accessing charts.kubesphere.io from a restricted location, replace charts.kubesphere.io with charts.kubesphere.com.cn -helm upgrade --install -n kubesphere-system --create-namespace ks-core https://charts.kubesphere.io/main/ks-core-1.1.2.tgz --debug --wait +helm upgrade --install -n kubesphere-system --create-namespace ks-core https://charts.kubesphere.io/main/ks-core-1.1.3.tgz --debug --wait ---- include::../../../../_ks_components-en/admonitions/note.adoc[] diff --git a/content/en/docs/v4.1/20-release-notes/release-v412.md b/content/en/docs/v4.1/20-release-notes/release-v412.md index 112ebf382..4e6597ffd 100644 --- a/content/en/docs/v4.1/20-release-notes/release-v412.md +++ b/content/en/docs/v4.1/20-release-notes/release-v412.md @@ -11,7 +11,8 @@ weight: 44 ### Installation/Upgrade Command ``` -helm upgrade --install -n kubesphere-system --create-namespace ks-core https://charts.kubesphere.io/main/ks-core-1.1.2.tgz --debug --wait +# If you are accessing charts.kubesphere.io from a restricted location, replace charts.kubesphere.io with charts.kubesphere.com.cn +helm upgrade --install -n kubesphere-system --create-namespace ks-core https://charts.kubesphere.io/main/ks-core-1.1.3.tgz --debug --wait ``` ### Features diff --git a/content/zh/blogs/kubesphere-4.1.2-deployment-and-extension-installation.md b/content/zh/blogs/kubesphere-4.1.2-deployment-and-extension-installation.md index f572b9c46..70e8a4f34 100644 --- a/content/zh/blogs/kubesphere-4.1.2-deployment-and-extension-installation.md +++ b/content/zh/blogs/kubesphere-4.1.2-deployment-and-extension-installation.md @@ -496,6 +496,7 @@ nfs-client k8s-sigs.io/nfs-subdir-external-provisioner Delete > **说明:** KubeKey 部署 Kubernetes 集群时会自动安装 Helm,无需手动安装。 ```bash +# 如果无法访问 charts.kubesphere.io, 可将 charts.kubesphere.io 替换为 charts.kubesphere.com.cn helm upgrade --install -n kubesphere-system --create-namespace ks-core https://charts.kubesphere.io/main/ks-core-1.1.3.tgz --debug --wait \ --set global.imageRegistry=swr.cn-southwest-2.myhuaweicloud.com/ks \ --set extension.imageRegistry=swr.cn-southwest-2.myhuaweicloud.com/ks \ diff --git a/content/zh/blogs/kubesphere-v4-install-guide.md b/content/zh/blogs/kubesphere-v4-install-guide.md index 9524ff611..b034b6181 100644 --- a/content/zh/blogs/kubesphere-v4-install-guide.md +++ b/content/zh/blogs/kubesphere-v4-install-guide.md @@ -281,8 +281,9 @@ helm del -n kube-federation-system kubefed ### 升级 Crd ``` -# 下载 ks-core chart 包 -helm fetch https://charts.kubesphere.io/main/ks-core-1.1.2.tgz --untar +# 下载 ks-core chart 包 +# 如果无法访问 charts.kubesphere.io, 可将 charts.kubesphere.io 替换为 charts.kubesphere.com.cn +helm fetch https://charts.kubesphere.io/main/ks-core-1.1.3.tgz --untar # 更新 crds @@ -298,9 +299,9 @@ kubectl apply -f ks-core/charts/ks-crds/crds/ # 如果访问 dockerhub 受限,在以下命令中添加 # --set global.imageRegistry=swr.cn-southwest-2.myhuaweicloud.com/ks # --set extension.imageRegistry=swr.cn-southwest-2.myhuaweicloud.com/ks +# 如果无法访问 charts.kubesphere.io, 可将 charts.kubesphere.io 替换为 charts.kubesphere.com.cn - -helm upgrade --install -n kubesphere-system --create-namespace ks-core https://charts.kubesphere.io/main/ks-core-1.1.2.tgz --debug --wait +helm upgrade --install -n kubesphere-system --create-namespace ks-core https://charts.kubesphere.io/main/ks-core-1.1.3.tgz --debug --wait ``` ### 添加 Member 集群 diff --git a/content/zh/docs/v4.1/02-quickstart/01-install-kubesphere.adoc b/content/zh/docs/v4.1/02-quickstart/01-install-kubesphere.adoc index f93ad1191..78dcb3bc9 100644 --- a/content/zh/docs/v4.1/02-quickstart/01-install-kubesphere.adoc +++ b/content/zh/docs/v4.1/02-quickstart/01-install-kubesphere.adoc @@ -56,6 +56,7 @@ apt install socat conntrack -y + [,bash] ---- +# 如果无法访问 charts.kubesphere.io, 可将 charts.kubesphere.io 替换为 charts.kubesphere.com.cn helm upgrade --install -n kubesphere-system --create-namespace ks-core https://charts.kubesphere.io/main/ks-core-1.1.3.tgz --debug --wait ---- diff --git a/content/zh/docs/v4.1/20-release-notes/release-v412.md b/content/zh/docs/v4.1/20-release-notes/release-v412.md index 56dc9361e..b9831388e 100644 --- a/content/zh/docs/v4.1/20-release-notes/release-v412.md +++ b/content/zh/docs/v4.1/20-release-notes/release-v412.md @@ -11,6 +11,7 @@ weight: 44 ### 安装/升级命令 ``` +# 如果无法访问 charts.kubesphere.io, 可将 charts.kubesphere.io 替换为 charts.kubesphere.com.cn helm upgrade --install -n kubesphere-system --create-namespace ks-core https://charts.kubesphere.io/main/ks-core-1.1.3.tgz --debug --wait ```