Skip to content

liyp/greptime-helm-charts

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Greptime Helm Charts

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 -l --devel

Install the greptimedb chart

If you want to deploy GreptimeDB cluster, you can use the following command:

  1. Deploy GreptimeDB operator

    # Deploy greptimedb-operator in new namespace.
    helm install gtcloud greptime/greptimedb-operator -n default --devel
  2. Deploy etcd cluster

    helm install mydb-etcd greptime/greptimedb-etcd -n default --devel
  3. Deploy GreptimeDB cluster

    helm install mydb greptime/greptimedb --set etcdEndpoints=mydb-etcd-svc.default:2379 -n default --devel
  4. 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

List of Charts

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.