influxdb
by [riftbit]
InfluxDB™ is an open source time-series database designed to handle large write and read loads in real-time.
About this chart
InfluxDB™
InfluxDB™ is an open source time-series database designed to handle large write and read loads in real-time.
Disclaimer: The respective trademarks mentioned in the offering are owned by the respective companies. We do not provide a commercial license for any of these products. This listing has an open-source license. InfluxDB™ and InfluxDB Relay™ are run and maintained by InfluxData, which is a completely separate project from Bitnami.
TL;DR
$ helm repo add bitnami https://charts.bitnami.com/bitnami
$ helm install my-release bitnami/influxdb
Introduction
This chart bootstraps a influxdb deployment on a Kubernetes cluster using the Helm package manager.
Bitnami charts can be used with Kubeapps for deployment and management of Helm Charts in clusters.
Prerequisites
- Kubernetes 1.12+
- Helm 3.1.0
- PV provisioner support in the underlying infrastructure
- ReadWriteMany volumes for deployment scaling
Installing the Chart
To install the chart with the release name my-release:
$ helm repo add bitnami https://charts.bitnami.com/bitnami
$ helm install my-release bitnami/influxdb
These commands deploy influxdb on the Kubernetes cluster in the default configuration. The Parameters section lists the parameters that can be configured during installation.
Tip: List all releases using
helm list
Uninstalling the Chart
To uninstall/delete the my-release statefulset:
$ helm delete my-release
The command removes all the Kubernetes components associated with the chart and deletes the release. Use the option --purge to delete all history too.
Parameters
Global parameters
| Name | Description | Value |
|---|---|---|
global.imageRegistry | Global Docker image registry | "" |
global.imagePullSecrets | Global Docker registry secret names as an array | [] |
global.storageClass | Global storage class for dynamic provisioning | "" |
Common parameters
| Name | Description | Value |
|---|---|---|
kubeVersion | Force target Kubernetes version (using Helm capabilities if not set) | "" |
nameOverride | String to partially override influxdb.fullname template with a string (will prepend the release name) | "" |
fullnameOverride | String to fully override influxdb.fullname template with a string | "" |
clusterDomain | Default Kubernetes cluster domain | cluster.local |
commonAnnotations | Annotations to add to all deployed objects | {} |
commonLabels | Labels to add to all deployed objects | {} |
extraDeploy | Array of extra objects to deploy with the release | [] |
diagnosticMode.enabled | Enable diagnostic mode (all probes will be disabled and the command will be overridden) | false |
diagnosticMode.command | Command to override all containers in the deployment | ["sleep"] |
diagnosticMode.args | Args to override all containers in the deployment | ["infinity"] |
InfluxDB™ parameters
| Name | Description | Value |
|---|---|---|
image.registry | InfluxDB™ image registry | docker.io |
image.repository | InfluxDB™ image repository | bitnami/influxdb |
image.tag | InfluxDB™ image tag (immutable tags are recommended) | 2.0.8-debian-10-r41 |
image.pullPolicy | InfluxDB™ image pull policy | IfNotPresent |
image.pullSecrets | Specify docker-registry secret names as an array | [] |
image.debug | Specify if debug logs should be enabled | false |
architecture | InfluxDB™ architecture (standalone or high-availability) | standalone |
auth.enabled | Enable/disable authentication (Variable to keep compatibility with InfluxDB™ v1, in v2 it will be ignored) | true |
auth.usePasswordFiles | Whether to use files to provide secrets instead of env vars. | false |
auth.admin.username | InfluxDB™ admin user name | admin |
auth.admin.password | InfluxDB™ admin user's password | "" |
auth.admin.token | InfluxDB™ admin user's token. Only valid with InfluxDB™ v2 | "" |
auth.admin.org | InfluxDB™ admin user's org. Only valid with InfluxDB™ v2 | primary |
auth.admin.bucket | InfluxDB™ admin user's bucket. Only valid with InfluxDB™ v2 | primary |
auth.createUserToken | Whether to create tokens for the different users. Take into account these tokens are going to be created by CLI randomly and they will not be accessible from a secret. See more influxdb 2.0 auth ref | false |
auth.user.username | Name for InfluxDB™ user with 'admin' privileges on the bucket specified at auth.user.bucket and auth.user.org or auth.admin.org | "" |
auth.user.password | InfluxDB™ password for user.name user | "" |
auth.user.org | Org to be created on first run | "" |
auth.user.bucket | Bucket to be created on first run | "" |
auth.readUser.username | Name for InfluxDB™ user with 'read' privileges on the bucket specified at auth.user.bucket | "" |
auth.readUser.password | InfluxDB™ password for auth.readUser.username user | "" |
auth.writeUser.username | Name for InfluxDB™ user with 'read' privileges on the bucket specified at auth.user.bucket | "" |
auth.writeUser.password | InfluxDB™ password for auth.writeUser.username user | "" |
auth.existingSecret | Name of existing Secret object with InfluxDB™ credentials (auth.admin.password, auth.user.password, auth.readUser.password, and auth.writeUser.password will be ignored and picked up from this secret) | "" |
influxdb.configuration | Specify content for influxdb.conf | "" |
influxdb.existingConfiguration | Name of existing ConfigMap object with the InfluxDB™ configuration (influxdb.configuration will be ignored). | "" |
influxdb.initdbScripts | Dictionary of initdb scripts | {} |
| `i |
Deploy influxdb with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has influxdb 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 chartinfluxdb is pinned at v2.3.10 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