Update telemetry guide (#1656)
* Update telemetry guide Signed-off-by: Sherlock113 <sherlockxu@yunify.com> * Update telemetry.md
|
|
@ -6,7 +6,7 @@ linkTitle: "Telemetry in KubeSphere"
|
|||
Weight: 16300
|
||||
---
|
||||
|
||||
Telemetry collects aggregate information about the size of KubeSphere clusters installed, KubeSphere and Kubernetes versions, components enabled, cluster running time, error logs, etc. KubeSphere promises that the information is only used by the KubeSphere community to improve products and will not be shared with any third parties.
|
||||
Telemetry collects aggregate information about the size of KubeSphere clusters installed, KubeSphere and Kubernetes versions, components enabled, cluster running time, error logs and so on. KubeSphere promises that the information is only used by the KubeSphere community to improve products and will not be shared with any third parties.
|
||||
|
||||
## What Information Is Collected
|
||||
|
||||
|
|
@ -29,7 +29,7 @@ Telemetry is enabled by default when you install KubeSphere, while you also have
|
|||
|
||||
### Disable Telemetry before installation
|
||||
|
||||
When you install KubeSphere on existing Kubernetes clusters, you need to download the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.0/cluster-configuration.yaml) for cluster setting. If you want to disable Telemetry, do not use `kubectl apply -f` directly for this file.
|
||||
When you install KubeSphere on an existing Kubernetes cluster, you need to download the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.0/cluster-configuration.yaml) for cluster settings. If you want to disable Telemetry, do not run `kubectl apply -f` directly for this file.
|
||||
|
||||
{{< notice note >}}
|
||||
|
||||
|
|
@ -43,21 +43,22 @@ If you install KubeSphere on Linux, see [Disable Telemetry after Installation](.
|
|||
vi cluster-configuration.yaml
|
||||
```
|
||||
|
||||
2. In this local cluster-configuration.yaml file, scroll down to the bottom of the file and add the value `telemetry_enabled: false` as follows:
|
||||
2. In this local `cluster-configuration.yaml` file, scroll down to the bottom of the file and add `telemetry_enabled: false` as follows:
|
||||
|
||||
```yaml
|
||||
openpitrix:
|
||||
enabled: false
|
||||
store:
|
||||
enabled: false
|
||||
servicemesh:
|
||||
enabled: false
|
||||
telemetry_enabled: false # Add this line here to disable Telemetry.
|
||||
telemetry_enabled: false # Add this line manually to disable Telemetry.
|
||||
```
|
||||
|
||||
3. Save the file after you finish and execute the following commands to start installation.
|
||||
3. Save the file and run the following commands to start installation.
|
||||
|
||||
```bash
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.0/kubesphere-installer.yaml
|
||||
|
||||
|
||||
kubectl apply -f cluster-configuration.yaml
|
||||
```
|
||||
|
||||
|
|
@ -73,18 +74,13 @@ If you have enabled [the multi-cluster feature](../../../multicluster-management
|
|||
|
||||
3. Enter `clusterconfiguration` in the search bar and click the result to go to its detail page.
|
||||
|
||||

|
||||
4. Click <img src="/images/docs/faq/installation/telemetry-in-kubesphere/three-dots.png" height="20px"> on the right of `ks-installer` and select **Edit YAML**.
|
||||
|
||||
4. Click the three dots on the right of `ks-installer` and select **Edit YAML**.
|
||||
5. Scroll down to the bottom of the file, add `telemetry_enabled: false`, and then click **Update**.
|
||||
|
||||

|
||||
|
||||
5. Scroll down to the bottom of the file and add the value `telemetry_enabled: false`. When you finish, click **Update**.
|
||||
|
||||

|
||||
|
||||
{{< notice note >}}
|
||||
|
||||
If you want to enable Telemetry again, you can update `ks-installer` by deleting the value `telemetry_enabled: false` or changing it to `telemetry_enabled: true`.
|
||||
If you want to enable Telemetry again, you can update `ks-installer` by deleting `telemetry_enabled: false` or changing it to `telemetry_enabled: true`.
|
||||
|
||||
{{</ notice >}}
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ Telemetry 收集已安装 KubeSphere 集群的大小、KubeSphere 和 Kubernetes
|
|||
|
||||
## 禁用 Telemetry
|
||||
|
||||
Telemetry 在安装 KubeSphere 时默认启用。同时,您也可以在安装前或安装后禁用 Telemetry。
|
||||
在安装 KubeSphere 时 Telemetry 默认启用。同时,您也可以在安装前或安装后禁用 Telemetry。
|
||||
|
||||
### 安装前禁用 Telemetry
|
||||
|
||||
|
|
@ -37,7 +37,7 @@ Telemetry 在安装 KubeSphere 时默认启用。同时,您也可以在安装
|
|||
|
||||
{{</ notice >}}
|
||||
|
||||
1. 下载 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.0/cluster-configuration.yaml) 文件并打开编辑。
|
||||
1. 下载 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.0/cluster-configuration.yaml) 文件并编辑。
|
||||
|
||||
```bash
|
||||
vi cluster-configuration.yaml
|
||||
|
|
@ -47,13 +47,14 @@ Telemetry 在安装 KubeSphere 时默认启用。同时,您也可以在安装
|
|||
|
||||
```yaml
|
||||
openpitrix:
|
||||
enabled: false
|
||||
store:
|
||||
enabled: false
|
||||
servicemesh:
|
||||
enabled: false
|
||||
telemetry_enabled: false # Add this line here to disable Telemetry.
|
||||
telemetry_enabled: false # 请手动添加此行以禁用 Telemetry。
|
||||
```
|
||||
|
||||
3. 保存文件并执行如下命令开始安装:
|
||||
3. 保存文件并执行以下命令开始安装:
|
||||
|
||||
```bash
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.0/kubesphere-installer.yaml
|
||||
|
|
@ -73,15 +74,10 @@ Telemetry 在安装 KubeSphere 时默认启用。同时,您也可以在安装
|
|||
|
||||
3. 在搜索框中输入 `clusterconfiguration`,点击搜索结果打开详情页。
|
||||
|
||||

|
||||
|
||||
4. 点击 `ks-installer` 右边的三个点,并选择**编辑配置文件**。
|
||||
|
||||

|
||||
4. 点击 `ks-installer` 右侧的 <img src="/images/docs/zh-cn/faq/installation/telemetry-in-kubesphere/three-dots.png" height="20px">,并选择**编辑配置文件**。
|
||||
|
||||
5. 在文件末尾添加 `telemetry_enabled: false` 字段,点击**更新**。
|
||||
|
||||

|
||||
|
||||
{{< notice note >}}
|
||||
|
||||
|
|
|
|||
|
After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 80 KiB |
|
Before Width: | Height: | Size: 85 KiB |
|
Before Width: | Height: | Size: 87 KiB |
|
After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 144 KiB |
|
Before Width: | Height: | Size: 112 KiB |
|
Before Width: | Height: | Size: 147 KiB |