Skip to content

Commit

Permalink
add imageRegistry settings and helm install
Browse files Browse the repository at this point in the history
Signed-off-by: zhuxiujuan28 <562873187@qq.com>
  • Loading branch information
zhuxiujuan28 committed Sep 29, 2024
1 parent 8ad406e commit 0adc782
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,18 @@ helm upgrade --install -n kubesphere-system --create-namespace ks-core https://c
include::../../../_ks_components/admonitions/note.adoc[]


如果您访问 Docker Hub 受限,请使用如下配置,修改默认的镜像拉取地址。
如果您访问 Docker Hub 受限,请在命令后添加如下配置,修改默认的镜像拉取地址。

[,bash]
----
--set global.imageRegistry=swr.cn-southwest-2.myhuaweicloud.com/ks
----

[,bash]
----
--set extension.imageRegistry=swr.cn-southwest-2.myhuaweicloud.com/ks
----

include::../../../_ks_components/admonitions/admonEnd.adoc[]

. 安装完成后,输出信息会显示{ks_product_left} Web 控制台的 IP 地址和端口号,默认的 NodePort 是 30880。
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,13 @@ Pipeline[CreateclusterPipeline] execute successfully

KubeSphere Core (ks-core) 是{ks_product_both}的核心组件,为扩展组件提供基础的运行环境。KubeSphere Core 安装完成后,即可访问{ks_product_left} Web 控制台。

. 您需要提前link:https://helm.sh/zh/docs/intro/install/[安装 Helm]。
+
[,bash]
----
curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
----

. 在集群节点,执行以下命令安装 KubeSphere Core。
+
====
Expand All @@ -380,6 +387,23 @@ KubeSphere Core (ks-core) 是{ks_product_both}的核心组件,为扩展组件
helm upgrade --install -n kubesphere-system --create-namespace ks-core https://charts.kubesphere.io/main/ks-core-1.1.2.tgz --debug --wait
----
include::../../../../_ks_components/admonitions/note.adoc[]
如果您访问 Docker Hub 受限,请在命令后添加如下配置,修改默认的镜像拉取地址。
[,bash]
----
--set global.imageRegistry=swr.cn-southwest-2.myhuaweicloud.com/ks
----
[,bash]
----
--set extension.imageRegistry=swr.cn-southwest-2.myhuaweicloud.com/ks
----
include::../../../../_ks_components/admonitions/admonEnd.adoc[]
如果显示如下信息,则表明 ks-core 安装成功:
[,yaml]
Expand Down

0 comments on commit 0adc782

Please sign in to comment.