website/content/zh/docs/_custom/installationAndUpgrade/installationAndUpgrade-oper...
zhuxiujuan28 45d7975e2b add 4.1 docs
Signed-off-by: zhuxiujuan28 <562873187@qq.com>
2024-09-10 16:49:57 +08:00

41 lines
942 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// :ks_include_id: e25e26f73c8441e69eef35173babd610
. 如果您访问 GitHub/Googleapis 受限,请登录任意集群节点,执行以下命令设置下载区域:
+
--
// Bash
[,bash]
----
export KKZONE=cn
----
--
. 执行以下命令下载 KubeKey 最新版本:
+
--
// Bash
[,bash]
----
curl -sfL https://get-kk.kubesphere.io | sh -
----
下载完成后当前目录下将生成 KubeKey 二进制文件 **kk**。
// Note
// include::../../../_ks_components/admonitions/note.adoc[]
// 如果用于执行本节操作的集群节点无法连接互联网您可以从互联网连接正常的设备手动link:https://github.com/kubesphere/kubekey/releases[下载 KubeKey] 然后将其传输到用于执行本节操作的集群节点。
// include::../../../_ks_components/admonitions/admonEnd.adoc[]
--
. 执行以下命令为 KubeKey 二进制文件 **kk** 添加执行权限:
+
--
// Bash
[,bash]
----
sudo chmod +x kk
----
--