influxdb
Bitnami Helm chart for InfluxDB(TM)
1M+
InfluxDB™ Core is an open source time-series database. It is a core component of the FDAP (Apache Flight, DataFusion, Arrow, and Parquet) stack.
Overview of InfluxDB™ InfluxDB™ Core
InfluxDB™ is a trademark owned by InfluxData, which is not affiliated with, and does not endorse, this site.
helm install my-release oci://REGISTRY_NAME/REPOSITORY_NAME/influxdb
Note: You need to substitute the placeholders
REGISTRY_NAMEandREPOSITORY_NAMEwith a reference to your Helm chart registry and repository.
This chart bootstraps a influxdb deployment on a Kubernetes cluster using the Helm package manager.
To install the chart with the release name my-release:
helm install my-release oci://REGISTRY_NAME/REPOSITORY_NAME/influxdb
Note: You need to substitute the placeholders
REGISTRY_NAMEandREPOSITORY_NAMEwith a reference to your Helm chart registry and repository. For example, in the case of Bitnami, you need to useREGISTRY_NAME=registry-1.docker.ioandREPOSITORY_NAME=bitnamicharts.
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
This section describes credentials, configuration, and other installation options.
This chart installs a deployment with the following configuration:
------------------
| Ingress |
| Controller |
------------------
|
| /query
| /write
\/
----------------
| InfluxDB(TM) |
| svc |
----------------
|
\/
--------------
| InfluxDB(TM) |
| Server |
| Pod |
--------------
httpRoute.enabled=true to expose InfluxDB™ Core through HTTPRoute.ingress.enabled=true to expose InfluxDB™ Core through Ingress.service.type=ClusterIP to choose this service type.NodeIP:NodePort. Set service.type=NodePort to choose this service type.service.type=LoadBalancer to choose this service type.InfluxDB™ Core supports different storage systems to store Parquet files (refer to upstream documentation for more information about the supported object stores) that we can divide into three categories:
This chart allows you to configure the object store using the objectStore parameter. If you're using a Cloud storage, there are additional parameters to configure such as the Cloud specific credentials or the bucket name.
Bitnami charts allow setting resource requests and limits for all containers inside the chart deployment. These are inside the resources value (check parameter table). Setting requests is essential for production workloads and these should be adapted to your specific use case.
To make this process easier, the chart contains the resourcesPreset values, which automatically sets the resources section according to different presets. Check these presets in the bitnami/common chart. However, in production workloads using resourcesPreset is discouraged as it may not fully adapt to your specific needs. Find more information on container resource management in the official Kubernetes documentation.
This chart supports creating a random admin token at first boot (not supported when using memory as object store) by setting both the auth.enabled and createAdminTokenJob.enabled parameters to true.
As an alternative, the chart also supports consuming credentials from an existing secret by setting the auth.existingSecret and auth.existingSecretAdminTokenKey parameters. However, please note that this is only supported if you have pre-populated data in your object store with an admin token already created.
Any further change in the credentials require manual intervention, please refer instructions below:
Note: please ensure you update the token in the secret used by the chart if you regenerate the token.
This chart supports configuring TLS encryption for InfluxDB™ Core connections by setting tls.enabled parameter to true.
It is necessary to create a secret containing the TLS certificates and pass it to the chart via the tls.server.existingSecret parameter. The secret should contain a tls.server.crt and tls.server.key keys including the certificate and key files respectively.
You can manually create the required TLS certificates or relying on the chart auto-generation capabilities. The chart supports two different ways to auto-generate the required certificates:
tls.autoGenerated.enabled to true and tls.autoGenerated.engine to helm.tls.autoGenerated.enabled to true and tls.autoGenerated.engine to cert-manager. Please note it's supported to use an existing Issuer/ClusterIssuer for issuing the TLS certificates by setting the tls.autoGenerated.certManager.existingIssuer and tls.autoGenerated.certManager.existingIssuerKind parameters.This chart can be integrated with Prometheus by setting metrics.enabled to true. This will add the required annotations on InfluxDB™ Core service to be automatically scraped by Prometheus.
It is necessary to have a working installation of Prometheus or Prometheus Operator for the integration to work. Install the Bitnami Prometheus helm chart or the Bitnami Kube Prometheus helm chart to easily have a working Prometheus in your cluster.
The chart can deploy ServiceMonitor objects for integration with Prometheus Operator installations. To do so, set the value metrics.serviceMonitor.enabled=true. Ensure that the Prometheus Operator CustomResourceDefinitions are installed in the cluster or it will fail with the following error:
no matches for kind "ServiceMonitor" in version "monitoring.coreos.com/v1"
Install the Bitnami Kube Prometheus helm chart for having the necessary CRDs and the Prometheus Operator.
It is strongly recommended to use immutable tags in a production environment. This ensures your deployment does not change automatically if the same tag is updated with a different image.
Bitnami will release a new chart updating its containers if a new version of the main container, significant changes, or critical vulnerabilities exist.
In case you want to add extra environment variables, you can use the influxdb.extraEnvVars property.
extraEnvVars:
- name: INFLUXDB_DATA_QUERY_LOG_ENABLED
value: "true"
The Bitnami InfluxDB™ Core image allows you to use your custom scripts to initialize a fresh instance (the allowed extension is .sh). In order to execute the scripts, you can specify custom scripts using the initdbScripts parameter.
In addition to this option, you can also set an external ConfigMap with all the initialization scripts. This is done by setting the initdbScriptsCM parameter. Note that this will override the two previous options. parameter.
This chart allows you to set your custom affinity using the affinity parameter(s). Find more information about Pod's affinity in the kubernetes documentation.
As an alternative, you can use of the preset configurations for pod affinity, pod anti-affinity, and node affinity available at the bitnami/common chart. To do so, set the podAffinityPreset, podAntiAffinityPreset, or nodeAffinityPreset parameters.
To back up and restore Helm chart deployments on Kubernetes, you need to back up the persistent volumes from the source deployment and attach them to a new deployment using Velero, a Kubernetes backup/restore tool. Find the instructions for using Velero in this guide.
The FIPS parameters only have effect if you are using images from the Bitnami Secure Images catalog.
For more information on this new support, please refer to the FIPS Compliance section.
When using file as object store, data can be persisted by default using PVC(s). You can disable the persistence setting the persistence.enabled parameter to false.
A default StorageClass is needed in the Kubernetes cluster to dynamically provision the volumes. Specify another StorageClass in the persistence.storageClass or set persistence.existingClaim if you have already existing persistent volumes to use.
As the images run as non-root by default, it is necessary to adjust the ownership of the persistent volumes so that the containers can write data into it.
By default, the chart is configured to use Kubernetes Security Context to automatically change the ownership of the volume. However, this feature does not work in all Kubernetes distributions. As an alternative, this chart supports using an initContainer to change the ownership of the volume before mounting it in the final destination. You can enable this initContainer by setting defaultInitContainers.volumePermissions.enabled to true.
There are K8s distribution, such as OpenShift, where you can dynamically define the UID to run this initContainer. To do so, set the defaultInitContainers.volumePermissions.securityContext.runAsUser to auto.
The following subsections list global, common, and component-specific parameters.
| Name | Description | Value |
|---|---|---|
global.imageRegistry | Global Docker image registry | "" |
global.imagePullSecrets | Global Docker registry secret names as an array | [] |
global.defaultStorageClass | Global default StorageClass for Persistent Volume(s) | "" |
global.defaultFips | Default value for the FIPS configuration (allowed values: '', restricted, relaxed, off). Can be overridden by the 'fips' object## | restricted |
global.security.allowInsecureImages | Allows skipping image verification | false |
global.compatibility.openshift.adaptSecurityContext | Adapt the securityContext sections of the deployment to make them compatible with Openshift restricted-v2 SCC: remove runAsUser, runAsGroup and fsGroup and let the platform use their allowed default IDs. Possible values: auto (apply if the detected running cluster is Openshift), force (perform the adaptation always), disabled (do not perform adaptation) | auto |
| Name | Description | Value |
|---|---|---|
kubeVersion | Override Kubernetes version | "" |
apiVersions | Override Kubernetes API versions reported by .Capabilities | [] |
nameOverride | String to partially override common.names.name | "" |
fullnameOverride | String to fully override common.names.fullname | "" |
namespaceOverride | String to fully override common.names.namespace | "" |
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 | [] |
useHelmHooks | Enable use of Helm hooks if needed, e.g. on pre-install jobs | true |
usePasswordFiles | Mount credentials as files instead of using environment variables | true |
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 chart release | ["sleep"] |
diagnosticMode.args | Args to override all containers in the chart release | ["infinity"] |
| Name | Description | Value |
|---|---|---|
image.registry | InfluxDB(TM) Core image registry | REGISTRY_NAME |
image.repository | InfluxDB(TM) Core image repository | REPOSITORY_NAME/influxdb |
image.digest | InfluxDB(TM) Core image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag | "" |
image.pullPolicy | InfluxDB(TM) Core image pull policy | IfNotPresent |
image.pullSecrets | Specify docker-registry secret names as an array | [] |
image.debug | Specify if debug logs should be enabled | false |
auth.enabled | Enable bearer token authentication on InfluxDB(TM) Core server | true |
auth.existingSecret | Name of existing Secret containing the admin token (only supported if store data is pre-populated) | "" |
auth.existingSecretAdminTokenKey | Name of the key inside the existing secret containing the admin token (admin-token as default if not provided) | "" |
tls.enabled | Enable TLS configuration for InfluxDB(TM) Core | false |
tls.existingCASecret | The name of an existing Secret containing the CA certificate for TLS | "" |
tls.certCAFilename | The secret key from the existing Secret if 'ca' key is different from the default (ca.crt) | ca.crt |
tls.ca | CA certificate for TLS. Ignored if tls.existingCASecret is set | "" |
tls.server.existingSecret | The name of an existing Secret containing the TLS certificates for InfluxDB(TM) Core servers | "" |
tls.server.certFilename | The secret key from the existing Secret if 'cert' key is different from the default (tls.crt) |
Note: the README for this chart is longer than the DockerHub length limit of 25000, so it has been trimmed. The full README can be found at https://techdocs.broadcom.com/us/en/vmware-tanzu/bitnami-secure-images/bitnami-secure-images/services/bsi-app-doc/apps-charts-influxdb-index.html
Content type
Image
Digest
sha256:17ad7499f…
Size
7.8 kB
Last updated
11 months ago
docker pull bitnamicharts/influxdb:sha256-ca6e8c376a3e656aca4040bbd9157229088b51ad0e857d38357871a1c8d43aebPulls:
5,508
Jun 29 to Jul 5