-tolerations: []
-# - key: "key"
-# operator: "Equal|Exists"
-# value: "value"
-# effect: "NoSchedule|PreferNoSchedule|NoExecute(1.6 only)"
-
-## The InfluxDB image uses several environment variables to automatically
-## configure certain parts of the server.
-## Ref: https://hub.docker.com/_/influxdb/
-env: {}
- # - name: INFLUXDB_DB
- # value: "demo"
-
-## The name of a secret in the same kubernetes namespace which contain values
-## to be added to the environment.
-## This can be used, for example, to set the INFLUXDB_HTTP_SHARED_SECRET
-## environment variable.
-envFromSecret: {}
-
-## InfluxDB configuration
-## ref: https://docs.influxdata.com/influxdb/v1.7/administration/config
-config:
- reporting_disabled: false
- rpc: {}
- meta: {}
- data: {}
- coordinator: {}
- retention: {}
- shard_precreation: {}
- monitor: {}
- http:
- auth-enabled: true
- logging:
- level: "debug"
- subscriber: {}
- graphite: {}
- collectd: {}
- opentsdb: {}
- udp: {}
- continuous_queries: {}
- tls: {}
-
-# Allow executing custom init scripts
-#
-# If the container finds any files with the extensions .sh or .iql inside of the
-# /docker-entrypoint-initdb.d folder, it will execute them. The order they are
-# executed in is determined by the shell. This is usually alphabetical order.
-initScripts:
- enabled: false
- scripts:
- init.iql: |+
- CREATE DATABASE "telegraf" WITH DURATION 30d REPLICATION 1 NAME "rp_30d"
-
-backup:
- enabled: false
- ## By default emptyDir is used as a transitory volume before uploading to object store.
- ## As such, ensure that a sufficient ephemeral storage request is set to prevent node disk filling completely.
- resources:
- requests:
- # memory: 512Mi
- # cpu: 2
- ephemeral-storage: "8Gi"
- # limits:
- # memory: 1Gi
- # cpu: 4
- # ephemeral-storage: "16Gi"
- ## If backup destination is PVC, or want to use intermediate PVC before uploading to object store.
- persistence:
- enabled: false
- ## If defined, storageClassName: <storageClass>
- ## If set to "-", storageClassName: "", which disables dynamic provisioning
- ## If undefined (the default) or set to null, no storageClassName spec is
- ## set, choosing the default provisioner. (gp2 on AWS, standard on
- ## GKE, AWS & OpenStack)
- ##
- # storageClass: "-"
- annotations:
- accessMode: ReadWriteOnce
- size: 8Gi
- schedule: "0 0 * * *"
- startingDeadlineSeconds: ""
- annotations: {}
- podAnnotations: {}
-
- ## Google Cloud Storage
- # gcs:
- # serviceAccountSecret: influxdb-backup-key
- # serviceAccountSecretKey: key.json
- # destination: gs://bucket/influxdb
-
- ## Azure
- ## Secret is expected to have connection string stored in `connection-string` field
- ## Existing container will be used or private one withing storage account will be created.
- # azure:
- # storageAccountSecret: influxdb-backup-azure-key
- # destination_container: influxdb-container
- # destination_path: ""
-
- ## Amazon S3 or compatible
- ## Secret is expected to have AWS (or compatible) credentials stored in `credentials` field.
- ## Please look at https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-files.html#cli-configure-files-where
- ## for the credentials format.
- ## The bucket should already exist.
- # s3:
- # credentialsSecret: aws-credentials-secret
- # destination: s3://bucket/path
- # ## Optional. Specify if you're using an alternate S3 endpoint.
- # # endpointUrl: ""
-
-backupRetention:
- enabled: false
- resources:
- requests:
- # memory: 512Mi
- # cpu: 2
- # limits:
- # memory: 1Gi
- # cpu: 4
- schedule: "0 0 * * *"
- startingDeadlineSeconds:
- annotations: {}
- podAnnotations: {}
- daysToRetain: 7
- # s3:
- # credentialsSecret: aws-credentials-secret
- # bucketName: bucket
- # ## Optional. Specify if you're using an alternate S3 endpoint.
- # # endpointUrl: ""