[bitnami/*] Affinity based on common presets (ii) (#4472)

This commit is contained in:
Juan Ariza Toledano
2020-11-25 09:57:36 +01:00
committed by GitHub
parent 17909ff576
commit 934259f781
95 changed files with 2674 additions and 1166 deletions

View File

@@ -0,0 +1,6 @@
dependencies:
- name: common
repository: https://charts.bitnami.com/bitnami
version: 1.0.1
digest: sha256:e66388f254b9de6470bca6d8c1c565d1c16a5569beef68a7bc99e486e73ccbdb
generated: "2020-11-24T12:53:20.51555+01:00"

View File

@@ -2,6 +2,12 @@ annotations:
category: Database
apiVersion: v2
appVersion: 1.8.3
dependencies:
- name: common
repository: https://charts.bitnami.com/bitnami
tags:
- bitnami-common
version: 1.x.x
description: InfluxDB is an open source time-series database designed to handle large write and read loads in real-time.
engine: gotpl
home: https://github.com/bitnami/charts/tree/master/bitnami/influxdb
@@ -18,4 +24,4 @@ name: influxdb
sources:
- https://github.com/bitnami/bitnami-docker-influxdb
- https://www.influxdata.com/products/influxdb-overview/
version: 1.0.0
version: 1.1.0

View File

@@ -49,154 +49,162 @@ The command removes all the Kubernetes components associated with the chart and
The following tables lists the configurable parameters of the InfluxDB (TM) 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` |
| `image.registry` | InfluxDB (TM) image registry | `docker.io` |
| `image.repository` | InfluxDB (TM) image name | `bitnami/influxdb` |
| `image.tag` | InfluxDB (TM) image tag | `{TAG_NAME}` |
| `image.pullPolicy` | InfluxDB (TM) 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` |
| `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` |
| `clusterDomain` | Default Kubernetes cluster domain | `cluster.local` |
| `architecture` | InfluxDB (TM) architecture (`standalone` or `high-availability`) | `standalone` |
| `database` | Database to be created on first run | `my_database` |
| `authEnabled` | Enable/disable authentication | `true` |
| `adminUser.name` | InfluxDB (TM) admin user name | `admin` |
| `adminUser.pwd` | InfluxDB (TM) admin user's password | `nil` |
| `adminUser.usePasswordFile` | Mount admin user's password as file instead of environment variable | `false` |
| `user.name` | Name for InfluxDB (TM) user with 'admin' privileges on the db specified at `database` | `nil` |
| `user.pwd` | InfluxDB (TM) password for `user.name` user | `nil` |
| `user.usePasswordFile` | Mount `user.name` user's password as file instead of environment variable | `nil` |
| `readUser.name` | Name for InfluxDB (TM) user with 'read' privileges on the db specified at `database` | `nil` |
| `readUser.pwd` | InfluxDB (TM) password for `readUser.name` user | `nil` |
| `readUser.usePasswordFile` | Mount `readUser.name` user's password as file instead of environment variable | `nil` |
| `writeUser.name` | Name for InfluxDB (TM) user with 'write' privileges on the db specified at `database` | `nil` |
| `writeUser.pwd` | InfluxDB (TM) password for `writeUser.name` user | `nil` |
| `writeUser.usePasswordFile` | Mount `writeUser.name` user's password as file instead of environment variable | `nil` |
| `existingSecret` | Name of existing Secret object with InfluxDB (TM) credentials (`adminUser.password`, `user.password`, `readUser.password`, and `writeUser.pwd` will be ignored and picked up from this secret) | `nil` |
| `influxdb.configuration` | Specify content for influxdb.conf | `nil (do not create influxdb.conf)` |
| `influxdb.existingConfiguration` | Name of existing ConfigMap object with the InfluxDB (TM) configuration (`influxdb.configuration` will be ignored). | `nil` |
| `influxdb.initdbScripts` | Dictionary of initdb scripts | `nil` |
| `influxdb.initdbScriptsCM` | Name of existing ConfigMap object with the initdb scripts (`influxdb.initdbScripts` will be ignored). | `nil` |
| `influxdb.initdbScriptsSecret` | Secret with initdb scripts that contain sensitive information (Note: can be used with `initdbScriptsConfigMap` or `initdbScripts`). | `nil` |
| `influxdb.extraEnvVars` | Array containing extra env vars to configure InfluxDB (TM) | `nil` |
| `influxdb.replicaCount` | The number of InfluxDB (TM) replicas to deploy | `1` |
| `influxdb.antiAffinity` | Pod anti-affinity policy | `soft` |
| `influxdb.nodeAffinity` | Node affinity policy | `{}` (The value is evaluated as a template) |
| `influxdb.nodeSelector` | Node labels for pod assignment | `{}` (The value is evaluated as a template) |
| `infludb.podManagementPolicy` | [Pod Management Policy](https://kubernetes.io/docs/tutorials/stateful-application/basic-stateful-set/#pod-management-policy): can be `OrderedReady` or `Parallel` | `OrderedReady` |
| `influxdb.tolerations` | Tolerations for pod assignment | `[]` (The value is evaluated as a template) |
| `influxdb.securityContext.enabled` | Enable security context for InfluxDB (TM) | `true` |
| `influxdb.securityContext.fsGroup` | Group ID for the InfluxDB (TM) filesystem | `1001` |
| `influxdb.securityContext.runAsUser` | User ID for the InfluxDB (TM) container | `1001` |
| `influxdb.resources` | The [resources] to allocate for container | `{}` |
| `influxdb.livenessProbe` | Liveness probe configuration for InfluxDB (TM) | `Check values.yaml file` |
| `influxdb.readinessProbe` | Readiness probe configuration for InfluxDB (TM) | `Check values.yaml file` |
| `influxdb.containerPorts.http` | InfluxDB (TM) container HTTP port | `8086` |
| `influxdb.containerPorts.rpc` | InfluxDB (TM) container RPC port | `8088` |
| `influxdb.service.type` | Kubernetes service type (`ClusterIP`, `NodePort` or `LoadBalancer`) | `ClusterIP` |
| `influxdb.service.port` | InfluxDB (TM) HTTP port | `8086` |
| `influxdb.service.rpcPort` | InfluxDB (TM) RPC port | `8088` |
| `influxdb.service.nodePorts.http` | Kubernetes HTTP node port | `""` |
| `influxdb.service.nodePorts.rpc` | Kubernetes RPC node port | `""` |
| `influxdb.service.annotations` | Annotations for InfluxDB (TM) service | `{}` |
| `influxdb.service.loadBalancerIP` | loadBalancerIP if service type is `LoadBalancer` | `nil` |
| `influxdb.service.loadBalancerSourceRanges` | Address that are allowed when service is LoadBalancer | `[]` |
| `influxdb.service.clusterIP` | Static clusterIP or None for headless services | `nil` |
| `relay.image.registry` | InfluxDB Relay (TM) image registry | `docker.io` |
| `relay.image.repository` | InfluxDB Relay (TM) image name | `bitnami/influxdb-relay` |
| `relay.image.tag` | InfluxDB Relay (TM) image tag | `{TAG_NAME}` |
| `relay.image.pullPolicy` | InfluxDB Relay (TM) image pull policy | `IfNotPresent` |
| `relay.image.pullSecrets` | Specify docker-registry secret names as an array | `[]` (does not add image pull secrets to deployed pods) |
| `relay.configuration` | Specify content for relay.toml | `Check values.yaml file` |
| `relay.existingConfiguration` | Name of existing ConfigMap object with the InfluxDB Relay (TM) configuration (`relay.configuration` will be ignored). | `nil` |
| `relay.replicaCount` | The number of InfluxDB Relay (TM) replicas to deploy | `1` |
| `relay.antiAffinity` | Pod anti-affinity policy | `soft` |
| `relay.nodeAffinity` | Node affinity policy | `{}` (The value is evaluated as a template) |
| `relay.nodeSelector` | Node labels for pod assignment | `{}` (The value is evaluated as a template) |
| `relay.tolerations` | Tolerations for pod assignment | `[]` (The value is evaluated as a template) |
| `relay.securityContext.enabled` | Enable security context for InfluxDB Relay (TM) | `true` |
| `relay.securityContext.fsGroup` | Group ID for the InfluxDB Relay (TM) filesystem | `1001` |
| `relay.securityContext.runAsUser` | User ID for the InfluxDB Relay (TM) container | `1001` |
| `relay.resources` | The [resources] to allocate for container | `{}` |
| `relay.livenessProbe` | Liveness probe configuration for InfluxDB Relay (TM) | `Check values.yaml file` |
| `relay.readinessProbe` | Readiness probe configuration for InfluxDB Relay (TM) | `Check values.yaml file` |
| `relay.containerPorts.http` | InfluxDB Relay (TM) container HTTP port | `9096` |
| `relay.service.type` | Kubernetes service type (`ClusterIP`, `NodePort` or `LoadBalancer`) | `ClusterIP` |
| `relay.service.port` | InfluxDB Relay (TM) HTTP port | `9096` |
| `relay.service.nodePort` | Kubernetes HTTP node port | `""` |
| `relay.service.annotations` | Annotations for InfluxDB Relay (TM) service | `{}` |
| `relay.service.loadBalancerIP` | loadBalancerIP if service type is `LoadBalancer` | `nil` |
| `relay.service.loadBalancerSourceRanges` | Address that are allowed when service is LoadBalancer | `[]` |
| `relay.service.clusterIP` | Static clusterIP or None for headless services | `nil` |
| `ingress.enabled` | Enable ingress controller resource | `false` |
| `ingress.certManager` | Add annotations for cert-manager | `false` |
| `ingress.annotations` | Ingress annotations | `[]` |
| `ingress.hosts[0].name` | Hostname for InfluxDB (TM) service | `influxdb.local` |
| `ingress.hosts[0].path` | Path within the url structure | `/` |
| `ingress.tls[0].hosts[0]` | TLS hosts | `influxdb.local` |
| `ingress.tls[0].secretName` | TLS Secret (certificates) | `influxdb.local-tls` |
| `ingress.secrets[0].name` | TLS Secret Name | `nil` |
| `ingress.secrets[0].certificate` | TLS Secret Certificate | `nil` |
| `ingress.secrets[0].key` | TLS Secret Key | `nil` |
| `metrics.enabled` | Enable the export of Prometheus metrics | `false` |
| `metrics.service.type` | Kubernetes service type (`ClusterIP`, `NodePort` or `LoadBalancer`) | `ClusterIP` |
| `metrics.service.port` | InfluxDB (TM) Prometheus port | `9122` |
| `metrics.service.nodePort` | Kubernetes HTTP node port | `""` |
| `metrics.service.annotations` | Annotations for Prometheus metrics service | `Check values.yaml file` |
| `metrics.service.loadBalancerIP` | loadBalancerIP if service type is `LoadBalancer` | `nil` |
| `metrics.service.loadBalancerSourceRanges` | Address that are allowed when service is LoadBalancer | `[]` |
| `metrics.service.clusterIP` | Static clusterIP or None for headless services | `nil` |
| `metrics.serviceMonitor.enabled` | if `true`, creates a Prometheus Operator ServiceMonitor (also requires `metrics.enabled` to be `true`) | `false` |
| `metrics.serviceMonitor.namespace` | Namespace in which Prometheus is running | `nil` |
| `metrics.serviceMonitor.interval` | Interval at which metrics should be scraped. | `nil` (Prometheus Operator default value) |
| `metrics.serviceMonitor.scrapeTimeout` | Timeout after which the scrape is ended | `nil` (Prometheus Operator default value) |
| `metrics.serviceMonitor.selector` | Prometheus instance selector labels | `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.accessMode` | Access mode of data volume | `ReadWriteOnce` |
| `persistence.size` | Size of data volume | `8Gi` |
| `volumePermissions.enabled` | Enable init container that changes the owner and group of the persistent volume mountpoint to `runAsUser:fsGroup` | `false` |
| `volumePermissions.image.registry` | Init container volume-permissions image registry | `docker.io` |
| `volumePermissions.image.repository` | Init container volume-permissions image name | `bitnami/minideb` |
| `volumePermissions.image.tag` | Init container volume-permissions image tag | `buster` |
| `volumePermissions.image.pullPolicy` | Init container volume-permissions image pull policy | `Always` |
| `volumePermissions.image.pullSecrets` | Specify docker-registry secret names as an array | `[]` (does not add image pull secrets to deployed pods) |
| `volumePermissions.securityContext.runAsUser` | User ID for the init container (when facing issues in OpenShift or uid unknown, try value "auto") | `0` |
| `backup.enabled` | enable InfluxDB (TM) backup | `false` |
| `backup.directory` | directory where backups are stored in | `"/backups"` |
| `backup.retentionDays` | retention time in days for backups (older backups are deleted) | `10` |
| `backup.cronjob.schedule` | crontab style time schedule for backup execution | `"0 2 * * *"` |
| `backup.cronjob.historyLimit` | cronjob historylimit | `1` |
| `backup.cronjob.annotations` | backup pod annotations | `{}` |
| `backup.uploadProviders.google.enabled` | enable upload to google storage bucket | `false` |
| `backup.uploadProviders.google.secret` | json secret whith serviceaccount data to access Google storage bucket | `""` |
| `backup.uploadProviders.google.secretKey` | service account secret key name | `"key.json"` |
| `backup.uploadProviders.google.existingSecret` | Name of existing secret object with Google serviceaccount json credentials | `""` |
| `backup.uploadProviders.google.bucketName` | google storage bucket name name | `"gs://bucket/influxdb"` |
| `backup.uploadProviders.google.image.registry` | Google Cloud SDK image registry | `docker.io` |
| `backup.uploadProviders.google.image.repository` | Google Cloud SDK image name | `bitnami/google-cloud-sdk` |
| `backup.uploadProviders.google.image.tag` | Google Cloud SDK image tag | `{TAG_NAME}` |
| `backup.uploadProviders.google.image.pullPolicy` | Google Cloud SDK image pull policy | `IfNotPresent` |
| `backup.uploadProviders.google.image.pullSecrets` | Specify docker-registry secret names as an array | `[]` (does not add image pull secrets to deployed pods) |
| `backup.uploadProviders.azure.enabled` | enable upload to azure storage container | `false` |
| `backup.uploadProviders.azure.secret` | secret whith credentials to access Azure storage | `""` |
| `backup.uploadProviders.azure.secretKey` | service account secret key name | `"connection-string"` |
| `backup.uploadProviders.azure.existingSecret` | Name of existing secret object | `""` |
| `backup.uploadProviders.azure.containerName` | destination container | `"influxdb-container"` |
| `backup.uploadProviders.azure.image.registry` | Azure CLI image registry | `docker.io` |
| `backup.uploadProviders.azure.image.repository` | Azure CLI image name | `bitnami/azure-cli` |
| `backup.uploadProviders.azure.image.tag` | Azure CLI image tag | `{TAG_NAME}` |
| `backup.uploadProviders.azure.image.pullPolicy` | Azure CLI image pull policy | `IfNotPresent` |
| `backup.uploadProviders.azure.image.pullSecrets` | Specify docker-registry secret names as an array | `[]` (does not add image pull secrets to deployed pods) |
| 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` |
| `image.registry` | InfluxDB (TM) image registry | `docker.io` |
| `image.repository` | InfluxDB (TM) image name | `bitnami/influxdb` |
| `image.tag` | InfluxDB (TM) image tag | `{TAG_NAME}` |
| `image.pullPolicy` | InfluxDB (TM) 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` |
| `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` |
| `clusterDomain` | Default Kubernetes cluster domain | `cluster.local` |
| `architecture` | InfluxDB (TM) architecture (`standalone` or `high-availability`) | `standalone` |
| `database` | Database to be created on first run | `my_database` |
| `authEnabled` | Enable/disable authentication | `true` |
| `adminUser.name` | InfluxDB (TM) admin user name | `admin` |
| `adminUser.pwd` | InfluxDB (TM) admin user's password | `nil` |
| `adminUser.usePasswordFile` | Mount admin user's password as file instead of environment variable | `false` |
| `user.name` | Name for InfluxDB (TM) user with 'admin' privileges on the db specified at `database` | `nil` |
| `user.pwd` | InfluxDB (TM) password for `user.name` user | `nil` |
| `user.usePasswordFile` | Mount `user.name` user's password as file instead of environment variable | `nil` |
| `readUser.name` | Name for InfluxDB (TM) user with 'read' privileges on the db specified at `database` | `nil` |
| `readUser.pwd` | InfluxDB (TM) password for `readUser.name` user | `nil` |
| `readUser.usePasswordFile` | Mount `readUser.name` user's password as file instead of environment variable | `nil` |
| `writeUser.name` | Name for InfluxDB (TM) user with 'write' privileges on the db specified at `database` | `nil` |
| `writeUser.pwd` | InfluxDB (TM) password for `writeUser.name` user | `nil` |
| `writeUser.usePasswordFile` | Mount `writeUser.name` user's password as file instead of environment variable | `nil` |
| `existingSecret` | Name of existing Secret object with InfluxDB (TM) credentials (`adminUser.password`, `user.password`, `readUser.password`, and `writeUser.pwd` will be ignored and picked up from this secret) | `nil`|
| `influxdb.configuration` | Specify content for influxdb.conf | `nil (do not create influxdb.conf)` |
| `influxdb.existingConfiguration` | Name of existing ConfigMap object with the InfluxDB (TM) configuration (`influxdb.configuration` will be ignored). | `nil` |
| `influxdb.initdbScripts` | Dictionary of initdb scripts | `nil` |
| `influxdb.initdbScriptsCM` | Name of existing ConfigMap object with the initdb scripts (`influxdb.initdbScripts` will be ignored). | `nil` |
| `influxdb.initdbScriptsSecret` | Secret with initdb scripts that contain sensitive information (Note: can be used with `initdbScriptsConfigMap` or `initdbScripts`) | `nil` |
| `influxdb.extraEnvVars` | Array containing extra env vars to configure InfluxDB (TM) | `nil` |
| `influxdb.replicaCount` | The number of InfluxDB (TM) replicas to deploy | `1` |
| `influxdb.podAffinityPreset` | InfluxDB Pod affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard` | `""` |
| `influxdb.podAntiAffinityPreset` | InfluxDB Pod anti-affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard` | `""` |
| `influxdb.nodeAffinityPreset.type` | InfluxDB Node affinity preset type. Ignored if `affinity` is set. Allowed values: `soft` or `hard` | `""` |
| `influxdb.nodeAffinityPreset.key` | InfluxDB Node label key to match Ignored if `affinity` is set. | `""` |
| `influxdb.nodeAffinityPreset.values` | InfluxDB Node label values to match. Ignored if `affinity` is set. | `[]` |
| `influxdb.affinity` | InfluxDB Affinity for pod assignment | `{}` (evaluated as a template) |
| `influxdb.nodeSelector` | InfluxDB Node labels for pod assignment | `{}` (evaluated as a template) |
| `influxdb.tolerations` | InfluxDB Tolerations for pod assignment | `[]` (evaluated as a template) |
| `infludb.podManagementPolicy` | Pod Management Policy [`OrderedReady` or `Parallel`] | `OrderedReady` |
| `influxdb.securityContext.enabled` | Enable security context for InfluxDB (TM) | `true` |
| `influxdb.securityContext.fsGroup` | Group ID for the InfluxDB (TM) filesystem | `1001` |
| `influxdb.securityContext.runAsUser` | User ID for the InfluxDB (TM) container | `1001` |
| `influxdb.resources` | The [resources] to allocate for container | `{}` |
| `influxdb.livenessProbe` | Liveness probe configuration for InfluxDB (TM) | `Check values.yaml file` |
| `influxdb.readinessProbe` | Readiness probe configuration for InfluxDB (TM) | `Check values.yaml file` |
| `influxdb.containerPorts.http` | InfluxDB (TM) container HTTP port | `8086` |
| `influxdb.containerPorts.rpc` | InfluxDB (TM) container RPC port | `8088` |
| `influxdb.service.type` | Kubernetes service type (`ClusterIP`, `NodePort` or `LoadBalancer`) | `ClusterIP` |
| `influxdb.service.port` | InfluxDB (TM) HTTP port | `8086` |
| `influxdb.service.rpcPort` | InfluxDB (TM) RPC port | `8088` |
| `influxdb.service.nodePorts.http` | Kubernetes HTTP node port | `""` |
| `influxdb.service.nodePorts.rpc` | Kubernetes RPC node port | `""` |
| `influxdb.service.annotations` | Annotations for InfluxDB (TM) service | `{}` |
| `influxdb.service.loadBalancerIP` | loadBalancerIP if service type is `LoadBalancer` | `nil` |
| `influxdb.service.loadBalancerSourceRanges` | Address that are allowed when service is LoadBalancer | `[]` |
| `influxdb.service.clusterIP` | Static clusterIP or None for headless services | `nil` |
| `relay.image.registry` | InfluxDB Relay (TM) image registry | `docker.io` |
| `relay.image.repository` | InfluxDB Relay (TM) image name | `bitnami/influxdb-relay` |
| `relay.image.tag` | InfluxDB Relay (TM) image tag | `{TAG_NAME}` |
| `relay.image.pullPolicy` | InfluxDB Relay (TM) image pull policy | `IfNotPresent` |
| `relay.image.pullSecrets` | Specify docker-registry secret names as an array | `[]` (does not add image pull secrets to deployed pods) |
| `relay.configuration` | Specify content for relay.toml | `Check values.yaml file` |
| `relay.existingConfiguration` | Name of existing ConfigMap object with the InfluxDB Relay (TM) configuration (`relay.configuration` will be ignored) | `nil` |
| `relay.replicaCount` | The number of InfluxDB Relay (TM) replicas to deploy | `1` |
| `relay.podAffinityPreset` | InfluxDB Relay Pod affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard` | `""` |
| `relay.podAntiAffinityPreset` | InfluxDB Relay Pod anti-affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard` | `""` |
| `relay.nodeAffinityPreset.type` | InfluxDB Relay Node affinity preset type. Ignored if `affinity` is set. Allowed values: `soft` or `hard` | `""` |
| `relay.nodeAffinityPreset.key` | InfluxDB Relay Node label key to match Ignored if `affinity` is set. | `""` |
| `relay.nodeAffinityPreset.values` | InfluxDB Relay Node label values to match. Ignored if `affinity` is set. | `[]` |
| `relay.affinity` | InfluxDB Relay Affinity for pod assignment | `{}` (evaluated as a template) |
| `relay.nodeSelector` | InfluxDB Relay Node labels for pod assignment | `{}` (evaluated as a template) |
| `relay.tolerations` | InfluxDB Relay Tolerations for pod assignment | `[]` (evaluated as a template) |
| `relay.securityContext.enabled` | Enable security context for InfluxDB Relay (TM) | `true` |
| `relay.securityContext.fsGroup` | Group ID for the InfluxDB Relay (TM) filesystem | `1001` |
| `relay.securityContext.runAsUser` | User ID for the InfluxDB Relay (TM) container | `1001` |
| `relay.resources` | The [resources] to allocate for container | `{}` |
| `relay.livenessProbe` | Liveness probe configuration for InfluxDB Relay (TM) | `Check values.yaml file` |
| `relay.readinessProbe` | Readiness probe configuration for InfluxDB Relay (TM) | `Check values.yaml file` |
| `relay.containerPorts.http` | InfluxDB Relay (TM) container HTTP port | `9096` |
| `relay.service.type` | Kubernetes service type (`ClusterIP`, `NodePort` or `LoadBalancer`) | `ClusterIP` |
| `relay.service.port` | InfluxDB Relay (TM) HTTP port | `9096` |
| `relay.service.nodePort` | Kubernetes HTTP node port | `""` |
| `relay.service.annotations` | Annotations for InfluxDB Relay (TM) service | `{}` |
| `relay.service.loadBalancerIP` | loadBalancerIP if service type is `LoadBalancer` | `nil` |
| `relay.service.loadBalancerSourceRanges` | Address that are allowed when service is LoadBalancer | `[]` |
| `relay.service.clusterIP` | Static clusterIP or None for headless services | `nil` |
| `ingress.enabled` | Enable ingress controller resource | `false` |
| `ingress.certManager` | Add annotations for cert-manager | `false` |
| `ingress.annotations` | Ingress annotations | `[]` |
| `ingress.hosts[0].name` | Hostname for InfluxDB (TM) service | `influxdb.local` |
| `ingress.hosts[0].path` | Path within the url structure | `/` |
| `ingress.tls[0].hosts[0]` | TLS hosts | `influxdb.local` |
| `ingress.tls[0].secretName` | TLS Secret (certificates) | `influxdb.local-tls` |
| `ingress.secrets[0].name` | TLS Secret Name | `nil` |
| `ingress.secrets[0].certificate` | TLS Secret Certificate | `nil` |
| `ingress.secrets[0].key` | TLS Secret Key | `nil` |
| `metrics.enabled` | Enable the export of Prometheus metrics | `false` |
| `metrics.service.type` | Kubernetes service type (`ClusterIP`, `NodePort` or `LoadBalancer`) | `ClusterIP` |
| `metrics.service.port` | InfluxDB (TM) Prometheus port | `9122` |
| `metrics.service.nodePort` | Kubernetes HTTP node port | `""` |
| `metrics.service.annotations` | Annotations for Prometheus metrics service | `Check values.yaml file` |
| `metrics.service.loadBalancerIP` | loadBalancerIP if service type is `LoadBalancer` | `nil` |
| `metrics.service.loadBalancerSourceRanges` | Address that are allowed when service is LoadBalancer | `[]` |
| `metrics.service.clusterIP` | Static clusterIP or None for headless services | `nil` |
| `metrics.serviceMonitor.enabled` | if `true`, creates a Prometheus Operator ServiceMonitor (also requires `metrics.enabled` to be `true`) | `false` |
| `metrics.serviceMonitor.namespace` | Namespace in which Prometheus is running | `nil` |
| `metrics.serviceMonitor.interval` | Interval at which metrics should be scraped. | `nil` (Prometheus Operator default value) |
| `metrics.serviceMonitor.scrapeTimeout` | Timeout after which the scrape is ended | `nil` (Prometheus Operator default value) |
| `metrics.serviceMonitor.selector` | Prometheus instance selector labels | `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.accessMode` | Access mode of data volume | `ReadWriteOnce` |
| `persistence.size` | Size of data volume | `8Gi` |
| `volumePermissions.enabled` | Enable init container that changes the owner and group of the persistent volume mountpoint to `runAsUser:fsGroup` | `false` |
| `volumePermissions.image.registry` | Init container volume-permissions image registry | `docker.io` |
| `volumePermissions.image.repository` | Init container volume-permissions image name | `bitnami/minideb` |
| `volumePermissions.image.tag` | Init container volume-permissions image tag | `buster` |
| `volumePermissions.image.pullPolicy` | Init container volume-permissions image pull policy | `Always` |
| `volumePermissions.image.pullSecrets` | Specify docker-registry secret names as an array | `[]` (does not add image pull secrets to deployed pods) |
| `volumePermissions.securityContext.runAsUser` | User ID for the init container (when facing issues in OpenShift or uid unknown, try value "auto") | `0` |
| `backup.enabled` | enable InfluxDB (TM) backup | `false` |
| `backup.directory` | directory where backups are stored in | `"/backups"` |
| `backup.retentionDays` | retention time in days for backups (older backups are deleted) | `10` |
| `backup.cronjob.schedule` | crontab style time schedule for backup execution | `"0 2 * * *"` |
| `backup.cronjob.historyLimit` | cronjob historylimit | `1` |
| `backup.cronjob.annotations` | backup pod annotations | `{}` |
| `backup.uploadProviders.google.enabled` | enable upload to google storage bucket | `false` |
| `backup.uploadProviders.google.secret` | json secret whith serviceaccount data to access Google storage bucket | `""` |
| `backup.uploadProviders.google.secretKey` | service account secret key name | `"key.json"` |
| `backup.uploadProviders.google.existingSecret` | Name of existing secret object with Google serviceaccount json credentials | `""` |
| `backup.uploadProviders.google.bucketName` | google storage bucket name name | `"gs://bucket/influxdb"` |
| `backup.uploadProviders.google.image.registry` | Google Cloud SDK image registry | `docker.io` |
| `backup.uploadProviders.google.image.repository` | Google Cloud SDK image name | `bitnami/google-cloud-sdk` |
| `backup.uploadProviders.google.image.tag` | Google Cloud SDK image tag | `{TAG_NAME}` |
| `backup.uploadProviders.google.image.pullPolicy` | Google Cloud SDK image pull policy | `IfNotPresent` |
| `backup.uploadProviders.google.image.pullSecrets` | Specify docker-registry secret names as an array | `[]` (does not add image pull secrets to deployed pods) |
| `backup.uploadProviders.azure.enabled` | enable upload to azure storage container | `false` |
| `backup.uploadProviders.azure.secret` | secret whith credentials to access Azure storage | `""` |
| `backup.uploadProviders.azure.secretKey` | service account secret key name | `"connection-string"` |
| `backup.uploadProviders.azure.existingSecret` | Name of existing secret object | `""` |
| `backup.uploadProviders.azure.containerName` | destination container | `"influxdb-container"` |
| `backup.uploadProviders.azure.image.registry` | Azure CLI image registry | `docker.io` |
| `backup.uploadProviders.azure.image.repository` | Azure CLI image name | `bitnami/azure-cli` |
| `backup.uploadProviders.azure.image.tag` | Azure CLI image tag | `{TAG_NAME}` |
| `backup.uploadProviders.azure.image.pullPolicy` | Azure CLI image pull policy | `IfNotPresent` |
| `backup.uploadProviders.azure.image.pullSecrets` | Specify docker-registry secret names as an array | `[]` (does not add image pull secrets to deployed pods) |
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,
@@ -376,6 +384,12 @@ In addition to these options, you can also set an external ConfigMap with all th
The allowed extensions are `.sh`, and `.txt`.
### Setting Pod's affinity
This chart allows you to set your custom affinity using the `XXX.affinity` paremeter(s). Find more infomation about Pod's affinity in the [kubernetes documentation](https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity).
As an alternative, you can use of the preset configurations for pod affinity, pod anti-affinity, and node affinity available at the [bitnami/common](https://github.com/bitnami/charts/tree/master/bitnami/common#affinities) chart. To do so, set the `XXX.podAffinityPreset`, `XXX.podAntiAffinityPreset`, or `XXX.nodeAffinityPreset` parameters.
## Persistence
The data is persisted by default using PVC(s). You can disable the persistence setting the `persistence.enabled` parameter to `false`.
@@ -413,6 +427,10 @@ InfluxDB (TM) and InfluxDB Relay (TM) is a trademark owned by InfluxData, which
## Upgrading
### To 1.1.0
This version also introduces `bitnami/common`, a [library chart](https://helm.sh/docs/topics/library_charts/#helm) as a dependency. More documentation about this new utility could be found [here](https://github.com/bitnami/charts/tree/master/bitnami/common#bitnami-common-library-chart). Please, make sure that you have updated the chart dependencies before executing any upgrade.
### To 1.0.0
[On November 13, 2020, Helm v2 support was formally finished](https://github.com/helm/charts#status-of-the-project), this major version is the result of the required changes applied to the Helm Chart to be able to incorporate the different features added in Helm v3 and to be consistent with the Helm project itself regarding the Helm v2 EOL.

View File

@@ -23,30 +23,15 @@ spec:
{{- include "influxdb.labels" . | nindent 8 }}
app.kubernetes.io/component: influxdb
spec:
{{- include "influxdb.imagePullSecrets" . | nindent 6 }}
{{- include "influxdb.imagePullSecrets" . | nindent 6 }}
{{- if .Values.influxdb.affinity }}
affinity: {{- include "fluentd.tplValue" (dict "value" .Values.influxdb.affinity "context" $) | nindent 8 }}
{{- else }}
affinity:
{{- if eq .Values.influxdb.antiAffinity "hard" }}
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- topologyKey: "kubernetes.io/hostname"
labelSelector:
matchLabels:
{{- include "influxdb.matchLabels" . | nindent 18 }}
app.kubernetes.io/component: influxdb
{{- else if eq .Values.influxdb.antiAffinity "soft" }}
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 1
podAffinityTerm:
topologyKey: kubernetes.io/hostname
labelSelector:
matchLabels:
{{- include "influxdb.matchLabels" . | nindent 20 }}
app.kubernetes.io/component: influxdb
{{- end }}
{{- if .Values.influxdb.nodeAffinity }}
nodeAffinity: {{- toYaml .Values.influxdb.nodeAffinity | nindent 10 }}
{{- end }}
podAffinity: {{- include "common.affinities.pods" (dict "type" .Values.influxdb.podAffinityPreset "component" "influxdb" "context" $) | nindent 10 }}
podAntiAffinity: {{- include "common.affinities.pods" (dict "type" .Values.influxdb.podAntiAffinityPreset "component" "influxdb" "context" $) | nindent 10 }}
nodeAffinity: {{- include "common.affinities.nodes" (dict "type" .Values.influxdb.nodeAffinityPreset.type "key" .Values.influxdb.nodeAffinityPreset.key "values" .Values.influxdb.nodeAffinityPreset.values) | nindent 10 }}
{{- end }}
{{- if .Values.influxdb.nodeSelector }}
nodeSelector: {{- include "influxdb.tplValue" (dict "value" .Values.influxdb.nodeSelector "context" $) | nindent 8 }}
{{- end }}

View File

@@ -25,30 +25,15 @@ spec:
{{ include "influxdb.labels" . | nindent 8 }}
app.kubernetes.io/component: influxdb
spec:
{{- include "influxdb.imagePullSecrets" . | nindent 6 }}
{{- include "influxdb.imagePullSecrets" . | nindent 6 }}
{{- if .Values.influxdb.affinity }}
affinity: {{- include "fluentd.tplValue" (dict "value" .Values.influxdb.affinity "context" $) | nindent 8 }}
{{- else }}
affinity:
{{- if eq .Values.influxdb.antiAffinity "hard" }}
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- topologyKey: "kubernetes.io/hostname"
labelSelector:
matchLabels:
{{- include "influxdb.matchLabels" . | nindent 18 }}
app.kubernetes.io/component: influxdb
{{- else if eq .Values.influxdb.antiAffinity "soft" }}
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 1
podAffinityTerm:
topologyKey: kubernetes.io/hostname
labelSelector:
matchLabels:
{{- include "influxdb.matchLabels" . | nindent 20 }}
app.kubernetes.io/component: influxdb
{{- end }}
{{- if .Values.influxdb.nodeAffinity }}
nodeAffinity: {{- toYaml .Values.influxdb.nodeAffinity | nindent 10 }}
{{- end }}
podAffinity: {{- include "common.affinities.pods" (dict "type" .Values.influxdb.podAffinityPreset "component" "influxdb" "context" $) | nindent 10 }}
podAntiAffinity: {{- include "common.affinities.pods" (dict "type" .Values.influxdb.podAntiAffinityPreset "component" "influxdb" "context" $) | nindent 10 }}
nodeAffinity: {{- include "common.affinities.nodes" (dict "type" .Values.influxdb.nodeAffinityPreset.type "key" .Values.influxdb.nodeAffinityPreset.key "values" .Values.influxdb.nodeAffinityPreset.values) | nindent 10 }}
{{- end }}
{{- if .Values.influxdb.nodeSelector }}
nodeSelector: {{- include "influxdb.tplValue" (dict "value" .Values.influxdb.nodeSelector "context" $) | nindent 8 }}
{{- end }}

View File

@@ -23,30 +23,15 @@ spec:
{{- include "influxdb.labels" . | nindent 8 }}
app.kubernetes.io/component: relay
spec:
{{- include "influxdb.imagePullSecrets" . | nindent 6 }}
{{- include "influxdb.imagePullSecrets" . | nindent 6 }}
{{- if .Values.relay.affinity }}
affinity: {{- include "fluentd.tplValue" (dict "value" .Values.relay.affinity "context" $) | nindent 8 }}
{{- else }}
affinity:
{{- if eq .Values.relay.antiAffinity "hard" }}
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- topologyKey: "kubernetes.io/hostname"
labelSelector:
matchLabels:
{{- include "influxdb.matchLabels" . | nindent 18 }}
app.kubernetes.io/component: relay
{{- else if eq .Values.relay.antiAffinity "soft" }}
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 1
podAffinityTerm:
topologyKey: kubernetes.io/hostname
labelSelector:
matchLabels:
{{- include "influxdb.matchLabels" . | nindent 20 }}
app.kubernetes.io/component: relay
{{- end }}
{{- if .Values.relay.nodeAffinity }}
nodeAffinity: {{- toYaml .Values.relay.nodeAffinity | nindent 10 }}
{{- end }}
podAffinity: {{- include "common.affinities.pods" (dict "type" .Values.relay.podAffinityPreset "component" "relay" "context" $) | nindent 10 }}
podAntiAffinity: {{- include "common.affinities.pods" (dict "type" .Values.relay.podAntiAffinityPreset "component" "relay" "context" $) | nindent 10 }}
nodeAffinity: {{- include "common.affinities.nodes" (dict "type" .Values.relay.nodeAffinityPreset.type "key" .Values.relay.nodeAffinityPreset.key "values" .Values.relay.nodeAffinityPreset.values) | nindent 10 }}
{{- end }}
{{- if .Values.relay.nodeSelector }}
nodeSelector: {{- include "influxdb.tplValue" (dict "value" .Values.relay.nodeSelector "context" $) | nindent 8 }}
{{- end }}

View File

@@ -150,25 +150,54 @@ influxdb:
##
podManagementPolicy: OrderedReady
## Pod AntiAffinity
## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
## Pod affinity preset
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
## Allowed values: soft, hard
##
antiAffinity: soft
podAffinityPreset: ""
## Node Affinity. The value is evaluated as a template.
## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#node-affinity-beta-feature
## Pod anti-affinity preset
## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
## Allowed values: soft, hard
##
nodeAffinity: {}
podAntiAffinityPreset: soft
## Node labels for pod assignment. Evaluated as a template.
## Node affinity preset
## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
## Allowed values: soft, hard
##
nodeAffinityPreset:
## Node affinity type
## Allowed values: soft, hard
type: ""
## Node label key to match
## E.g.
## key: "kubernetes.io/e2e-az-name"
##
key: ""
## Node label values to match
## E.g.
## values:
## - e2e-az1
## - e2e-az2
##
values: []
## Affinity for pod assignment
## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
## Note: podAffinityPreset, podAntiAffinityPreset, and nodeAffinityPreset will be ignored when it's set
##
affinity: {}
## Node labels for pod assignment
## Ref: https://kubernetes.io/docs/user-guide/node-selection/
##
nodeSelector: {}
## Tolerations for pod assignment. Evaluated as a template.
## Tolerations for pod assignment
## Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
##
tolerations: {}
tolerations: []
## K8s Security Context for InfluxDB pods
## https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
@@ -310,25 +339,54 @@ relay:
##
updateStrategy: RollingUpdate
## Pod AntiAffinity
## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
## Pod affinity preset
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
## Allowed values: soft, hard
##
antiAffinity: soft
podAffinityPreset: ""
## Node Affinity. The value is evaluated as a template.
## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#node-affinity-beta-feature
## Pod anti-affinity preset
## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
## Allowed values: soft, hard
##
nodeAffinity: {}
podAntiAffinityPreset: soft
## Node labels for pod assignment. Evaluated as a template.
## Node affinity preset
## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
## Allowed values: soft, hard
##
nodeAffinityPreset:
## Node affinity type
## Allowed values: soft, hard
type: ""
## Node label key to match
## E.g.
## key: "kubernetes.io/e2e-az-name"
##
key: ""
## Node label values to match
## E.g.
## values:
## - e2e-az1
## - e2e-az2
##
values: []
## Affinity for pod assignment
## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
## Note: podAffinityPreset, podAntiAffinityPreset, and nodeAffinityPreset will be ignored when it's set
##
affinity: {}
## Node labels for pod assignment
## Ref: https://kubernetes.io/docs/user-guide/node-selection/
##
nodeSelector: {}
## Tolerations for pod assignment. Evaluated as a template.
## Tolerations for pod assignment
## Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
##
tolerations: {}
tolerations: []
## K8s Security Context for InfluxDB pods
## https://kubernetes.io/docs/tasks/configure-pod-container/security-context/

View File

@@ -151,25 +151,54 @@ influxdb:
##
podManagementPolicy: OrderedReady
## Pod AntiAffinity
## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
## Pod affinity preset
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
## Allowed values: soft, hard
##
antiAffinity: soft
podAffinityPreset: ""
## Node Affinity. The value is evaluated as a template.
## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#node-affinity-beta-feature
## Pod anti-affinity preset
## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
## Allowed values: soft, hard
##
nodeAffinity: {}
podAntiAffinityPreset: soft
## Node labels for pod assignment. Evaluated as a template.
## Node affinity preset
## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
## Allowed values: soft, hard
##
nodeAffinityPreset:
## Node affinity type
## Allowed values: soft, hard
type: ""
## Node label key to match
## E.g.
## key: "kubernetes.io/e2e-az-name"
##
key: ""
## Node label values to match
## E.g.
## values:
## - e2e-az1
## - e2e-az2
##
values: []
## Affinity for pod assignment
## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
## Note: podAffinityPreset, podAntiAffinityPreset, and nodeAffinityPreset will be ignored when it's set
##
affinity: {}
## Node labels for pod assignment
## Ref: https://kubernetes.io/docs/user-guide/node-selection/
##
nodeSelector: {}
## Tolerations for pod assignment. Evaluated as a template.
## Tolerations for pod assignment
## Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
##
tolerations: {}
tolerations: []
## K8s Security Context for InfluxDB pods
## https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
@@ -311,25 +340,54 @@ relay:
##
updateStrategy: RollingUpdate
## Pod AntiAffinity
## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
## Pod affinity preset
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
## Allowed values: soft, hard
##
antiAffinity: soft
podAffinityPreset: ""
## Node Affinity. The value is evaluated as a template.
## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#node-affinity-beta-feature
## Pod anti-affinity preset
## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
## Allowed values: soft, hard
##
nodeAffinity: {}
podAntiAffinityPreset: soft
## Node labels for pod assignment. Evaluated as a template.
## Node affinity preset
## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
## Allowed values: soft, hard
##
nodeAffinityPreset:
## Node affinity type
## Allowed values: soft, hard
type: ""
## Node label key to match
## E.g.
## key: "kubernetes.io/e2e-az-name"
##
key: ""
## Node label values to match
## E.g.
## values:
## - e2e-az1
## - e2e-az2
##
values: []
## Affinity for pod assignment
## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
## Note: podAffinityPreset, podAntiAffinityPreset, and nodeAffinityPreset will be ignored when it's set
##
affinity: {}
## Node labels for pod assignment
## Ref: https://kubernetes.io/docs/user-guide/node-selection/
##
nodeSelector: {}
## Tolerations for pod assignment. Evaluated as a template.
## Tolerations for pod assignment
## Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
##
tolerations: {}
tolerations: []
## K8s Security Context for InfluxDB pods
## https://kubernetes.io/docs/tasks/configure-pod-container/security-context/