未验证 提交 dbd882ff 编写于 作者: L Linhe Huo 提交者: GitHub

Merge pull request #19626 from taosdata/fix/update-helm-chart-version

docs: update helm chart version to 3.0.2
...@@ -22,7 +22,7 @@ Helm uses the kubectl and kubeconfig configurations to perform Kubernetes operat ...@@ -22,7 +22,7 @@ Helm uses the kubectl and kubeconfig configurations to perform Kubernetes operat
To use TDengine Chart, download it from GitHub: To use TDengine Chart, download it from GitHub:
```bash ```bash
wget https://github.com/taosdata/TDengine-Operator/raw/3.0/helm/tdengine-3.0.0.tgz wget https://github.com/taosdata/TDengine-Operator/raw/3.0/helm/tdengine-3.0.2.tgz
``` ```
...@@ -38,7 +38,7 @@ With minikube, the default value is standard. ...@@ -38,7 +38,7 @@ With minikube, the default value is standard.
Use Helm commands to install TDengine: Use Helm commands to install TDengine:
```bash ```bash
helm install tdengine tdengine-3.0.0.tgz \ helm install tdengine tdengine-3.0.2.tgz \
--set storage.className=<your storage class name> --set storage.className=<your storage class name>
``` ```
...@@ -46,7 +46,7 @@ helm install tdengine tdengine-3.0.0.tgz \ ...@@ -46,7 +46,7 @@ helm install tdengine tdengine-3.0.0.tgz \
You can configure a small storage size in minikube to ensure that your deployment does not exceed your available disk space. You can configure a small storage size in minikube to ensure that your deployment does not exceed your available disk space.
```bash ```bash
helm install tdengine tdengine-3.0.0.tgz \ helm install tdengine tdengine-3.0.2.tgz \
--set storage.className=standard \ --set storage.className=standard \
--set storage.dataSize=2Gi \ --set storage.dataSize=2Gi \
--set storage.logSize=10Mi --set storage.logSize=10Mi
...@@ -83,14 +83,14 @@ You can configure custom parameters in TDengine with the `values.yaml` file. ...@@ -83,14 +83,14 @@ You can configure custom parameters in TDengine with the `values.yaml` file.
Run the `helm show values` command to see all parameters supported by TDengine Chart. Run the `helm show values` command to see all parameters supported by TDengine Chart.
```bash ```bash
helm show values tdengine-3.0.0.tgz helm show values tdengine-3.0.2.tgz
``` ```
Save the output of this command as `values.yaml`. Then you can modify this file with your desired values and use it to deploy a TDengine cluster: Save the output of this command as `values.yaml`. Then you can modify this file with your desired values and use it to deploy a TDengine cluster:
```bash ```bash
helm install tdengine tdengine-3.0.0.tgz -f values.yaml helm install tdengine tdengine-3.0.2.tgz -f values.yaml
``` ```
...@@ -107,7 +107,7 @@ image: ...@@ -107,7 +107,7 @@ image:
prefix: tdengine/tdengine prefix: tdengine/tdengine
#pullPolicy: Always #pullPolicy: Always
# Overrides the image tag whose default is the chart appVersion. # Overrides the image tag whose default is the chart appVersion.
# tag: "3.0.0.0" # tag: "3.0.2.0"
service: service:
# ClusterIP is the default service type, use NodeIP only if you know what you are doing. # ClusterIP is the default service type, use NodeIP only if you know what you are doing.
...@@ -155,15 +155,15 @@ clusterDomainSuffix: "" ...@@ -155,15 +155,15 @@ clusterDomainSuffix: ""
# See the [Configuration Variables](../../reference/config) # See the [Configuration Variables](../../reference/config)
# #
# Note: # Note:
# 1. firstEp/secondEp: should not be setted here, it's auto generated at scale-up. # 1. firstEp/secondEp: should not be set here, it's auto generated at scale-up.
# 2. serverPort: should not be setted, we'll use the default 6030 in many places. # 2. serverPort: should not be set, we'll use the default 6030 in many places.
# 3. fqdn: will be auto generated in kubenetes, user should not care about it. # 3. fqdn: will be auto generated in kubernetes, user should not care about it.
# 4. role: currently role is not supported - every node is able to be mnode and vnode. # 4. role: currently role is not supported - every node is able to be mnode and vnode.
# #
# Btw, keep quotes "" around the value like below, even the value will be number or not. # Btw, keep quotes "" around the value like below, even the value will be number or not.
taoscfg: taoscfg:
# Starts as cluster or not, must be 0 or 1. # Starts as cluster or not, must be 0 or 1.
# 0: all pods will start as a seperate TDengine server # 0: all pods will start as a separate TDengine server
# 1: pods will start as TDengine server cluster. [default] # 1: pods will start as TDengine server cluster. [default]
CLUSTER: "1" CLUSTER: "1"
......
...@@ -4,7 +4,7 @@ title: 使用 Helm 部署 TDengine 集群 ...@@ -4,7 +4,7 @@ title: 使用 Helm 部署 TDengine 集群
description: 使用 Helm 部署 TDengine 集群的详细指南 description: 使用 Helm 部署 TDengine 集群的详细指南
--- ---
Helm 是 Kubernetes 的包管理器,上一节使用 Kubernets 部署 TDengine 集群的操作已经足够简单,但 Helm 依然可以提供更强大的能力。 Helm 是 Kubernetes 的包管理器,上一节使用 Kubernetes 部署 TDengine 集群的操作已经足够简单,但 Helm 依然可以提供更强大的能力。
## 安装 Helm ## 安装 Helm
...@@ -23,7 +23,7 @@ Helm 会使用 kubectl 和 kubeconfig 的配置来操作 Kubernetes,可以参 ...@@ -23,7 +23,7 @@ Helm 会使用 kubectl 和 kubeconfig 的配置来操作 Kubernetes,可以参
TDengine Chart 尚未发布到 Helm 仓库,当前可以从 GitHub 直接下载: TDengine Chart 尚未发布到 Helm 仓库,当前可以从 GitHub 直接下载:
```bash ```bash
wget https://github.com/taosdata/TDengine-Operator/raw/3.0/helm/tdengine-3.0.0.tgz wget https://github.com/taosdata/TDengine-Operator/raw/3.0/helm/tdengine-3.0.2.tgz
``` ```
...@@ -39,7 +39,7 @@ kubectl get storageclass ...@@ -39,7 +39,7 @@ kubectl get storageclass
之后,使用 helm 命令安装: 之后,使用 helm 命令安装:
```bash ```bash
helm install tdengine tdengine-3.0.0.tgz \ helm install tdengine tdengine-3.0.2.tgz \
--set storage.className=<your storage class name> --set storage.className=<your storage class name>
``` ```
...@@ -47,7 +47,7 @@ helm install tdengine tdengine-3.0.0.tgz \ ...@@ -47,7 +47,7 @@ helm install tdengine tdengine-3.0.0.tgz \
在 minikube 环境下,可以设置一个较小的容量避免超出磁盘可用空间: 在 minikube 环境下,可以设置一个较小的容量避免超出磁盘可用空间:
```bash ```bash
helm install tdengine tdengine-3.0.0.tgz \ helm install tdengine tdengine-3.0.2.tgz \
--set storage.className=standard \ --set storage.className=standard \
--set storage.dataSize=2Gi \ --set storage.dataSize=2Gi \
--set storage.logSize=10Mi --set storage.logSize=10Mi
...@@ -84,14 +84,14 @@ TDengine 支持 `values.yaml` 自定义。 ...@@ -84,14 +84,14 @@ TDengine 支持 `values.yaml` 自定义。
通过 helm show values 可以获取 TDengine Chart 支持的全部 values 列表: 通过 helm show values 可以获取 TDengine Chart 支持的全部 values 列表:
```bash ```bash
helm show values tdengine-3.0.0.tgz helm show values tdengine-3.0.2.tgz
``` ```
你可以将结果保存为 values.yaml,之后可以修改其中的各项参数,如 replica 数量,存储类名称,容量大小,TDengine 配置等,然后使用如下命令安装 TDengine 集群: 你可以将结果保存为 values.yaml,之后可以修改其中的各项参数,如 replica 数量,存储类名称,容量大小,TDengine 配置等,然后使用如下命令安装 TDengine 集群:
```bash ```bash
helm install tdengine tdengine-3.0.0.tgz -f values.yaml helm install tdengine tdengine-3.0.2.tgz -f values.yaml
``` ```
...@@ -108,7 +108,7 @@ image: ...@@ -108,7 +108,7 @@ image:
prefix: tdengine/tdengine prefix: tdengine/tdengine
#pullPolicy: Always #pullPolicy: Always
# Overrides the image tag whose default is the chart appVersion. # Overrides the image tag whose default is the chart appVersion.
# tag: "3.0.0.0" # tag: "3.0.2.0"
service: service:
# ClusterIP is the default service type, use NodeIP only if you know what you are doing. # ClusterIP is the default service type, use NodeIP only if you know what you are doing.
...@@ -156,15 +156,15 @@ clusterDomainSuffix: "" ...@@ -156,15 +156,15 @@ clusterDomainSuffix: ""
# See the variable list at https://www.taosdata.com/cn/documentation/administrator . # See the variable list at https://www.taosdata.com/cn/documentation/administrator .
# #
# Note: # Note:
# 1. firstEp/secondEp: should not be setted here, it's auto generated at scale-up. # 1. firstEp/secondEp: should not be set here, it's auto generated at scale-up.
# 2. serverPort: should not be setted, we'll use the default 6030 in many places. # 2. serverPort: should not be set, we'll use the default 6030 in many places.
# 3. fqdn: will be auto generated in kubenetes, user should not care about it. # 3. fqdn: will be auto generated in kubernetes, user should not care about it.
# 4. role: currently role is not supported - every node is able to be mnode and vnode. # 4. role: currently role is not supported - every node is able to be mnode and vnode.
# #
# Btw, keep quotes "" around the value like below, even the value will be number or not. # Btw, keep quotes "" around the value like below, even the value will be number or not.
taoscfg: taoscfg:
# Starts as cluster or not, must be 0 or 1. # Starts as cluster or not, must be 0 or 1.
# 0: all pods will start as a seperate TDengine server # 0: all pods will start as a separate TDengine server
# 1: pods will start as TDengine server cluster. [default] # 1: pods will start as TDengine server cluster. [default]
CLUSTER: "1" CLUSTER: "1"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册