This is the repository that contains Greptime Helm charts.
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 -l --devel
If you want to deploy GreptimeDB cluster, you can use the following command:
-
Deploy GreptimeDB operator
# Deploy greptimedb-operator in new namespace. helm install gtcloud greptime/greptimedb-operator -n default --devel
-
Deploy etcd cluster
helm install mydb-etcd greptime/greptimedb-etcd -n default --devel
-
Deploy GreptimeDB cluster
helm install mydb greptime/greptimedb --set etcdEndpoints=mydb-etcd-svc.default:2379 -n default --devel
-
Use kubectl port-forward to access GreptimeDB cluster
kubectl port-forward svc/mydb-frontend 4002:4002 > connections.out &
You also can list the current releases by helm
command:
helm list --all-namespaces
If you want to terminate the GreptimeDB cluster, you can use the following command:
helm uninstall mydb
helm uninstall mydb-etcd
helm uninstall gtcloud -n greptimedb-operator-system
The CRDs of GreptimeDB are not deleted by default. You can delete them by the following command:
kubectl delete crds greptimedbclusters.greptime.io
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.