Skip to content
QuestDB icon
v1.2.2App: v10.2.0Pinned DigestS3 Backup Ready

Production Helm chart • Apache-2.0 • Zero-Root • Verified on Kubernetes v1.33-v1.36+

QuestDB Helm chart

QuestDB is a high-performance open-source database for time-series and real-time analytics. This chart deploys one hardened QuestDB OSS instance with durable storage, secure generated credentials, External Secrets support, network isolation and optional Prometheus integration.

Features and architecture

  • fixed one-replica StatefulSet matching the QuestDB OSS single-node model;
  • retained persistent storage for the complete /var/lib/questdb root;
  • generated, existing, or External Secrets-managed protocol credentials;
  • HTTP, PostgreSQL wire, optional legacy ILP TCP, and internal metrics Services;
  • optional TLS-terminated Ingress, Gateway API HTTPRoute, and ServiceMonitor;
  • per-protocol NetworkPolicy and a restricted, non-root security context.

See DESIGN.md for the Mermaid topology, ownership boundaries, and intentional limitations.

Install

helm install questdb oci://ghcr.io/helmforgedev/charts/questdb \
  --namespace questdb --create-namespace

The default installation creates and retains random PostgreSQL and HTTP passwords. Read the HTTP password with:

kubectl get secret -n questdb questdb-questdb \
  -o jsonpath='{.data.http-password}' | base64 -d

Port-forward the authenticated Web Console and API:

kubectl port-forward -n questdb service/questdb-questdb 9000:9000

Open http://localhost:9000 and authenticate as admin with the generated HTTP password.

Configuration

Keep persistence.enabled=true for durable installations. Use persistence.existingClaim to attach a pre-provisioned or restored volume, and keep questdb.existingSecret, pgPasswordKey, and httpPasswordKey stable across upgrades. questdb.serverConfig accepts documented QuestDB properties; secret values belong in a Secret and questdb.envFrom, not plain values.

The chart distinguishes protocol exposure from application listeners: service.pgWireEnabled and service.ilpTcpEnabled control Service ports while QuestDB continues to own its internal protocol configuration. Review Configuration for all supported value groups.

Examples

Security Scan

Security scan results use the same Kubescape policy set as HelmForge CI.

Security Scan: questdb

Framework Score
MITRE 100.00%
NSA 100.00%
SOC 2 100.00%
Aggregate resource score 100.00%

Kubescape reported zero failed resources at critical, high, medium or low severity for the default rendered workload.

Production contract

  • QuestDB OSS is singleton software. This chart always deploys one replica and does not claim HA, replication or automated failover.
  • The official image is pinned by tag and multi-architecture OCI digest.
  • /var/lib/questdb is persistent and the chart-created PVC is retained.
  • NFS and distributed filesystems are unsupported for QuestDB database storage.
  • Native transport TLS is unavailable in OSS. Keep services internal or add TLS termination through Ingress, Gateway API or a service mesh.
  • Production capacity planning starts at 4 CPU and 8Gi memory and requires fast storage sized for workload-specific IOPS.

Credentials

Use an existing Secret with keys pg-password and http-password:

questdb:
  existingSecret: questdb-auth

External Secrets Operator uses the canonical HelmForge items[].spec contract; see examples/external-secrets.yaml.

Protocols

Interface Port Default Notes
HTTP, REST, Web Console, ILP HTTP, QWP 9000 enabled Preferred ingestion path
PostgreSQL wire 8812 enabled OSS transport has no native TLS
Legacy ILP TCP 9009 disabled Enable with service.ilpTcpEnabled
Health and metrics 9003 internal /status; /metrics when enabled

Observability

metrics:
  enabled: true
  serviceMonitor:
    enabled: true
networkPolicy:
  metricsFrom:
    - namespaceSelector:
        matchLabels:
          kubernetes.io/metadata.name: monitoring

When NetworkPolicy is enabled, metricsFrom is required with a ServiceMonitor so the Prometheus namespace can reach port 9003.

Backup and restore

For a consistent OSS backup, execute CHECKPOINT CREATE, copy or snapshot the volume, and then execute CHECKPOINT RELEASE. Restore into the same QuestDB major version, verify the copy, and test upgrades separately. Raw live-volume snapshots are not claimed to be consistent.

Upgrade safety

Back up and verify the retained database before upgrading. Pin the target chart version explicitly, review rendered changes, and preserve the PVC, authentication Secret contract, UID/GID, and protocol settings. Use --reuse-values only when you have audited old overrides against current defaults; with --reset-values, restate every non-default persistence, Secret, storage, and exposure setting.

Never replace a retained PVC or generated Secret merely to complete an upgrade. Restore and test in an isolated namespace before combining a chart upgrade with a QuestDB major-version or storage migration.

Troubleshooting

Inspect the StatefulSet rollout, Pod events, and QuestDB logs first. If the Pod cannot mount the database, confirm that the selected PVC contains the complete /var/lib/questdb tree and is writable by UID/GID 10001. Authentication errors usually indicate a changed Secret name or key contract. For connectivity issues, verify the relevant Service port and matching NetworkPolicy peer list; HTTP health on port 9003 does not prove PostgreSQL or ILP reachability.

