mirror of
https://github.com/kubesphere/website.git
synced 2025-12-26 00:12:48 +00:00
Update KS and K8s version in zh-files (#1447)
* Update files. Signed-off-by: adakisme <serenashe@yunify.com> * Update KS and K8s version-zh Signed-off-by: adakisme <serenashe@yunify.com> * Files modified. Signed-off-by: adakisme <serenashe@yunify.com>
This commit is contained in:
parent
f5d27220c5
commit
3274c73328
|
|
@ -30,7 +30,7 @@ weight: 4230
|
|||
|
||||
{{< notice note >}}
|
||||
|
||||
- KubeSphere 3.0.0 支持的 Kubernetes 版本:1.15.x,1.16.x,1.17.x,1.18.x。
|
||||
- 如需在 Kubernetes 上安装 KubeSphere v3.1.0,您的 Kubernetes 版本必须为:v1.17.x,v1.18.x,v1.19.x 或 v1.20.x。
|
||||
- 此示例中包括 3 个节点。您可以根据自己的需求添加更多节点,尤其是在生产环境中。
|
||||
- 机器类型 Standard/4 GB/2 vCPU 仅用于最小化安装的,如果您计划启用多个可插拔组件或将集群用于生产,建议将节点升级到规格更大的类型(例如,CPU-Optimized /8 GB /4 vCPUs)。DigitalOcean 是基于工作节点类型来配置主节点,而对于标准节点,API server 可能会很快会变得无响应。
|
||||
|
||||
|
|
|
|||
|
|
@ -84,9 +84,9 @@ aws-cli/2.1.2 Python/3.7.3 Linux/4.18.0-193.6.3.el8_2.x86_64 exe/x86_64.centos.8
|
|||
|
||||
{{< notice note >}}
|
||||
|
||||
- KubeSphere 3.0.0 支持的 Kubernetes 版本:1.15.x,1.16.x,1.17.x,1.18.x。
|
||||
- 如需在 Kubernetes 上安装 KubeSphere v3.1.0,您的 Kubernetes 版本必须为:v1.17.x,v1.18.x,v1.19.x 或 v1.20.x。
|
||||
- 此示例中包括 3 个节点。您可以根据自己的需求添加更多节点,尤其是在生产环境中。
|
||||
- t3.medium(2 个 vCPU,4GB 内存)机器类型仅用于最小化安装,如果要启用可插拔组件或集群用于生产,请选择具有更大规格的机器类型。
|
||||
- t3.medium(2 个 vCPU,4 GB 内存)机器类型仅用于最小化安装,如果要启用可插拔组件或集群用于生产,请选择具有更大规格的机器类型。
|
||||
- 对于其他设置,您也可以根据自己的需要进行更改,也可以使用默认值。
|
||||
|
||||
{{</ notice >}}
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ weight: 4240
|
|||
|
||||
{{< notice note >}}
|
||||
|
||||
- KubeSphere 3.0.0 支持的 Kubernetes 版本:1.15.x,1.16.x,1.17.x,1.18.x。
|
||||
- 如需在 Kubernetes 上安装 KubeSphere v3.1.0,您的 Kubernetes 版本必须为:v1.17.x,v1.18.x,v1.19.x 或 v1.20.x。
|
||||
- 此示例中包括3个节点,可以根据自己的需求添加更多节点,尤其是在生产环境中。
|
||||
- 最小安装的机器类型为 e2-medium(2 个 vCPU,4GB 内存)。如果要启用可插拔组件或将集群用于生产,请选择具有更高配置的机器类型。
|
||||
- 对于其他设置,可以根据自己的需要进行更改,也可以使用默认值。
|
||||
|
|
|
|||
|
|
@ -15,8 +15,8 @@ weight: 4250
|
|||
|
||||
首先按使用环境的资源需求创建 Kubernetes 集群,满足以下一些条件即可(如已有环境并满足条件可跳过本节内容):
|
||||
|
||||
- KubeSphere 3.0.0 默认支持的 Kubernetes 版本为 `1.15.x`, `1.16.x`, `1.17.x`, `1.18.x`,选择支持的版本创建集群(如 `v1.15.11`, `v1.17.9`);
|
||||
- 需要确保 Kubernetes 集群所使用的云主机的网络正常工作,可以通过在创建集群的同时**自动创建**或**使用已有**弹性 IP;或者在集群创建后自行配置网络(如配置 [NAT 网关](https://support.huaweicloud.com/natgateway/));
|
||||
- 如需在 Kubernetes 上安装 KubeSphere v3.1.0,您的 Kubernetes 版本必须为:v1.17.x,v1.18.x,v1.19.x 或 v1.20.x。
|
||||
- 需要确保 Kubernetes 集群所使用的云主机的网络正常工作,可以通过在创建集群的同时**自动创建**或**使用已有**弹性 IP;或者在集群创建后自行配置网络(如配置 [NAT 网关](https://support.huaweicloud.com/natgateway/))。
|
||||
- 工作节点规格建议选择 `s3.xlarge.2` 的 `4核|8GB` 配置,并按需扩展工作节点数量(通常生产环境需要 3 个及以上工作节点)。
|
||||
|
||||
### 创建公网 kubectl 证书
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ weight: 4260
|
|||
|
||||
{{< notice note >}}
|
||||
|
||||
- KubeSphere 3.0.0 所支持的 Kubernetes 版本:1.15.x, 1.16.x, 1.17.x, 1.18.x。
|
||||
- 如需在 Kubernetes 上安装 KubeSphere v3.1.0,您的 Kubernetes 版本必须为:v1.17.x,v1.18.x,v1.19.x 或 v1.20.x。
|
||||
- 建议您在**可见性类型**中选择**公共**,即每个节点会分配到一个公共 IP 地址,此地址之后可用于访问 KubeSphere Web 控制台。
|
||||
- 在 Oracle Cloud 中,**配置**定义了一个实例会分配到的 CPU 和内存等资源量,本示例使用 `VM.Standard.E2.2 (2 CPUs and 16G Memory)`。有关更多信息,请参见 [Standard Shapes](https://docs.cloud.oracle.com/en-us/iaas/Content/Compute/References/computeshapes.htm#vmshapes__vm-standard)。
|
||||
- 本示例包含 3 个节点,可以根据需求自行添加节点(尤其是生产环境)。
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ weight: 4120
|
|||
|
||||
您可以在虚拟机和裸机上安装 KubeSphere,并同时配置 Kubernetes。另外,只要 Kubernetes 集群满足以下前提条件,那么您也可以在云托管和本地 Kubernetes 集群上部署 KubeSphere。
|
||||
|
||||
- Kubernetes 版本:`1.15.x,1.16.x,1.17.x,1.18.x`。
|
||||
- 如需在 Kubernetes 上安装 KubeSphere v3.1.0,您的 Kubernetes 版本必须为:v1.17.x,v1.18.x,v1.19.x 或 v1.20.x。
|
||||
- 可用 CPU > 1 核;内存 > 2 G。
|
||||
- Kubernetes 集群已配置**默认** StorageClass(请使用 `kubectl get sc` 进行确认)。
|
||||
- 使用 `--cluster-signing-cert-file` 和 `--cluster-signing-key-file` 参数启动集群时,kube-apiserver 将启用 CSR 签名功能。请参见 [RKE 安装问题](https://github.com/kubesphere/kubesphere/issues/1925#issuecomment-591698309)。
|
||||
|
|
@ -21,8 +21,8 @@ weight: 4120
|
|||
|
||||
```bash
|
||||
$ kubectl version
|
||||
Client Version: version.Info{Major:"1", Minor:"15", GitVersion:"v1.15.1", GitCommit:"4485c6f18cee9a5d3c3b4e523bd27972b1b53892", GitTreeState:"clean", BuildDate:"2019-07-18T09:09:21Z", GoVersion:"go1.12.5", Compiler:"gc", Platform:"linux/amd64"}
|
||||
Server Version: version.Info{Major:"1", Minor:"15", GitVersion:"v1.15.1", GitCommit:"4485c6f18cee9a5d3c3b4e523bd27972b1b53892", GitTreeState:"clean", BuildDate:"2019-07-18T09:09:21Z", GoVersion:"go1.12.5", Compiler:"gc", Platform:"linux/amd64"}
|
||||
Client Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.8", GitCommit:"fd5d41537aee486160ad9b5356a9d82363273721", GitTreeState:"clean", BuildDate:"2021-02-17T12:41:51Z", GoVersion:"go1.15.8", Compiler:"gc", Platform:"linux/amd64"}
|
||||
Server Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.8", GitCommit:"fd5d41537aee486160ad9b5356a9d82363273721", GitTreeState:"clean", BuildDate:"2021-02-17T12:33:08Z", GoVersion:"go1.15.8", Compiler:"gc", Platform:"linux/amd64"}
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
|
|
|||
|
|
@ -89,15 +89,15 @@ curl -sfL https://get-kk.kubesphere.io | VERSION=v1.0.1 sh -
|
|||
chmod +x kk
|
||||
```
|
||||
|
||||
创建包含默认配置的示例配置文件。这里使用 Kubernetes v1.17.9 作为示例。
|
||||
创建包含默认配置的示例配置文件。这里使用 Kubernetes v1.20.4 作为示例。
|
||||
|
||||
```bash
|
||||
./kk create config --with-kubesphere v3.0.0 --with-kubernetes v1.17.9
|
||||
./kk create config --with-kubesphere v3.1.0 --with-kubernetes v1.20.4
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
||||
- 在 KubeSphere 上充分测试过的 Kubernetes 版本:v1.15.12、v1.16.13、v1.17.9(默认)以及 v1.18.6。
|
||||
- 安装 KubeSphere v3.1.0 的建议 Kubernetes 版本:v1.17.9,v1.18.8,v1.19.8 以及 v1.20.4。如果不指定 Kubernetes 版本,KubeKey 将默认安装 Kubernetes v1.19.8。有关受支持的 Kubernetes 版本的更多信息,请参见[支持矩阵](/docs/installing-on-linux/introduction/kubekey/#支持矩阵)。
|
||||
|
||||
- 如果您在这一步的命令中不添加标志 `--with-kubesphere`,则不会部署 KubeSphere,只能使用配置文件中的 `addons` 字段安装,或者在您后续使用 `./kk create cluster` 命令时再次添加这个标志。
|
||||
|
||||
|
|
|
|||
|
|
@ -308,16 +308,15 @@ curl -sfL https://get-kk.kubesphere.io | VERSION=v1.0.1 sh -
|
|||
chmod +x kk
|
||||
```
|
||||
|
||||
使用默认配置创建一个示例配置文件。此处以 Kubernetes v1.17.9 作为示例。
|
||||
使用默认配置创建一个示例配置文件。此处以 Kubernetes v1.20.4 作为示例。
|
||||
|
||||
```bash
|
||||
./kk create config --with-kubesphere v3.0.0 --with-kubernetes v1.17.9
|
||||
./kk create config --with-kubesphere v3.1.0 --with-kubernetes v1.20.4
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
||||
- 在 KubeSphere 上充分测试过的 Kubernetes 版本:v1.15.12、v1.16.13、v1.17.9(默认)和 v1.18.6。
|
||||
|
||||
- 安装 KubeSphere v3.1.0 的建议 Kubernetes 版本:v1.17.9,v1.18.8,v1.19.8 以及 v1.20.4。如果不指定 Kubernetes 版本,KubeKey 将默认安装 Kubernetes v1.19.8。有关受支持的 Kubernetes 版本的更多信息,请参见[支持矩阵](/docs/installing-on-linux/introduction/kubekey/#支持矩阵)。
|
||||
- 如果您没有在本步骤的命令中添加标志 `--with-kubesphere`,那么除非您使用配置文件中的 `addons` 字段进行安装,或者稍后使用 `./kk create cluster` 时再添加该标志,否则 KubeSphere 将不会被部署。
|
||||
- 如果您添加标志 `--with-kubesphere` 时未指定 KubeSphere 版本,则会安装最新版本的 KubeSphere。
|
||||
|
||||
|
|
|
|||
|
|
@ -211,7 +211,7 @@ chmod +x kk
|
|||
|
||||
{{< notice note >}}
|
||||
|
||||
- 您可以根据自己的需求变更下载的 Kubernetes 版本。支持的版本:v1.15.12、v1.16.13、v1.17.9(默认) 以及 v1.18.6。
|
||||
- 您可以根据自己的需求变更下载的 Kubernetes 版本。安装 KubeSphere v3.1.0 的建议 Kubernetes 版本:v1.17.9,v1.18.8,v1.19.8 以及 v1.20.4。如果不指定 Kubernetes 版本,KubeKey 将默认安装 Kubernetes v1.19.8。有关受支持的 Kubernetes 版本的更多信息,请参见[支持矩阵](/docs/installing-on-linux/introduction/kubekey/#支持矩阵)。
|
||||
|
||||
- 运行脚本后,会自动创建一个文件夹 `kubekey`。请注意,您稍后创建集群时,该文件和 `kk` 必须放在同一个目录下。
|
||||
|
||||
|
|
|
|||
|
|
@ -153,7 +153,7 @@ chmod +x kk
|
|||
|
||||
{{< notice note >}}
|
||||
|
||||
- 支持的 Kubernetes 版本:*v1.15.12*、*v1.16.13*、*v1.17.9*(默认)、*v1.18.6*。
|
||||
- 安装 KubeSphere v3.1.0 的建议 Kubernetes 版本:v1.17.9,v1.18.8,v1.19.8 以及 v1.20.4。如果不指定 Kubernetes 版本,KubeKey 将默认安装 Kubernetes v1.19.8。有关受支持的 Kubernetes 版本的更多信息,请参见[支持矩阵](/docs/installing-on-linux/introduction/kubekey/#支持矩阵)。
|
||||
|
||||
- 如果您在此步骤的命令中不添加标志 `--with-kubesphere`,则不会部署 KubeSphere,只能使用配置文件中的 `addons` 字段安装,或者在您后续使用 `./kk create cluster` 命令时再次添加这个标志。
|
||||
- 如果您添加标志 `--with-kubesphere` 时不指定 KubeSphere 版本,则会安装最新版本的 KubeSphere。
|
||||
|
|
@ -168,7 +168,7 @@ chmod +x kk
|
|||
./kk create config [-f ~/myfolder/abc.yaml]
|
||||
```
|
||||
|
||||
- 您可以指定要安装的 KubeSphere 版本(例如 `--with-kubesphere v3.0.0`)。
|
||||
- 您可以指定要安装的 KubeSphere 版本(例如 `--with-kubesphere v3.1.0`)。
|
||||
|
||||
```bash
|
||||
./kk create config --with-kubesphere [version]
|
||||
|
|
|
|||
|
|
@ -245,15 +245,15 @@ chmod +x kk
|
|||
|
||||
您可用使用 KubeKey 同时安装 Kubernetes 和 KubeSphere,通过自定义配置文件中的参数创建多节点集群。
|
||||
|
||||
创建安装有 KubeSphere 的 Kubernetes 集群(例如使用 `--with-kubesphere v3.0.0`):
|
||||
创建安装有 KubeSphere 的 Kubernetes 集群(例如使用 `--with-kubesphere v3.1.0`):
|
||||
|
||||
```bash
|
||||
./kk create config --with-kubernetes v1.17.9 --with-kubesphere v3.0.0
|
||||
./kk create config --with-kubernetes v1.20.4 --with-kubesphere v3.1.0
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
||||
- 在 KubeSphere 上充分测试过的 Kubernetes 版本:v1.15.12、v1.16.13、v1.17.9(默认)和 v1.18.6。
|
||||
- 安装 KubeSphere v3.1.0 的建议 Kubernetes 版本:v1.17.9,v1.18.8,v1.19.8 以及 v1.20.4。如果不指定 Kubernetes 版本,KubeKey 将默认安装 Kubernetes v1.19.8。有关受支持的 Kubernetes 版本的更多信息,请参见[支持矩阵](/docs/installing-on-linux/introduction/kubekey/#支持矩阵)。
|
||||
|
||||
- 如果您在这一步的命令中不添加标志 `--with-kubesphere`,则不会部署 KubeSphere,只能使用配置文件中的 `addons` 字段安装 KubeSphere,或者在您后续使用 `./kk create cluster` 命令时再次添加该标志。
|
||||
- 如果您添加标志 `--with-kubesphere` 时不指定 KubeSphere 版本,则会安装最新版本的 KubeSphere。
|
||||
|
|
|
|||
|
|
@ -90,7 +90,7 @@ yum install keepalived haproxy psmisc -y
|
|||
|
||||
### 配置 HAProxy
|
||||
|
||||
在 IP 为`10.10.71.77`与`10.10.71.66`的服务器上按如下参数配置 HAProxy (两台 lb 机器配置一致即可,注意后端服务地址)。
|
||||
在 IP 为 `10.10.71.77` 与 `10.10.71.66` 的服务器上按如下参数配置 HAProxy (两台 lb 机器配置一致即可,注意后端服务地址)。
|
||||
|
||||
```yaml
|
||||
# HAProxy Configure /etc/haproxy/haproxy.cfg
|
||||
|
|
@ -338,12 +338,12 @@ chmod +x kk
|
|||
创建配置文件(一个示例配置文件)。
|
||||
|
||||
```bash
|
||||
./kk create config --with-kubesphere v3.0.0 --with-kubernetes v1.17.9
|
||||
./kk create config --with-kubernetes v1.19.8 --with-kubesphere v3.1.0
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
||||
- 经过充分测试的 Kubernetes 版本有:v1.15.12,v1.16.13,v1.17.9(默认),v1.18.6,您可以根据需要指定版本。
|
||||
- 安装 KubeSphere v3.1.0 的建议 Kubernetes 版本:v1.17.9,v1.18.8,v1.19.8 以及 v1.20.4。如果不指定 Kubernetes 版本,KubeKey 将默认安装 Kubernetes v1.19.8。有关受支持的 Kubernetes 版本的更多信息,请参见[支持矩阵](/docs/installing-on-linux/introduction/kubekey/#支持矩阵)。
|
||||
|
||||
- 如果您在这一步的命令中不添加标志 `--with-kubesphere`,则不会部署 KubeSphere,只能使用配置文件中的 `addons` 字段安装,或者在您后续使用 `./kk create cluster` 命令时再次添加这个标志。
|
||||
|
||||
|
|
|
|||
|
|
@ -165,12 +165,12 @@ chmod +x kk
|
|||
1. 指定想要安装的 Kubernetes 版本和 KubeSphere 版本,例如:
|
||||
|
||||
```bash
|
||||
./kk create config --with-kubernetes v1.17.9 --with-kubesphere v3.0.0
|
||||
./kk create config --with-kubernetes v1.20.4 --with-kubesphere v3.1.0
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
||||
- 支持的 Kubernetes 版本:v1.15.12,v1.16.13,v1.17.9(默认),v1.18.6。
|
||||
- 安装 KubeSphere v3.1.0 的建议 Kubernetes 版本:v1.17.9,v1.18.8,v1.19.8 以及 v1.20.4。如果不指定 Kubernetes 版本,KubeKey 将默认安装 Kubernetes v1.19.8。有关受支持的 Kubernetes 版本的更多信息,请参见[支持矩阵](/docs/installing-on-linux/introduction/kubekey/#支持矩阵)。
|
||||
|
||||
- 如果您在此步骤的命令中不添加标志 `--with-kubesphere`,则不会部署 KubeSphere,只能使用配置文件中的 `addons` 字段安装,或者在您后续使用 `./kk create cluster` 命令时再次添加这个标志。
|
||||
- 如果您添加标志 `--with-kubesphere` 时不指定 KubeSphere 版本,则会安装最新版本的 KubeSphere。
|
||||
|
|
|
|||
|
|
@ -116,12 +116,12 @@ chmod +x kk
|
|||
1. 指定您想要安装的 Kubernetes 版本和 KubeSphere 版本,例如:
|
||||
|
||||
```bash
|
||||
./kk create config --with-kubernetes v1.17.9 --with-kubesphere v3.0.0
|
||||
./kk create config --with-kubernetes v1.20.4 --with-kubesphere v3.1.0
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
||||
- 支持的 Kubernetes 版本:v1.15.12,v1.16.13,v1.17.9(默认),v1.18.6。
|
||||
- 安装 KubeSphere v3.1.0 的建议 Kubernetes 版本:v1.17.9,v1.18.8,v1.19.8 以及 v1.20.4。如果不指定 Kubernetes 版本,KubeKey 将默认安装 Kubernetes v1.19.8。有关受支持的 Kubernetes 版本的更多信息,请参见[支持矩阵](/docs/installing-on-linux/introduction/kubekey/#支持矩阵)。
|
||||
|
||||
- 如果您在此步骤的命令中不添加标志 `--with-kubesphere`,则不会部署 KubeSphere,只能使用配置文件中的 `addons` 字段安装,或者在您后续使用 `./kk create cluster` 命令时再次添加这个标志。
|
||||
- 如果您添加标志 `--with-kubesphere` 时不指定 KubeSphere 版本,则会安装最新版本的 KubeSphere。
|
||||
|
|
|
|||
|
|
@ -119,12 +119,12 @@ chmod +x kk
|
|||
1. 指定您想要安装的 Kubernetes 版本和 KubeSphere 版本,例如:
|
||||
|
||||
```bash
|
||||
./kk create config --with-kubernetes v1.17.9 --with-kubesphere v3.0.0
|
||||
./kk create config --with-kubernetes v1.20.4 --with-kubesphere v3.1.0
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
||||
- 支持的 Kubernetes 版本:v1.15.12,v1.16.13,v1.17.9(默认),v1.18.6。
|
||||
- 安装 KubeSphere v3.1.0 的建议 Kubernetes 版本:v1.17.9,v1.18.8,v1.19.8 以及 v1.20.4。如果不指定 Kubernetes 版本,KubeKey 将默认安装 Kubernetes v1.19.8。有关受支持的 Kubernetes 版本的更多信息,请参见[支持矩阵](/docs/installing-on-linux/introduction/kubekey/#支持矩阵)。
|
||||
|
||||
- 如果您在此步骤的命令中不添加标志 `--with-kubesphere`,则不会部署 KubeSphere,只能使用配置文件中的 `addons` 字段安装,或者在您后续使用 `./kk create cluster` 命令时再次添加这个标志。
|
||||
- 如果您添加标志 `--with-kubesphere` 时不指定 KubeSphere 版本,则会安装最新版本的 KubeSphere。
|
||||
|
|
|
|||
|
|
@ -144,14 +144,14 @@ Make `kk` executable:
|
|||
chmod +x kk
|
||||
```
|
||||
|
||||
2. Create an example configuration file with default configurations. Here Kubernetes v1.17.9 is used as an example.
|
||||
2. Create an example configuration file with default configurations. Here Kubernetes v1.20.4 is used as an example.
|
||||
|
||||
```bash
|
||||
./kk create config --with-kubesphere v3.0.0 --with-kubernetes v1.17.9
|
||||
./kk create config --with-kubesphere v3.1.0 --with-kubernetes v1.20.4
|
||||
```
|
||||
{{< notice note >}}
|
||||
|
||||
- These Kubernetes versions have been fully tested with KubeSphere: v1.15.12, v1.16.13, v1.17.9 (default), and v1.18.6.
|
||||
- Recommended Kubernetes versions for KubeSphere v3.1.0: v1.17.9, v1.18.8, v1.19.8 and v1.20.4. If you do not specify a Kubernetes version, KubeKey will install Kubernetes v1.19.8 by default. For more information about supported Kubernetes versions, see [Support Matrix](/docs/installing-on-linux/introduction/kubekey/#support-matrix).
|
||||
|
||||
- If you do not add the flag `--with-kubesphere` in the command in this step, KubeSphere will not be deployed unless you install it using the `addons` field in the configuration file or add this flag again when you use `./kk create cluster` later.
|
||||
|
||||
|
|
|
|||
|
|
@ -167,15 +167,15 @@ curl -sfL https://get-kk.kubesphere.io | VERSION=v1.0.1 sh -
|
|||
chmod +x kk
|
||||
```
|
||||
|
||||
创建包含默认配置的示例配置文件。以下以 Kubernetes v1.17.9 为例。
|
||||
创建包含默认配置的示例配置文件。以下以 Kubernetes v1.20.4 为例。
|
||||
|
||||
```bash
|
||||
./kk create config --with-kubesphere v3.0.0 --with-kubernetes v1.17.9
|
||||
./kk create config --with-kubesphere v3.1.0 --with-kubernetes v1.20.4
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
||||
- 支持的 Kubernetes 版本:*v1.15.12*、*v1.16.13*、*v1.17.9*(默认)、*v1.18.6*。
|
||||
- 安装 KubeSphere v3.1.0 的建议 Kubernetes 版本:v1.17.9,v1.18.8,v1.19.8 以及 v1.20.4。如果不指定 Kubernetes 版本,KubeKey 将默认安装 Kubernetes v1.19.8。有关受支持的 Kubernetes 版本的更多信息,请参见[支持矩阵](/docs/installing-on-linux/introduction/kubekey/#支持矩阵)。
|
||||
|
||||
- 如果您在这一步的命令中不添加标志 `--with-kubesphere`,则不会部署 KubeSphere,只能使用配置文件中的 `addons` 字段安装,或者在您后续使用 `./kk create cluster` 命令时再次添加这个标志。
|
||||
|
||||
|
|
|
|||
|
|
@ -138,12 +138,12 @@ chmod +x kk
|
|||
若要同时安装 Kubernetes 和 KubeSphere,可参考以下示例命令:
|
||||
|
||||
```bash
|
||||
./kk create cluster --with-kubernetes v1.17.9 --with-kubesphere v3.0.0
|
||||
./kk create cluster --with-kubernetes v1.20.4 --with-kubesphere v3.1.0
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
||||
- 支持的 Kubernetes 版本:*v1.15.12*, *v1.16.13*, *v1.17.9* (默认), *v1.18.6*。
|
||||
- 安装 KubeSphere v3.1.0 的建议 Kubernetes 版本:v1.17.9,v1.18.8,v1.19.8 以及 v1.20.4。如果不指定 Kubernetes 版本,KubeKey 将默认安装 Kubernetes v1.19.8。有关受支持的 Kubernetes 版本的更多信息,请参见[支持矩阵](/docs/installing-on-linux/introduction/kubekey/#支持矩阵)。
|
||||
- 一般来说,对于 All-in-One 安装,您无需更改任何配置。
|
||||
- 如果您在这一步的命令中不添加标志 `--with-kubesphere`,则不会部署 KubeSphere,KubeKey 将只安装 Kubernetes。如果您添加标志 `--with-kubesphere` 时不指定 KubeSphere 版本,则会安装最新版本的 KubeSphere。
|
||||
- KubeKey 会默认安装 [OpenEBS](https://openebs.io/) 为开发和测试环境提供 LocalPV 以方便新用户。对于其他存储类型,请参见[持久化存储配置](../../installing-on-linux/persistent-storage-configurations/understand-persistent-storage/)。
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ weight: 2200
|
|||
|
||||
{{< notice note >}}
|
||||
|
||||
- 支持的 Kubernetes 版本:1.15.x、1.16.x、1.17.x 或 1.18.x;
|
||||
- 如需在 Kubernetes 上安装 KubeSphere v3.1.0,您的 Kubernetes 版本必须为:1.17.x、1.18.x、1.19.x 或 1.20.x;
|
||||
- 确保您的机器满足最低硬件要求:CPU > 1 核,内存 > 2 G;
|
||||
- 在安装之前,需要配置 Kubernetes 集群中的**默认**存储类型;
|
||||
- 当使用 `--cluster-signing-cert-file` 和 `--cluster-signing-key-file` 参数启动时,在 `kube-apiserver` 中会激活 CSR 签名功能。请参见 [RKE 安装问题](https://github.com/kubesphere/kubesphere/issues/1925#issuecomment-591698309);
|
||||
|
|
|
|||
|
|
@ -121,7 +121,7 @@ chmod +x kk
|
|||
|
||||
{{< notice note >}}
|
||||
|
||||
- 您可以根据自己的需求变更下载的 Kubernetes 版本。支持的版本:v1.15.12、v1.16.13、v1.17.9(默认) 以及 v1.18.6。
|
||||
- 您可以根据自己的需求变更下载的 Kubernetes 版本。安装 KubeSphere v3.1.0 的建议 Kubernetes 版本:v1.17.9,v1.18.8,v1.19.8 以及 v1.20.4。如果不指定 Kubernetes 版本,KubeKey 将默认安装 Kubernetes v1.19.8。有关受支持的 Kubernetes 版本的更多信息,请参见[支持矩阵](/docs/installing-on-linux/introduction/kubekey/#支持矩阵)。
|
||||
|
||||
- 您可以通过下载 Kubernetes v1.17.9 二进制文件将 Kubernetes 从 v1.16.13 升级到 v1.17.9。但对于跨多个版本升级,需要事先下载所有中间版本,例如您想将 Kubernetes 从 v1.15.12 升级到 v1.18.6,则需要下载 Kubernetes v1.16.13、v1.17.9 和 v1.18.6 二进制文件。
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue