change kubekey release version

Signed-off-by: Bettygogo2021 <91529409+Bettygogo2021@users.noreply.github.com>
This commit is contained in:
Bettygogo2021 2022-06-28 16:12:41 +08:00
parent 1a9e5c4515
commit a332e933b3
20 changed files with 28 additions and 28 deletions

View File

@ -43,9 +43,9 @@ To add a log receiver:
### Add Elasticsearch as a log receiver
A default Elasticsearch receiver will be added with its service address set to an Elasticsearch cluster if `logging`, `events`, or `auditing` is enabled in [ClusterConfiguration](https://github.com/kubesphere/kubekey/blob/release-1.2/docs/config-example.md).
A default Elasticsearch receiver will be added with its service address set to an Elasticsearch cluster if `logging`, `events`, or `auditing` is enabled in [ClusterConfiguration](https://github.com/kubesphere/kubekey/blob/release-2.2/docs/config-example.md).
An internal Elasticsearch cluster will be deployed to the Kubernetes cluster if neither `externalElasticsearchUrl` nor `externalElasticsearchPort` is specified in [ClusterConfiguration](https://github.com/kubesphere/kubekey/blob/release-1.2/docs/config-example.md) when `logging`, `events`, or `auditing` is enabled. The internal Elasticsearch cluster is for testing and development only. It is recommended that you configure an external Elasticsearch cluster for production.
An internal Elasticsearch cluster will be deployed to the Kubernetes cluster if neither `externalElasticsearchUrl` nor `externalElasticsearchPort` is specified in [ClusterConfiguration](https://github.com/kubesphere/kubekey/blob/release-2.2/docs/config-example.md) when `logging`, `events`, or `auditing` is enabled. The internal Elasticsearch cluster is for testing and development only. It is recommended that you configure an external Elasticsearch cluster for production.
Log searching relies on the internal or external Elasticsearch cluster configured.
@ -61,7 +61,7 @@ If you need to output logs to more places other than Elasticsearch or Kafka, you
## Add a Log Receiver for Resource Events or Audit Logs
Starting from KubeSphere v3.0.0, resource events and audit logs can be archived in the same way as container logs. The tab **Resource Events** or **Audit Logs** on the **Log Receivers** page will appear if `events` or `auditing` is enabled accordingly in [ClusterConfiguration](https://github.com/kubesphere/kubekey/blob/release-1.2/docs/config-example.md). You can go to the corresponding tab to configure log receivers for resource events or audit logs.
Starting from KubeSphere v3.0.0, resource events and audit logs can be archived in the same way as container logs. The tab **Resource Events** or **Audit Logs** on the **Log Receivers** page will appear if `events` or `auditing` is enabled accordingly in [ClusterConfiguration](https://github.com/kubesphere/kubekey/blob/release-2.2/docs/config-example.md). You can go to the corresponding tab to configure log receivers for resource events or audit logs.
Container logs, resource events, and audit logs should be stored in different Elasticsearch indices to be searched in KubeSphere. The index is automatically generated in <Index prefix>-<Year-month-date> format.

View File

@ -18,7 +18,7 @@ There are several scenarios to use KubeKey:
## How Does KubeKey Work
After you download KubeKey, you use an executable called `kk` to perform different operations. No matter you use it to create, scale or upgrade a cluster, you must prepare a configuration file using `kk` beforehand. This configuration file contains basic parameters of your cluster, such as host information, network configurations (CNI plugin and Pod and Service CIDR), registry mirrors, add-ons (YAML or Chart) and pluggable component options (if you install KubeSphere). For more information, see [an example configuration file](https://github.com/kubesphere/kubekey/blob/release-1.2/docs/config-example.md).
After you download KubeKey, you use an executable called `kk` to perform different operations. No matter you use it to create, scale or upgrade a cluster, you must prepare a configuration file using `kk` beforehand. This configuration file contains basic parameters of your cluster, such as host information, network configurations (CNI plugin and Pod and Service CIDR), registry mirrors, add-ons (YAML or Chart) and pluggable component options (if you install KubeSphere). For more information, see [an example configuration file](https://github.com/kubesphere/kubekey/blob/release-2.2/docs/config-example.md).
With the configuration file in place, you execute the `./kk` command with varied flags for different operations. After that, KubeKey automatically installs Docker and pulls all the necessary images for installation. When the installation is complete, you can inspect installation logs.

View File

@ -288,7 +288,7 @@ KubeKey will install [OpenEBS](https://openebs.io/) to provision [LocalPV](https
{{< notice tip >}}
- You can enable the multi-cluster feature by editing the configuration file. For more information, see [Multi-cluster Management](../../../multicluster-management/).
- You can also select the components you want to install. For more information, see [Enable Pluggable Components](../../../pluggable-components/). For an example of a complete `config-sample.yaml` file, see [this file](https://github.com/kubesphere/kubekey/blob/release-1.2/docs/config-example.md).
- You can also select the components you want to install. For more information, see [Enable Pluggable Components](../../../pluggable-components/). For an example of a complete `config-sample.yaml` file, see [this file](https://github.com/kubesphere/kubekey/blob/release-2.2/docs/config-example.md).
{{</ notice >}}

View File

@ -120,7 +120,7 @@ The below table describes the above parameters in detail.
{{< notice note >}}
- \* By default, KubeKey does not define these parameters in the configuration file while you can manually add them and customize their values.
- `addons` is used to install cloud-native add-ons (YAML or Chart). For more information, see [this file](https://github.com/kubesphere/kubekey/blob/release-1.2/docs/addons.md).
- This page only lists part of the parameters in the configuration file created by KubeKey. For more information about other parameters, see [this example file](https://github.com/kubesphere/kubekey/blob/release-1.2/docs/config-example.md).
- `addons` is used to install cloud-native add-ons (YAML or Chart). For more information, see [this file](https://github.com/kubesphere/kubekey/blob/release-2.2/docs/addons.md).
- This page only lists part of the parameters in the configuration file created by KubeKey. For more information about other parameters, see [this example file](https://github.com/kubesphere/kubekey/blob/release-2.2/docs/config-example.md).
{{</ notice >}}

View File

@ -131,7 +131,7 @@ chmod +x kk
{{< notice note >}}
For more information about each field in the configuration file, see [an example file](https://github.com/kubesphere/kubekey/blob/release-1.2/docs/config-example.md).
For more information about each field in the configuration file, see [an example file](https://github.com/kubesphere/kubekey/blob/release-2.2/docs/config-example.md).
{{</ notice >}}

View File

@ -182,7 +182,7 @@ spec:
- node000001
- node000002
```
For more information, see [this file](https://github.com/kubesphere/kubekey/blob/release-1.2/docs/config-example.md).
For more information, see [this file](https://github.com/kubesphere/kubekey/blob/release-2.2/docs/config-example.md).
### Configure the load balancer

View File

@ -221,7 +221,7 @@ spec:
- node3
```
For a complete configuration sample explanation, see [this file](https://github.com/kubesphere/kubekey/blob/release-1.2/docs/config-example.md).
For a complete configuration sample explanation, see [this file](https://github.com/kubesphere/kubekey/blob/release-2.2/docs/config-example.md).
### Step 4: Configure the load balancer

View File

@ -50,7 +50,7 @@ When you implement multi-node installation of KubeSphere on Linux, you need to c
If you adopt [All-in-one Installation](../../quick-start/all-in-one-on-linux/), you do not need to create a `config-sample.yaml` file as you can create a cluster directly. Generally, the all-in-one mode is for users who are new to KubeSphere and look to get familiar with the system. If you want to enable pluggable components in this mode (for example, for testing purpose), refer to the [following section](#enable-pluggable-components-after-installation) to see how pluggable components can be installed after installation.
{{</ notice >}}
2. In this file, enable the pluggable components you want to install by changing `false` to `true` for `enabled`. Here is [the complete file](https://github.com/kubesphere/kubekey/blob/release-1.2/docs/config-example.md) for your reference. Save the file after you finish.
2. In this file, enable the pluggable components you want to install by changing `false` to `true` for `enabled`. Here is [the complete file](https://github.com/kubesphere/kubekey/blob/release-2.2/docs/config-example.md) for your reference. Save the file after you finish.
3. Create a cluster using the configuration file:

View File

@ -188,7 +188,7 @@ Make sure the Kubernetes version is the one you downloaded.
#### Edit the configuration file
Edit the configuration file `config-sample.yaml`. Here is [an example for your reference](https://github.com/kubesphere/kubekey/blob/release-1.2/docs/config-example.md).
Edit the configuration file `config-sample.yaml`. Here is [an example for your reference](https://github.com/kubesphere/kubekey/blob/release-2.2/docs/config-example.md).
{{< notice warning >}}
@ -270,7 +270,7 @@ Make sure the Kubernetes version is the one you downloaded.
#### Edit the configuration file
Edit the configuration file `config-sample.yaml`. Here is [an example for your reference](https://github.com/kubesphere/kubekey/blob/release-1.2/docs/config-example.md).
Edit the configuration file `config-sample.yaml`. Here is [an example for your reference](https://github.com/kubesphere/kubekey/blob/release-2.2/docs/config-example.md).
{{< notice warning >}}

View File

@ -115,7 +115,7 @@ Edit `sample.yaml` based on your cluster configuration. Make sure you replace th
{{< notice note >}}
For more information, see [Edit the configuration file](../../installing-on-linux/introduction/multioverview/#2-edit-the-configuration-file) or refer to the `Cluster` section of [the complete configuration file](https://github.com/kubesphere/kubekey/blob/release-1.2/docs/config-example.md) for more information.
For more information, see [Edit the configuration file](../../installing-on-linux/introduction/multioverview/#2-edit-the-configuration-file) or refer to the `Cluster` section of [the complete configuration file](https://github.com/kubesphere/kubekey/blob/release-2.2/docs/config-example.md) for more information.
{{</ notice >}}

View File

@ -43,9 +43,9 @@ KubeSphere 提供灵活的日志接收器配置方式。基于 [FluentBit Operat
### 添加 Elasticsearch 作为日志接收器
如果 [ClusterConfiguration](https://github.com/kubesphere/kubekey/blob/release-1.2/docs/config-example.md) 中启用了 `logging`、`events` 或 `auditing`,则会添加默认的 Elasticsearch 接收器,服务地址会设为 Elasticsearch 集群。
如果 [ClusterConfiguration](https://github.com/kubesphere/kubekey/blob/release-2.2/docs/config-example.md) 中启用了 `logging`、`events` 或 `auditing`,则会添加默认的 Elasticsearch 接收器,服务地址会设为 Elasticsearch 集群。
`logging`、`events` 或 `auditing` 启用时,如果 [ClusterConfiguration](https://github.com/kubesphere/kubekey/blob/release-1.2/docs/config-example.md) 中未指定 `externalElasticsearchUrl``externalElasticsearchPort`,则内置 Elasticsearch 集群会部署至 Kubernetes 集群。内置 Elasticsearch 集群仅用于测试和开发。生产环境下,建议您集成外置 Elasticsearch 集群。
`logging`、`events` 或 `auditing` 启用时,如果 [ClusterConfiguration](https://github.com/kubesphere/kubekey/blob/release-2.2/docs/config-example.md) 中未指定 `externalElasticsearchUrl``externalElasticsearchPort`,则内置 Elasticsearch 集群会部署至 Kubernetes 集群。内置 Elasticsearch 集群仅用于测试和开发。生产环境下,建议您集成外置 Elasticsearch 集群。
日志查询需要依靠所配置的内置或外置 Elasticsearch 集群。
@ -61,7 +61,7 @@ Kafka 往往用于接收日志,并作为 Spark 等处理系统的代理 (Broke
## 为资源事件或审计日志添加日志接收器
自 KubeSphere v3.0.0 起,资源事件和审计日志可以通过和容器日志相同的方式进行存档。如果在 [ClusterConfiguration](https://github.com/kubesphere/kubekey/blob/release-1.2/docs/config-example.md) 中启用了 `events``auditing`**日志接收器**页面会对应显示**资源事件**或**审计日志**选项卡。您可以前往对应选项卡为资源事件或审计日志配置日志接收器。
自 KubeSphere v3.0.0 起,资源事件和审计日志可以通过和容器日志相同的方式进行存档。如果在 [ClusterConfiguration](https://github.com/kubesphere/kubekey/blob/release-2.2/docs/config-example.md) 中启用了 `events``auditing`**日志接收器**页面会对应显示**资源事件**或**审计日志**选项卡。您可以前往对应选项卡为资源事件或审计日志配置日志接收器。
容器日志、资源事件和审计日志应存储在不同的 Elasticsearch 索引中以便在 KubeSphere 中进行搜索。系统以`<索引前缀>-<年-月-日>`格式自动生成索引。

View File

@ -18,7 +18,7 @@ KubeKey 的几种使用场景:
## KubeKey 如何运作
下载 KubeKey 之后,您可以使用可执行文件 `kk` 来进行不同的操作。无论您是使用它来创建,扩缩还是升级集群,都必须事先使用 `kk` 准备配置文件。此配置文件包含集群的基本参数例如主机信息、网络配置CNI 插件以及 Pod 和 Service CIDR、仓库镜像、插件YAML 或 Chart和可插拔组件选项如果您安装 KubeSphere。有关更多信息请参见[示例配置文件](https://github.com/kubesphere/kubekey/blob/release-1.2/docs/config-example.md)。
下载 KubeKey 之后,您可以使用可执行文件 `kk` 来进行不同的操作。无论您是使用它来创建,扩缩还是升级集群,都必须事先使用 `kk` 准备配置文件。此配置文件包含集群的基本参数例如主机信息、网络配置CNI 插件以及 Pod 和 Service CIDR、仓库镜像、插件YAML 或 Chart和可插拔组件选项如果您安装 KubeSphere。有关更多信息请参见[示例配置文件](https://github.com/kubesphere/kubekey/blob/release-2.2/docs/config-example.md)。
准备好配置文件后,您需要使用 `./kk` 命令以及不同的标志来进行不同的操作。这之后KubeKey 会自动安装 Docker并拉取所有必要的镜像以进行安装。安装完成后您还可以检查安装日志。

View File

@ -280,7 +280,7 @@ KubeSphere 会默认安装 [OpenEBS](https://openebs.io/),为开发和测试
{{< notice tip >}}
- 您可以编辑配置文件,启用多集群功能。有关更多信息,请参见[多集群管理](../../../multicluster-management/)。
- 您也可以选择要安装的组件。有关更多信息,请参见[启用可插拔组件](../../../pluggable-components/)。有关完整的 `config-sample.yaml` 文件的示例,请参见[此文件](https://github.com/kubesphere/kubekey/blob/release-1.2/docs/config-example.md)。
- 您也可以选择要安装的组件。有关更多信息,请参见[启用可插拔组件](../../../pluggable-components/)。有关完整的 `config-sample.yaml` 文件的示例,请参见[此文件](https://github.com/kubesphere/kubekey/blob/release-2.2/docs/config-example.md)。
{{</ notice >}}

View File

@ -123,8 +123,8 @@ weight: 3160
{{< notice note >}}
- \*默认情况下KubeKey 不会在配置文件中定义这些参数,您可以手动添加这些参数并自定义其值。
- `addons` 用于安装云原生扩展 (Addon)YAML 或 Chart。有关详细信息请参阅此[文件](https://github.com/kubesphere/kubekey/blob/release-1.2/docs/addons.md)。
- 此页面仅列出 KubeKey 创建的配置文件中的部分参数。有关其他参数的详细信息,请参阅此[示例文件](https://github.com/kubesphere/kubekey/blob/release-1.2/docs/config-example.md)。
- `addons` 用于安装云原生扩展 (Addon)YAML 或 Chart。有关详细信息请参阅此[文件](https://github.com/kubesphere/kubekey/blob/release-2.2/docs/addons.md)。
- 此页面仅列出 KubeKey 创建的配置文件中的部分参数。有关其他参数的详细信息,请参阅此[示例文件](https://github.com/kubesphere/kubekey/blob/release-2.2/docs/config-example.md)。
{{</ notice >}}

View File

@ -133,7 +133,7 @@ chmod +x kk
{{< notice note >}}
有关配置文件中每个字段的更多信息,请参阅[示例文件](https://github.com/kubesphere/kubekey/blob/release-1.2/docs/config-example.md)。
有关配置文件中每个字段的更多信息,请参阅[示例文件](https://github.com/kubesphere/kubekey/blob/release-2.2/docs/config-example.md)。
{{</ notice >}}

View File

@ -186,7 +186,7 @@ spec:
- node000002
```
有关更多信息,请参阅[文件](https://github.com/kubesphere/kubekey/blob/release-1.2/docs/config-example.md)。
有关更多信息,请参阅[文件](https://github.com/kubesphere/kubekey/blob/release-2.2/docs/config-example.md)。
### 配置负载均衡器

View File

@ -222,7 +222,7 @@ spec:
- node3
```
有关完整的配置示例说明,请参见[此文件](https://github.com/kubesphere/kubekey/blob/release-1.2/docs/config-example.md)。
有关完整的配置示例说明,请参见[此文件](https://github.com/kubesphere/kubekey/blob/release-2.2/docs/config-example.md)。
### 步骤 4配置负载均衡器

View File

@ -50,7 +50,7 @@ weight: 2600
如果采用 [All-in-one 模式安装](../../quick-start/all-in-one-on-linux/),您无需创建 `config-sample.yaml` 文件,因为 all-in-one 模式可以通过一条命令直接创建集群。通常all-in-one 模式适用于刚接触 KubeSphere 并希望快速上手该系统的用户。如果要在此模式下启用可插拔组件(例如,出于测试目的),请参考[在安装后启用可插拔组件](#在安装后启用可插拔组件)。
{{</ notice >}}
2. 在此文件中,将 `enabled` 的值从 `false` 改为 `true`。这是[完整文件](https://github.com/kubesphere/kubekey/blob/release-1.2/docs/config-example.md)供您参考,修改完成后保存文件。
2. 在此文件中,将 `enabled` 的值从 `false` 改为 `true`。这是[完整文件](https://github.com/kubesphere/kubekey/blob/release-2.2/docs/config-example.md)供您参考,修改完成后保存文件。
3. 使用该配置文件创建集群:

View File

@ -188,7 +188,7 @@ chmod +x kk
#### 编辑配置文件
编辑该配置文件 `config-sample.yaml`。请查看[供您参考的示例](https://github.com/kubesphere/kubekey/blob/release-1.2/docs/config-example.md)。
编辑该配置文件 `config-sample.yaml`。请查看[供您参考的示例](https://github.com/kubesphere/kubekey/blob/release-2.2/docs/config-example.md)。
{{< notice warning >}}
@ -270,7 +270,7 @@ chmod +x kk
#### 编辑配置文件
编辑该配置文件 `config-sample.yaml`。请查看[供您参考的示例](https://github.com/kubesphere/kubekey/blob/release-1.2/docs/config-example.md)。
编辑该配置文件 `config-sample.yaml`。请查看[供您参考的示例](https://github.com/kubesphere/kubekey/blob/release-2.2/docs/config-example.md)。
{{< notice warning >}}

View File

@ -116,7 +116,7 @@ chmod +x kk
{{< notice note >}}
有关更多信息,请参见[编辑配置文件](../../installing-on-linux/introduction/multioverview/#2-编辑配置文件),或参考[完整配置文件](https://github.com/kubesphere/kubekey/blob/release-1.2/docs/config-example.md)中的 `Cluster` 部分获取更多信息。
有关更多信息,请参见[编辑配置文件](../../installing-on-linux/introduction/multioverview/#2-编辑配置文件),或参考[完整配置文件](https://github.com/kubesphere/kubekey/blob/release-2.2/docs/config-example.md)中的 `Cluster` 部分获取更多信息。
{{</ notice >}}