Run QuestDB on Kubernetes

You can deploy QuestDB in a Kubernetes cluster using a StatefulSet and a persistent volume. We distribute QuestDB via Helm on ArtifactHub.

Prerequisites#

Get the QuestDB Helm chart#

Using the Helm client, add the official Helm chart repository:

helm repo add questdb https://helm.questdb.io/

Update the Helm index:

helm repo update

Run QuestDB#

Start a local cluster using minikube:

minikube start

Then install the chart:

helm install my-questdb questdb/questdb

Finally, use the Kubernetes CLI to get the pod name:

kubectl get pods

Result:

NAMEREADYSTATUSRESTARTSAGE
my-questdb-01/1Running19m59s

Querying QuestDB locally#

In order to run queries against your local instance of QuestDB, you can use port forwarding:

kubectl port-forward my-questdb-0 9000

The following ports may also be used:

Customizing the deployment#

The QuestDB Helm chart supports a variety of configuration options. Run the following to view all of them and any preconfigured defaults:

helm show values questdb/questdb

โญ Something missing? Page not helpful? Please suggest an edit on GitHub.