influxdb3-enterprise
by Helm
A Helm chart for deploying InfluxDB 3 Enterprise on Kubernetes
About this chart
InfluxDB 3 Enterprise Helm Chart
Official Helm chart for deploying InfluxDB 3 Enterprise on Kubernetes with full workload isolation, high availability, and enterprise features.
Table of Contents
- Overview
- Prerequisites
- Installation
- Configuration
- Architecture
- Upgrading
- Backup and Restore
- Uninstallation
- Examples
- Troubleshooting
Overview
InfluxDB 3 Enterprise is a high-performance time series database designed for production workloads. This Helm chart deploys InfluxDB 3 Enterprise with:
- Workload Isolation: Separate nodes for ingestion, querying, compaction, and processing
- High Availability: Multiple replicas for ingesters and queriers
- Horizontal Scalability: Scale each component independently
- Enterprise Features: Processing Engine, multi-node clustering, advanced monitoring
- Production Ready: Network policies, service monitors, resource management
Prerequisites
- Kubernetes 1.26+
- Helm 3.14+
- Object storage (S3, Azure Blob Storage, or Google Cloud Storage)
- RWX PersistentVolume provisioner support when using
objectStorage.type=file - InfluxDB 3 Enterprise license (trial or commercial)
- NGINX Ingress Controller (required if using ingress, which is enabled by default)
To install NGINX Ingress Controller:
helm upgrade --install ingress-nginx ingress-nginx \
--repo https://kubernetes.github.io/ingress-nginx \
--namespace ingress-nginx --create-namespace
Optional Components
- Network Policies: CNI plugin supporting NetworkPolicy (Calico, Cilium, Weave Net)
- Monitoring: Prometheus Operator for ServiceMonitor support
Installation
Quick Start
-
Create namespace:
kubectl create namespace influxdb3 -
Configure values:
# Copy and edit values file cp values.yaml my-values.yaml # Edit my-values.yaml with your configuration -
Install the chart:
helm install influxdb3-enterprise . \ --namespace influxdb3 \ -f my-values.yaml
Minimum Required Configuration
At minimum, you must configure:
-
Object Storage (S3 example):
objectStorage: type: s3 bucket: "my-influxdb-bucket" s3: region: "us-east-1" accessKeyId: "YOUR_ACCESS_KEY" secretAccessKey: "YOUR_SECRET_KEY" -
License:
license: type: "trial" email: "[email protected]" # For commercial licenses use `file: /path/to/license` or `existingSecret` -
Ingress Host:
ingress: host: "influxdb.example.com" # Optional Flight host override (defaults to ingress.host) flight: host: ""
Commercial License
Store the license in a secret and point the chart at it.
-
Create a Kubernetes secret from the license file. The key must be
license-file:kubectl -n influxdb3 create secret generic influxdb3-license \ --from-file=license-file=/path/to/license.jwt -
Configure the chart:
license: type: commercial existingSecret: influxdb3-license
Notes:
- Secret key must be
license-file. The chart mounts that key at/etc/influxdb/license. With any other key the mount produces an empty directory and the server logsfailed to read license file from path: Is a directory (os error 21). --from-file=/path/to/license.jwtwithout thelicense-file=prefix names the key after the file and hits exactly that case.license.typemust becommercial. It defaults totrial, and a trial release reads onlylicense-emailfrom the secret and never sets the license file path.- The chart does not read a license from object storage. A message about no license found there follows a failed file read; it is not the cause.
Preconfigured Admin Token
Use this when you want the cluster to start with a known offline-generated admin token.
-
Generate an offline admin token file:
influxdb3 create token --admin --name bootstrap-admin --expiry 365d --offline --output-file admin-token.json -
Create a Kubernetes secret from that file:
kubectl -n influxdb3 create secret generic influxdb3-admin-token \ --from-file=admin-token.json=admin-token.json -
Configure the chart:
security: auth: adminToken: existingSecret: influxdb3-admin-token
Notes:
- Secret key must be
admin-token.json. - The chart mounts it at
/etc/influxdb/admin-token/admin-token.json. security.auth.adminToken.existingSecretandsecurity.auth.adminToken.fileare mutually exclusive.- If using
security.auth.adminToken.file, ensure that path exists inside the container (for example viaextraVolumes/extraVolumeMounts). security.auth.adminToken.recovery.httpBindenables an unauthenticated recovery endpoint. Use only when necessary and keep it accessible only from trusted networks.- See: https://docs.influxdata.com/influxdb3/enterprise/reference/config-options/#admin-token-recovery-http-bind
Preconfigured Permission Tokens
Use this when you want the cluster to start with known offline-generated permission tokens.
- Generate an offline permission tokens file:
influxdb3 create token \ --name "bootstrap-token" \ --permission "db:db1,db2:read,write" \ --permission "db:db3:read" \ --expiry 365d \ --offline \ --create-databases db1,db2 \ --output-file permission-tokens.json - Create a Kubernetes secret from that file:
kubectl -n influxdb3 create secret generic influxdb3-permission-tokens \ --from-file=permission-tokens.json=permission-tokens.json - Configure the chart:
security: auth: permissionTokens: existingSecret: influxdb3-permission-tokens
Notes:
- Secret key must be
permission-tokens.json. - The chart mounts it at
/etc/influxdb/permission-tokens/permission-tokens.json. security.auth.permissionTokens.existingSecretandsecurity.auth.permissionTokens.fileare mutually exclusive.- See: https://docs.influxdata.com/influxdb3/enterprise/reference/config-options/#permission-tokens-file
Configuration
Component Architecture
The chart deploys four main components:
| Component | Purpose | Default Replicas | Scalable |
|---|---|---|---|
| Ingester | Handles data writes | 2 | Horizontally |
| Querier | Processes queries | 2 | Horizontally |
| Compactor | Optimizes storage | 1 | See Distributed compaction |
| Processor | Processing Engine | 0 (disabled) | Horizontally |
Key Configuration Sections
Object Storage
Supports multiple backends:
Azure Blob Storage:
objectStorage:
type: azure
bucket: "my-container"
azure:
storageAccount: "myaccount"
accessKey: "..."
existingSecret: "" # optional: secret with storage-account/access-key
Google Cloud Storage:
objectStorage:
type: google
bucket: "my-bucket"
google:
serviceAccountJson: |
{ "type": "service_account", ... }
existingSecret: "" # optional: secret with service-account.json
AWS S3:
objectStorage:
type: s3
bucket: "my-bucket"
s3:
region: "us-east-1"
accessKeyId: "..."
secretAccessKey: "..."
sessionToken: "" # optional
credentialsFile: "" # optional
existingSecret: "" # optional: secret with access-key-id/secret-access-key
MinIO (in-cluster):
objectStorage:
type: s3
bucket: "influxdb"
s3:
endpoint: "http://minio.minio.svc.cluster.local:9000"
region: "us-east-1"
allowHttp: true
accessKeyId: "minioadmin"
secretAccessKey: "minioadmin"
existingSecret: ""
Local Filesystem (dev only):
objectStorage:
type: file
# PVC is always created for file storage
file:
dataDir: "/var/lib/influxdb3"
persistence:
accessMode: ReadWriteMany
size: 100Gi
For objectStorage.type=s3, google, or azure, the chart does not create a
data or WAL PVC. WAL files, snapshots, catalog data, and Parquet files are
persisted through the configured durable object store.
objectStorage.type=memory and memory-throttled are not supported. Each
component runs as a separate node, so in-process object storage cannot be
shared across the cluster.
For objectStorage.type=file, the chart creates one shared RWX object-storage
PVC and mounts it at objectStorage.file.dataDir for Enterprise components.
For local testing where all pods run on the same Kubernetes node, you can set
objectStorage.file.persistence.accessMode=ReadWriteOnce to use a
local-path style StorageClass.
objectStorage.cacheEndpoint is deprecated and has no effect with InfluxDB
3.11+. It is retained for compatibility with existing values and will be
removed in a future chart release.
Resource Configuration
Configure resources per component:
ingester:
resources:
requests:
cpu: "4000m"
memory: "8Gi"
limits:
cpu: "8000m"
memory: "16Gi"
numIOThreads: 12
datafusion:
numThreads: 20
Health Probes
All components share one probe configuration. The startup probe guards the initialization window; liveness and readiness start only once it succeeds.
probes:
startup:
initialDelaySeconds: 10
periodSeconds: 5
timeoutSeconds: 5
failureThreshold: 184 # 10s + (184 - 1) × 5s = 925s to termination
Nodes replay from object storage on boot, so startup scales with how much data a node reads back, and clusters with a large history have been reported to need more than 12 minutes. Two things follow from a window this wide.
helm install and helm upgrade with --wait default to a five-minute
timeout, which is shorter than the startup they are waiting for. Pass
--timeout 20m to match, or the release fails while the pods are still booting
normally.
Once the startup probe succeeds, the liveness probe takes over with a much
narrower window (3 × 10s). A node that answers /health and then blocks
during later startup work can still have its container restarted; raise
probes.liveness.failureThreshold if that happens.
This widens the window rather than shortening the startup. If nodes routinely need most of it, the boot work itself is worth investigating.
Compacted-Data Startup
Before a node serves traffic it loads compaction state, including a file index
that maps indexed column values to Parquet files. On clusters with a large
compaction history that load can dominate startup: nodes take tens of minutes to
answer /health, or run out of memory before they finish.
compactedData:
skipFileIndex: true # skip the in-memory file index
loadConcurrencyLimit: 8 # concurrent downloads while loading (server default 20)
skipFileIndex trades query-time file pruning for a bounded memory footprint at
startup. Queries stay correct and time-range pruning still applies, but
equality-predicate queries scan more files. The setting applies to the whole
node, so a compactor started with it also skips index merges for newly compacted
generations. Exempting a single component means overriding both spellings in its
extraEnv, because the ConfigMap supplies both.
loadConcurrencyLimit bounds the memory buffered by in-flight downloads; lower
it when memory is tight during startup, raise it for faster startup where there
is network headroom.
Both options predate 3.11 under their INFLUXDB3_ENTERPRISE_ names
(loadConcurrencyLimit since 3.9.8 and 3.10.3, skipFileIndex since 3.9.9 and
3.10.4), and the chart emits those alongside the 3.11 spelling, so a release
works against either. On an image older than those patch releases the variable
is simply unknown and the server ignores it without a message, so check the
running version if the option appears to have no effect.
They apply to clusters on the Parquet storage engine only. The file index is a Parquet mechanism, so once a node has fully adopted PachaTree the machinery that reads these options is never built and the server ignores them, logging that they can be removed. They stay live throughout the migration itself. In practice that means they help exactly where the problem occurs - a cluster still on Parquet, or one part-way through the upgrade - and are redundant on a cluster that has completed it.
The option is per-node and fully reversible: the index is still written to object storage during compaction, so removing the option and restarting loads it as before. The index also keeps growing while the option is on, so it buys time rather than fixing anything.
That reason is the indexing strategy rather than the node configuration. Every
table is indexed: by default on time and every tag column, from generation 2
of compaction onwards. An index outgrows memory when a table has many tags, or
tags with high cardinality, and all of them are indexed whether queries use them
or not.
The fix is to narrow the strategy, not to remove it. influxdb3 create file_index defines a custom index over a chosen subset of columns, which is
smaller than the default. Note that influxdb3 delete file_index does the
opposite of what its name suggests: it drops a custom strategy and reverts to
the default over every tag, which can be larger. Nothing in this chart governs
this; see
Manage file indexes.
Graceful Shutdown
On SIGTERM the server first finishes its background shutdown - catalog, WAL and
compaction work, plugins - and then drains active connections for up to
shutdown.timeout. kubelet sends
Deploy influxdb3-enterprise with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has influxdb3-enterprise 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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartinfluxdb3-enterprise is pinned at v0.19.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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