Greptime Helm Charts
December 16, 2025 ยท View on GitHub
Overview
This is the repository that contains Greptime Helm charts.
Prerequisites
Getting Started
Add Chart Repository
You can add the chart repository with the following commands:
helm repo add greptime https://greptimeteam.github.io/helm-charts/
helm repo update
You can run the following command to see the charts:
helm search repo greptime
OCI Artifacts
Besides using the GitHub chart repo, you can also use OCI artifacts.
The charts are also available in ACR namespace greptime-registry.cn-hangzhou.cr.aliyuncs.com/charts.
You don't have to add a chart repository explicitly when using OCI artifacts, for example:
helm upgrade \
--install \
--create-namespace \
--set image.registry=greptime-registry.cn-hangzhou.cr.aliyuncs.com \
greptimedb-operator oci://greptime-registry.cn-hangzhou.cr.aliyuncs.com/charts/greptimedb-operator \
-n greptimedb-admin
The chart name and version will remain consistent with the GitHub chart repo.
Compatibility Matrix
For detailed compatibility information of each chart, please refer to the chart documentation.
Install the GreptimeDB Cluster
If you want to deploy the GreptimeDB cluster, you can use the following commands:
-
Deploy etcd cluster
We recommend using the Bitnami etcd chart to deploy the etcd cluster:
helm upgrade \ --install etcd oci://registry-1.docker.io/bitnamicharts/etcd \ --set replicaCount=3 \ --set auth.rbac.create=false \ --set auth.rbac.token.enabled=false \ --create-namespace \ --version 12.0.8 \ --set global.security.allowInsecureImages=true \ --set image.registry=docker.io \ --set image.repository=greptime/etcd \ --set image.tag=3.6.1-debian-12-r3 \ -n etcd-clusterYou can also use
oci://greptime-registry.cn-hangzhou.cr.aliyuncs.com/charts/etcd:11.3.4.For detailed operations (backup, restore, monitoring, defrag), refer to the etcd management guide.
-
Deploy GreptimeDB operator
The greptimedb-operator will install in the
greptimedb-adminnamespace:helm upgrade \ --install \ --create-namespace \ greptimedb-operator greptime/greptimedb-operator \ -n greptimedb-admin -
Deploy GreptimeDB cluster
Install the GreptimeDB cluster in the
defaultnamespace:-
Default installation
The default installation will use the local storage:
helm upgrade \ --install mycluster \ --set 'meta.backendStorage.etcd.endpoints[0]=etcd.etcd-cluster.svc.cluster.local:2379' \ greptime/greptimedb-cluster \ -n default -
Use AWS S3 as backend storage
Before installation, you must create the AWS S3 bucket, and the cluster will use the bucket as backend storage:
helm upgrade \ --install mycluster \ --set 'meta.backendStorage.etcd.endpoints[0]=etcd.etcd-cluster.svc.cluster.local:2379' \ --set objectStorage.s3.bucket="your-bucket" \ --set objectStorage.s3.region="region-of-bucket" \ --set objectStorage.s3.root="root-directory-of-data" \ --set objectStorage.credentials.accessKeyId="your-access-key-id" \ --set objectStorage.credentials.secretAccessKey="your-secret-access-key" \ greptime/greptimedb-cluster \ -n default
-
-
Use
kubectl port-forwardto access the GreptimeDB cluster# You can use the MySQL or PostgreSQL client to connect the cluster, for example: 'mysql -h 127.0.0.1 -P 4002'. kubectl port-forward -n default svc/mycluster-frontend 4001:4001 4002:4002 4003:4003 4000:4000If you want to expose the service to the public, you can use the
kubectl port-forwardcommand with the--addressoption:kubectl port-forward --address 0.0.0.0 svc/mycluster-frontend 4001:4001 4002:4002 4003:4003 4000:4000You can also read and write data by referring to the documentation.
Upgrade
If you want to re-deploy the service because the configurations changed, you can:
helm upgrade --install <your-release> <chart> --values <your-values-file> -n <namespace>
For example:
helm upgrade --install mycluster greptime/greptimedb-cluster --values ./values.yaml
Uninstallation
If you want to terminate the GreptimeDB cluster, you can use the following command:
helm uninstall mycluster -n default
helm uninstall etcd -n etcd-cluster
helm uninstall greptimedb-operator -n greptimedb-admin
The CRDs of GreptimeDB are not deleted by default after uninstalling greptimedb-operator unless you use --set crds.keep=false.
You can delete CRDs manually by the following commands:
kubectl delete crds greptimedbclusters.greptime.io
kubectl delete crds greptimedbstandalones.greptime.io
List of Charts
- greptimedb-operator
- greptimedb-standalone
- greptimedb-cluster
- greptimedb-remote-compaction
- greptimedb-enterprise-dashboard
Contributing
We welcome contributions! Please see CONTRIBUTING.md for guidelines.
License
helm-charts uses the Apache 2.0 license to strike a balance between open contributions and allowing you to use the software however you want.