influxdb
by KubeGems
InfluxDB(TM) is an open source time-series database designed to handle large write and read loads in real-time.
About this chart
InfluxDBTM
InfluxDBTM 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. InfluxDBTM and InfluxDB RelayTM 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
The following tables lists the configurable parameters of the InfluxDBTM chart and their default values.
| Parameter | Description | Default |
|---|---|---|
global.imageRegistry | Global Docker image registry | nil |
global.imagePullSecrets | Global Docker registry secret names as an array | [] (does not add image pull secrets to deployed pods) |
global.storageClass | Global storage class for dynamic provisioning | nil |
Common parameters
| Parameter | Description | Default |
|---|---|---|
nameOverride | String to partially override influxdb.fullname template with a string (will prepend the release name) | nil |
fullnameOverride | String to fully override influxdb.fullname template with a string | nil |
commonLabels | Labels to add to all deployed objects | {} |
commonAnnotations | Annotations to add to all deployed objects | {} |
clusterDomain | Default Kubernetes cluster domain | cluster.local |
extraDeploy | Array of extra objects to deploy with the release | [] (evaluated as a template) |
kubeVersion | Force target Kubernetes version (using Helm capabilities if not set) | nil |
networkPolicy.enabled | Enable NetworkPolicy | false |
networkPolicy.allowExternal | Don't require client label for connections | true |
persistence.enabled | Enable data persistence | true |
persistence.existingClaim | Use a existing PVC which must be created manually before bound | nil |
persistence.storageClass | Specify the storageClass used to provision the volume | nil |
persistence.accessModes | Access mode of data volume | ["ReadWriteOnce"] |
persistence.size | Size of data volume | 8Gi |
InfluxDBTM parameters
| Parameter | Description | Default |
|---|---|---|
image.registry | InfluxDBTM image registry | docker.io |
image.repository | InfluxDBTM image name | bitnami/influxdb |
image.tag | InfluxDBTM image tag | {TAG_NAME} |
image.pullPolicy | InfluxDBTM image pull policy | IfNotPresent |
image.pullSecrets | Specify docker-registry secret names as an array | [] (does not add image pull secrets to deployed pods) |
image.debug | Specify if debug logs should be enabled | false |
architecture | InfluxDBTM architecture (standalone or high-availability) | standalone |
auth.enabled | Enable/disable authentication (Variable to keep compatibility with InfluxDBTM v1, in v2 it will be ignored) | true |
auth.admin.username | InfluxDBTM admin user name | admin |
auth.admin.password | InfluxDBTM admin user's password | nil |
auth.admin.token | InfluxDBTM admin user's token. Only valid with InfluxDBTM v2 | nil |
auth.admin.org | InfluxDBTM admin user's org. Only valid with InfluxDBTM v2 | primary |
auth.admin.bucket | InfluxDBTM admin user's bucket. Only valid with InfluxDBTM v2 | primary |
auth.admin.usePasswordFile | Mount admin user's password as file instead of environment variable | false |
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 InfluxDBTM user with 'admin' privileges on the bucket specified at auth.user.bucket and auth.user.org or auth.admin.org | nil |
auth.user.password | InfluxDBTM password for user.name user | nil |
auth.user.usePasswordFile | Mount user.name user's password as file instead of environment variable | nil |
auth.user.bucket | Bucket to be created on first run | my_database |
auth.user.org | Org to be created on first run | my_database |
auth.readUser.username | Name for InfluxDBTM user with 'read' privileges on the bucket specified at auth.user.bucket | nil |
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.2.11 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