Documentation

Uninstall

helm uninstall questdb --namespace questdb

The default PVC and generated Secret remain because both contain recovery material. Delete them only after verifying a backup and confirming data loss is intended.

System Architecture

DESIGN.md Synced

Verified architecture contract rendered dynamically from GitHub DESIGN.md

flowchart LR
  Clients[HTTP and PostgreSQL clients] --> Service[Client Service]
  Ingress[Ingress or HTTPRoute] --> Service
  Service --> Pod[QuestDB StatefulSet Pod]
  Prometheus[Prometheus] -. optional scrape .-> Metrics[Metrics Service]
  Metrics --> Pod
  Pod --> Data[(Retained QuestDB PVC)]
  Secret[Generated or existing Secret] --> Pod
Official Contractvalues.schema.json

QuestDB Values Schema Reference

Official schema parameters, default values, and types extracted directly from the chart repository.

108 parametersValues Studio

Global(1)

ParameterTypeDefaultDescription
globalobject-Global settings shared by the chart.

Name Override(1)

ParameterTypeDefaultDescription
nameOverridestring-Chart configuration parameter

Fullname Override(1)

ParameterTypeDefaultDescription
fullnameOverridestring-Chart configuration parameter

Common Labels(1)

ParameterTypeDefaultDescription
commonLabelsobject-Chart configuration parameter

Common Annotations(1)

ParameterTypeDefaultDescription
commonAnnotationsobject-Common annotations added to all resources

Annotations(1)

ParameterTypeDefaultDescription
annotationsobject-StatefulSet annotations

Image(3)

ParameterTypeDefaultDescription
image.repositoryanydocker.io/questdb/questdbChart configuration parameter
image.tagstring-Chart configuration parameter
image.pullPolicyselect-Chart configuration parameter
Allowed:AlwaysIfNotPresentNever

Image Pull Secrets(1)

ParameterTypeDefaultDescription
imagePullSecretsarray-Chart configuration parameter

Questdb(8)

ParameterTypeDefaultDescription
questdb.pgUserstring-Chart configuration parameter
questdb.httpUserstring-Chart configuration parameter
questdb.existingSecretstring-Chart configuration parameter
questdb.pgPasswordKeystring-Chart configuration parameter
questdb.httpPasswordKeystring-Chart configuration parameter
questdb.serverConfigobject-Chart configuration parameter
questdb.extraEnvarray-Chart configuration parameter
questdb.envFromarray-Chart configuration parameter

Persistence(7)

ParameterTypeDefaultDescription
persistence.enabledboolean-Chart configuration parameter
persistence.existingClaimstring-Chart configuration parameter
persistence.storageClassstring-Chart configuration parameter
persistence.accessModesarray-Chart configuration parameter
persistence.sizestring-Chart configuration parameter
persistence.retainboolean-Chart configuration parameter
persistence.annotationsobject-Chart configuration parameter

Service Account(4)

ParameterTypeDefaultDescription
serviceAccount.createboolean-Chart configuration parameter
serviceAccount.namestring-Chart configuration parameter
serviceAccount.annotationsobject-Chart configuration parameter
serviceAccount.automountServiceAccountTokenboolean-Chart configuration parameter

Service & Networking(6)

ParameterTypeDefaultDescription
service.typeselect-Chart configuration parameter
Allowed:ClusterIPNodePortLoadBalancer
service.annotationsobject-Chart configuration parameter
service.pgWireEnabledboolean-Chart configuration parameter
service.ilpTcpEnabledboolean-Chart configuration parameter
service.ipFamilyPolicystring-Chart configuration parameter
service.ipFamiliesarray-Chart configuration parameter

Metrics & Observability(6)

ParameterTypeDefaultDescription
metrics.enabledboolean-Chart configuration parameter
metrics.annotationsobject-Chart configuration parameter
metrics.serviceMonitor.enabledboolean-Chart configuration parameter
metrics.serviceMonitor.intervalstring-Chart configuration parameter
metrics.serviceMonitor.scrapeTimeoutstring-Chart configuration parameter
metrics.serviceMonitor.labelsobject-Chart configuration parameter

Ingress(5)

ParameterTypeDefaultDescription
ingress.enabledboolean-Chart configuration parameter
ingress.ingressClassNamestring-Chart configuration parameter
ingress.annotationsobject-Chart configuration parameter
ingress.hostsarray-Chart configuration parameter
ingress.tlsarray-Chart configuration parameter

Gateway API(2)

ParameterTypeDefaultDescription
gatewayAPI.enabledboolean-Chart configuration parameter
gatewayAPI.httpRoutesarray-Chart configuration parameter

External Secrets(3)

ParameterTypeDefaultDescription
externalSecrets.enabledboolean-Chart configuration parameter
externalSecrets.refreshIntervalstring-Chart configuration parameter
externalSecrets.itemsarray-Chart configuration parameter

