influxdb3-core

by Helm

Helm chartv0.1.1App 3.10.5

A Helm chart for deploying InfluxDB 3 Core on Kubernetes

About this chart

InfluxDB 3 Core Helm Chart

This chart deploys one InfluxDB 3 Core node as a Kubernetes StatefulSet. InfluxDB 3 Core is single-node; use InfluxDB 3 Enterprise when you need high availability or read replicas.

Prerequisites

  • Kubernetes 1.23+
  • Helm 3.8+
  • A PersistentVolume provisioner when using the file object store
  • An ingress controller when ingress is enabled
  • Prometheus Operator when serviceMonitor.enabled=true

Installation

Add the InfluxData Helm repository:

helm repo add influxdata https://helm.influxdata.com/
helm repo update

Install after configuring an S3 bucket and credentials:

helm install core influxdata/influxdb3-core -f my-values.yaml

S3 is the default and recommended object store for production. Azure Blob Storage, Google Cloud Storage, and S3-compatible storage are also supported. The file object store is intended for development and testing.

helm install core ./charts/influxdb3-core \
  --set objectStorage.type=file \
  --set objectStorage.file.persistence.size=100Gi \
  --set objectStorage.file.persistence.storageClass=standard

Access with port-forwarding

kubectl port-forward svc/core-influxdb3-core 8181:8181
export INFLUXDB3_HOST_URL=http://localhost:8181

Create the first admin token:

kubectl exec -it core-influxdb3-core-0 -- influxdb3 create token --admin

Remote object storage

For s3, google, and azure, the chart does not create a data PVC. InfluxDB stores its Parquet, catalog, and WAL files in the configured object store. Credentials, TLS certificates, and admin token files may still use Kubernetes Secrets and volumes.

S3 or MinIO

Create a Secret containing access-key-id and secret-access-key:

kubectl create secret generic influxdb3-s3 \
  --from-literal=access-key-id=ACCESS_KEY \
  --from-literal=secret-access-key=SECRET_KEY
objectStorage:
  type: s3
  bucket: influxdb3
  s3:
    region: us-east-1
    endpoint: http://minio.minio.svc.cluster.local:9000
    allowHttp: true
    existingSecret: influxdb3-s3

Authentication

Authentication is enabled by default. To bootstrap an offline admin token, generate the token file before installation:

influxdb3 create token --admin \
  --name bootstrap-admin \
  --expiry 365d \
  --offline \
  --output-file admin-token.json

Restrict access to the file, then create a Secret:

chmod 600 admin-token.json
kubectl create secret generic influxdb3-admin-token \
  --from-file=admin-token.json=./admin-token.json
security:
  auth:
    adminToken:
      existingSecret: influxdb3-admin-token

Alternatively, set security.auth.adminToken.file when another mechanism mounts the token file. The chart intentionally does not accept a raw admin token value.

TLS

Use an existing TLS Secret:

security:
  tls:
    enabled: true
    existingSecret: influxdb3-tls

The Secret must contain tls.crt and tls.key.

Ingress

HTTP and Flight/gRPC use separate Ingress resources so gRPC-specific annotations do not affect HTTP routes:

ingress:
  enabled: true
  host: influxdb.example.com
  className: nginx
  http:
    annotations:
      nginx.ingress.kubernetes.io/proxy-body-size: 100m
  flight:
    annotations:
      nginx.ingress.kubernetes.io/backend-protocol: GRPC

Flight SQL requires an ingress controller configured for HTTP/2. Set ingress.flight.host to use a separate Flight hostname.

The default shared-host configuration targets ingress-nginx. Other ingress controllers may not merge separate HTTP and gRPC Ingress resources for the same host. Use ingress.flight.host or controller-specific routing configuration when required.

Monitoring

Set serviceMonitor.enabled=true to create a Prometheus Operator ServiceMonitor for /metrics. When authentication is enabled, also add metrics to security.auth.disableAuthz:

security:
  auth:
    disableAuthz:
      - health
      - metrics

serviceMonitor:
  enabled: true

The chart rejects an authenticated ServiceMonitor configuration that leaves /metrics protected because the generated ServiceMonitor has no token.

When backend TLS is enabled, the ServiceMonitor uses HTTPS. Configure serviceMonitor.tlsConfig if Prometheus needs custom TLS settings.

Processing Engine

The InfluxDB 3 Core image enables the Processing Engine with INFLUXDB3_PLUGIN_DIR=/plugins. Enable persistent storage for that directory when plugins and installed packages must survive pod replacement:

processingEngine:
  pluginDir: /plugins
  persistence:
    enabled: true
    storageClass: ""
    size: 5Gi
    accessMode: ReadWriteOnce

By default, plugin files and installed packages are ephemeral unless extraVolumeMounts provides storage at pluginDir.

Optional settings include processingEngine.pluginRepo, processingEngine.virtualEnvLocation, and processingEngine.packageManager.

Install Python package dependencies after the pod is running:

kubectl exec -it POD_NAME -- \
  influxdb3 install package \
    --plugin-dir /plugins \
    --token AUTH_TOKEN \
    pandas

Replace POD_NAME with the InfluxDB pod name and AUTH_TOKEN with an admin token. Omit --token AUTH_TOKEN when authentication is disabled.

For programmatic installation or CI/CD workflows, use the package installation HTTP API. The chart does not install packages automatically.

Configuration

Values under wal, logs, telemetry, datafusion, memory, caching, and dataLifecycle map to the documented InfluxDB 3 Core environment variables. Use extraEnv, extraVolumes, and extraVolumeMounts for options not exposed directly by the chart.

StatefulSet updates use RollingUpdate by default. Set updateStrategy.type=OnDelete when pod replacement must be controlled manually. Core remains a single-replica deployment with either strategy.

Upgrading

helm repo update
helm upgrade core influxdata/influxdb3-core -f my-values.yaml

The single Core pod is unavailable while it restarts.

Uninstallation

helm uninstall core

For the file object store, Helm does not delete the StatefulSet PVC. Delete it only when its data is no longer needed:

kubectl delete pvc -l app.kubernetes.io/instance=core

Remote object-store data is not deleted by uninstalling the chart.

Key parameters

ParameterDescriptionDefault
image.tagImage tag override"" (<appVersion>-core)
objectStorage.typefile, memory, memory-throttled, s3, google, or azures3
objectStorage.file.persistence.sizeLocal file-store PVC size100Gi
security.auth.disabledStart without authenticationfalse
security.auth.disableAuthzEndpoints that bypass authorization[health]
security.tls.enabledEnable backend TLSfalse
processingEngine.persistence.enabledCreate a plugin PVCfalse
processingEngine.persistence.sizePlugin PVC size5Gi
ingress.enabledCreate HTTP and Flight ingressesfalse
serviceMonitor.enabledCreate a Prometheus Operator ServiceMonitorfalse
serviceMonitor.tlsConfigPrometheus Operator TLS settings for metrics scraping{}
serviceAccount.automountServiceAccountTokenConfigure automatic mounting of the Kubernetes service account token in the pod and the created ServiceAccountnot set
updateStrategy.typeStatefulSet update strategyRollingUpdate

See values.yaml for the complete parameter list.

See the official documentation:

Deploy influxdb3-core with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has influxdb3-core on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartinfluxdb3-core is pinned at v0.1.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply