github.com/1aal/kubeblocks@v0.0.0-20231107070852-e1c03e598921/deploy/greptimedb/templates/NOTES.txt (about)

     1  
     2  Thanks for installing GreptimeDB with KubeBlocks!
     3  
     4  🔑 Invest in Data, Harvest over Time.
     5  
     6  Example routines to create and connect a GreptimeDB cluster using kbcli.
     7  
     8  1. Create a GreptimeDB cluster
     9  
    10  Minimal >
    11  kbcli cluster create my-cluster --cluster-definition greptimedb
    12  
    13  Replicas >
    14  helm install my-cluster ./deploy/greptimedb-cluster
    15  
    16  2. Port-forward svc to localhost and connect to GreptimeDB cluster
    17  
    18  MySQL >
    19  kubectl port-forward svc/my-cluster-frontend 4002:4002
    20  mysql -h 127.0.0.1 -P 4002
    21  
    22  PostgreSQL >
    23  kubectl port-forward svc/my-cluster-frontend 4003:4003
    24  psql -h 127.0.0.1 -p 4003