Health Probes(15)

ParameterTypeDefaultDescription
probes.startup.enabledboolean-Chart configuration parameter
probes.startup.initialDelaySecondsinteger-Chart configuration parameter
probes.startup.periodSecondsinteger-Chart configuration parameter
probes.startup.timeoutSecondsinteger-Chart configuration parameter
probes.startup.failureThresholdinteger-Chart configuration parameter
probes.liveness.enabledboolean-Chart configuration parameter
probes.liveness.initialDelaySecondsinteger-Chart configuration parameter
probes.liveness.periodSecondsinteger-Chart configuration parameter
probes.liveness.timeoutSecondsinteger-Chart configuration parameter
probes.liveness.failureThresholdinteger-Chart configuration parameter
probes.readiness.enabledboolean-Chart configuration parameter
probes.readiness.initialDelaySecondsinteger-Chart configuration parameter
probes.readiness.periodSecondsinteger-Chart configuration parameter
probes.readiness.timeoutSecondsinteger-Chart configuration parameter
probes.readiness.failureThresholdinteger-Chart configuration parameter

Resources(4)

ParameterTypeDefaultDescription
resources.requests.cpustringnumber-Chart configuration parameter
resources.requests.memorystringnumber-Chart configuration parameter
resources.limits.cpustringnumber-Chart configuration parameter
resources.limits.memorystringnumber-Chart configuration parameter

Pod Security(7)

ParameterTypeDefaultDescription
podSecurityContext.runAsNonRootboolean-Chart configuration parameter
podSecurityContext.runAsUserinteger-Chart configuration parameter
podSecurityContext.runAsGroupinteger-Chart configuration parameter
podSecurityContext.fsGroupinteger-Chart configuration parameter
podSecurityContext.fsGroupChangePolicystring-Chart configuration parameter
podSecurityContext.seccompProfile.typestring-Chart configuration parameter
podSecurityContext.seccompProfile.localhostProfilestring-Chart configuration parameter

Container Security(7)

ParameterTypeDefaultDescription
securityContext.allowPrivilegeEscalationboolean-Chart configuration parameter
securityContext.readOnlyRootFilesystemboolean-Chart configuration parameter
securityContext.runAsNonRootboolean-Chart configuration parameter
securityContext.runAsUserinteger-Chart configuration parameter
securityContext.runAsGroupinteger-Chart configuration parameter
securityContext.capabilities.addarray-Chart configuration parameter
securityContext.capabilities.droparray-Chart configuration parameter

Update Strategy(2)

ParameterTypeDefaultDescription
updateStrategy.typestring-Chart configuration parameter
updateStrategy.rollingUpdateobject-Chart configuration parameter

Pod Annotations(1)

ParameterTypeDefaultDescription
podAnnotationsobject-Chart configuration parameter

Pod Labels(1)

ParameterTypeDefaultDescription
podLabelsobject-Chart configuration parameter

Priority Class Name(1)

ParameterTypeDefaultDescription
priorityClassNamestring-Chart configuration parameter

Termination Grace Period Seconds(1)

ParameterTypeDefaultDescription
terminationGracePeriodSecondsinteger-Chart configuration parameter

Node Selector(1)

ParameterTypeDefaultDescription
nodeSelectorobject-Chart configuration parameter

Tolerations(1)

ParameterTypeDefaultDescription
tolerationsarray-Chart configuration parameter

Affinity(1)

ParameterTypeDefaultDescription
affinityobject-Chart configuration parameter

Topology Spread Constraints(1)

ParameterTypeDefaultDescription
topologySpreadConstraintsarray-Chart configuration parameter

Pod Disruption Budget(2)

ParameterTypeDefaultDescription
podDisruptionBudget.enabledboolean-Chart configuration parameter
podDisruptionBudget.minAvailableany-Chart configuration parameter

Network Policy(7)

ParameterTypeDefaultDescription
networkPolicy.enabledboolean-Chart configuration parameter
networkPolicy.httpFromarray-Chart configuration parameter
networkPolicy.pgWireFromarray-Chart configuration parameter
networkPolicy.ilpTcpFromarray-Chart configuration parameter
networkPolicy.metricsFromarray-Chart configuration parameter
networkPolicy.allowDNSboolean-Chart configuration parameter
networkPolicy.extraEgressarray-Chart configuration parameter

Extra Volumes(1)

ParameterTypeDefaultDescription
extraVolumesarray-Chart configuration parameter

Extra Volume Mounts(1)

ParameterTypeDefaultDescription
extraVolumeMountsarray-Chart configuration parameter

Extra Containers(1)

ParameterTypeDefaultDescription
extraContainersarray-Chart configuration parameter

Extra Init Containers(1)

ParameterTypeDefaultDescription
extraInitContainersarray-Chart configuration parameter

Extra Manifests(1)

ParameterTypeDefaultDescription
extraManifestsarray-Chart configuration parameter