influxdb

by [riftbit]

Helm chartv2.3.10App 2.0.8Verified publisher

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

NameDescriptionValue
global.imageRegistryGlobal Docker image registry""
global.imagePullSecretsGlobal Docker registry secret names as an array[]
global.storageClassGlobal storage class for dynamic provisioning""

Common parameters

NameDescriptionValue
kubeVersionForce target Kubernetes version (using Helm capabilities if not set)""
nameOverrideString to partially override influxdb.fullname template with a string (will prepend the release name)""
fullnameOverrideString to fully override influxdb.fullname template with a string""
clusterDomainDefault Kubernetes cluster domaincluster.local
commonAnnotationsAnnotations to add to all deployed objects{}
commonLabelsLabels to add to all deployed objects{}
extraDeployArray of extra objects to deploy with the release[]
diagnosticMode.enabledEnable diagnostic mode (all probes will be disabled and the command will be overridden)false
diagnosticMode.commandCommand to override all containers in the deployment["sleep"]
diagnosticMode.argsArgs to override all containers in the deployment["infinity"]

InfluxDB™ parameters

NameDescriptionValue
image.registryInfluxDB™ image registrydocker.io
image.repositoryInfluxDB™ image repositorybitnami/influxdb
image.tagInfluxDB™ image tag (immutable tags are recommended)2.0.8-debian-10-r41
image.pullPolicyInfluxDB™ image pull policyIfNotPresent
image.pullSecretsSpecify docker-registry secret names as an array[]
image.debugSpecify if debug logs should be enabledfalse
architectureInfluxDB™ architecture (standalone or high-availability)standalone
auth.enabledEnable/disable authentication (Variable to keep compatibility with InfluxDB™ v1, in v2 it will be ignored)true
auth.usePasswordFilesWhether to use files to provide secrets instead of env vars.false
auth.admin.usernameInfluxDB™ admin user nameadmin
auth.admin.passwordInfluxDB™ admin user's password""
auth.admin.tokenInfluxDB™ admin user's token. Only valid with InfluxDB™ v2""
auth.admin.orgInfluxDB™ admin user's org. Only valid with InfluxDB™ v2primary
auth.admin.bucketInfluxDB™ admin user's bucket. Only valid with InfluxDB™ v2primary
auth.createUserTokenWhether 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 reffalse
auth.user.usernameName for InfluxDB™ user with 'admin' privileges on the bucket specified at auth.user.bucket and auth.user.org or auth.admin.org""
auth.user.passwordInfluxDB™ password for user.name user""
auth.user.orgOrg to be created on first run""
auth.user.bucketBucket to be created on first run""
auth.readUser.usernameName for InfluxDB™ user with 'read' privileges on the bucket specified at auth.user.bucket""
auth.readUser.passwordInfluxDB™ password for auth.readUser.username user""
auth.writeUser.usernameName for InfluxDB™ user with 'read' privileges on the bucket specified at auth.user.bucket""
auth.writeUser.passwordInfluxDB™ password for auth.writeUser.username user""
auth.existingSecretName 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.configurationSpecify content for influxdb.conf""
influxdb.existingConfigurationName of existing ConfigMap object with the InfluxDB™ configuration (influxdb.configuration will be ignored).""
influxdb.initdbScriptsDictionary 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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartinfluxdb is pinned at v2.3.10 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