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 --devel -l
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 --version CHART_VERSION --namespace greptimedb-operator-system --create-namespace
-
Deploy GreptimeDB cluster
$ helm install mydb greptime/greptimedb --version CHART_VERSION -n default
-
Use kubectl port-forward to access GreptimeDB cluster
$ kubectl port-forward svc/mydb-frontend 3306:3306
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 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