Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

【doc】 add imageRegistry settings and helm install #3184

Merged
merged 1 commit into from
Sep 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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