diff --git a/charts/greptimedb-cluster/Chart.yaml b/charts/greptimedb-cluster/Chart.yaml index 4de66b9..de53d79 100644 --- a/charts/greptimedb-cluster/Chart.yaml +++ b/charts/greptimedb-cluster/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: greptimedb-cluster description: A Helm chart for deploying GreptimeDB cluster in Kubernetes. type: application -version: 0.2.1 +version: 0.2.2 appVersion: 0.9.0 home: https://github.com/GreptimeTeam/greptimedb sources: diff --git a/charts/greptimedb-cluster/README.md b/charts/greptimedb-cluster/README.md index 1da568d..d68dc34 100644 --- a/charts/greptimedb-cluster/README.md +++ b/charts/greptimedb-cluster/README.md @@ -2,7 +2,7 @@ A Helm chart for deploying GreptimeDB cluster in Kubernetes. -![Version: 0.2.1](https://img.shields.io/badge/Version-0.2.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.9.0](https://img.shields.io/badge/AppVersion-0.9.0-informational?style=flat-square) +![Version: 0.2.2](https://img.shields.io/badge/Version-0.2.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.9.0](https://img.shields.io/badge/AppVersion-0.9.0-informational?style=flat-square) ## Source Code @@ -198,3 +198,7 @@ helm uninstall mycluster -n default | prometheusMonitor.enabled | bool | `false` | Create PodMonitor resource for scraping metrics using PrometheusOperator | | prometheusMonitor.interval | string | `"30s"` | Interval at which metrics should be scraped | | prometheusMonitor.labels | object | `{"release":"prometheus"}` | Add labels to the PodMonitor | +| remoteWAL | object | `{"enabled":false,"kafka":{"brokerEndpoints":[]}}` | Configure to remote wal | +| remoteWAL.enabled | bool | `false` | Enable remote wal | +| remoteWAL.kafka | object | `{"brokerEndpoints":[]}` | The remote wal type, only support kafka now. | +| remoteWAL.kafka.brokerEndpoints | list | `[]` | The kafka broker endpoints | diff --git a/charts/greptimedb-cluster/templates/cluster.yaml b/charts/greptimedb-cluster/templates/cluster.yaml index 8b8797b..0643b0e 100644 --- a/charts/greptimedb-cluster/templates/cluster.yaml +++ b/charts/greptimedb-cluster/templates/cluster.yaml @@ -298,3 +298,9 @@ spec: {{- else }} {} {{- end }} + {{- if .Values.remoteWAL.enabled }} + remoteWAL: + {{- if .Values.remoteWAL.kafka }} + kafka: {{- toYaml .Values.remoteWAL.kafka | nindent 6 }} + {{- end }} + {{- end }} diff --git a/charts/greptimedb-cluster/values.yaml b/charts/greptimedb-cluster/values.yaml index 30e99e8..c84e09c 100644 --- a/charts/greptimedb-cluster/values.yaml +++ b/charts/greptimedb-cluster/values.yaml @@ -421,3 +421,12 @@ objectStorage: # # The data directory in OSS will be: 'oss:////data/...'. # root: "mycluster" # endpoint: "oss-cn-hangzhou.aliyuncs.com" + +# -- Configure to remote wal +remoteWAL: + # -- Enable remote wal + enabled: false + # -- The remote wal type, only support kafka now. + kafka: + # -- The kafka broker endpoints + brokerEndpoints: []