1 ## influxdb image version
2 ## ref: https://hub.docker.com/r/library/influxdb/tags/
6 pullPolicy: IfNotPresent
7 ## If specified, use these secrets to access the images
17 ## Customize liveness, readiness and startup probes
18 ## ref: https://docs.influxdata.com/influxdb/v1.7/tools/api/#ping-http-endpoint
19 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/
23 # initialDelaySeconds: 30
29 # initialDelaySeconds: 5
44 ## Specify a service type
45 ## NodePort is default
46 ## ref: http://kubernetes.io/docs/user-guide/services/
49 ## Add annotations to service
53 # externalTrafficPolicy: ""
55 ## Persist data to a persistent volume
59 ## A manually managed Persistent Volume and Claim
60 ## Requires persistence.enabled: true
61 ## If defined, PVC must be created manually before volume will be bound
63 ## influxdb data Persistent Volume Storage Class
64 ## If defined, storageClassName: <storageClass>
65 ## If set to "-", storageClassName: "", which disables dynamic provisioning
66 ## If undefined (the default) or set to null, no storageClassName spec is
67 ## set, choosing the default provisioner. (gp2 on AWS, standard on
68 ## GKE, AWS & OpenStack)
72 accessMode: ReadWriteOnce
75 ## Deploy InfluxDB Enterprise - License required
76 ## ref: https://www.influxdata.com/products/influxdb-enterprise/
83 ## This image contains the enterprise meta node package for clustering.
84 ## It is meant to be used in conjunction with the influxdb:data package of the same version.
85 ## ref: https://hub.docker.com/_/influxdb
88 ## seed is hashed and used as `internal-shared-secret` for Meta service.
89 seed: dead-beef-cafe-bae
90 ## Configure resource requests and limits
91 ## ref: http://kubernetes.io/docs/user-guide/compute-resources/
101 ## Create default user through Kubernetes job
102 ## Defaults indicated below
107 ## Image of the container used for job
108 ## Default: appropriate/curl:latest
110 image: appropriate/curl:latest
112 ## Deadline for job so it does not retry forever.
113 ## Default: activeDeadline: 300
117 ## Specify the number of retries before considering job as failed.
118 ## https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#pod-backoff-failure-policy
122 ## Hook delete policy for helm.
123 ## Default: hookDeletePolicy: hook-succeeded
125 hookDeletePolicy: hook-succeeded
127 ## Restart policy for job
128 ## Default: OnFailure
129 restartPolicy: OnFailure
138 ## single quotes must be escaped (\')
139 ## Default: (Randomly generated 10 characters of AlphaNum)
142 ## The user name and password are obtained from an existing secret. The expected
143 ## keys are `influxdb-user` and `influxdb-password`.
144 ## If set, the username and password values above are ignored.
145 # existingSecret: influxdb-auth
148 ## Default: "WITH ALL PRIVILEGES"
149 privileges: "WITH ALL PRIVILEGES"
151 ## Configure resource requests and limits
152 ## ref: http://kubernetes.io/docs/user-guide/compute-resources/
161 # Annotations to be added to InfluxDB pods
164 # Labels to be added to InfluxDB pods
170 # secretName: my-tls-cert # only needed if tls above is true
171 hostname: influxdb.foobar.com
174 # kubernetes.io/ingress.class: "nginx"
175 # kubernetes.io/tls-acme: "true"
179 ## Add custom volume and volumeMounts
181 # - name: ssl-cert-volume
183 # secretName: secret-name
185 # - name: ssl-cert-volume
186 # mountPath: /etc/ssl/certs/selfsigned/
189 ## Additional containers to be added to the pod.
192 # image: nginx:latest
194 ## Use an alternate scheduler, e.g. "stork".
195 ## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
199 ## Node labels for pod assignment
200 ## Ref: https://kubernetes.io/docs/user-guide/node-selection/
204 ## Affinity for pod assignment
205 ## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
209 ## Tolerations for pod assignment
210 ## Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
214 # operator: "Equal|Exists"
216 # effect: "NoSchedule|PreferNoSchedule|NoExecute(1.6 only)"
218 ## The InfluxDB image uses several environment variables to automatically
219 ## configure certain parts of the server.
220 ## Ref: https://hub.docker.com/_/influxdb/
222 # - name: INFLUXDB_DB
225 ## The name of a secret in the same kubernetes namespace which contain values
226 ## to be added to the environment.
227 ## This can be used, for example, to set the INFLUXDB_HTTP_SHARED_SECRET
228 ## environment variable.
231 ## InfluxDB configuration
232 ## ref: https://docs.influxdata.com/influxdb/v1.7/administration/config
234 reporting_disabled: false
240 shard_precreation: {}
249 continuous_queries: {}
252 # Allow executing custom init scripts
254 # If the container finds any files with the extensions .sh or .iql inside of the
255 # /docker-entrypoint-initdb.d folder, it will execute them. The order they are
256 # executed in is determined by the shell. This is usually alphabetical order.
261 CREATE DATABASE "telegraf" WITH DURATION 30d REPLICATION 1 NAME "rp_30d"
265 ## By default emptyDir is used as a transitory volume before uploading to object store.
266 ## As such, ensure that a sufficient ephemeral storage request is set to prevent node disk filling completely.
271 ephemeral-storage: "8Gi"
275 # ephemeral-storage: "16Gi"
276 ## If backup destination is PVC, or want to use intermediate PVC before uploading to object store.
279 ## If defined, storageClassName: <storageClass>
280 ## If set to "-", storageClassName: "", which disables dynamic provisioning
281 ## If undefined (the default) or set to null, no storageClassName spec is
282 ## set, choosing the default provisioner. (gp2 on AWS, standard on
283 ## GKE, AWS & OpenStack)
287 accessMode: ReadWriteOnce
289 schedule: "0 0 * * *"
290 startingDeadlineSeconds: ""
294 ## Google Cloud Storage
296 # serviceAccountSecret: influxdb-backup-key
297 # serviceAccountSecretKey: key.json
298 # destination: gs://bucket/influxdb
301 ## Secret is expected to have connection string stored in `connection-string` field
302 ## Existing container will be used or private one withing storage account will be created.
304 # storageAccountSecret: influxdb-backup-azure-key
305 # destination_container: influxdb-container
306 # destination_path: ""
308 ## Amazon S3 or compatible
309 ## Secret is expected to have AWS (or compatible) credentials stored in `credentials` field.
310 ## Please look at https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-files.html#cli-configure-files-where
311 ## for the credentials format.
312 ## The bucket should already exist.
314 # credentialsSecret: aws-credentials-secret
315 # destination: s3://bucket/path
316 # ## Optional. Specify if you're using an alternate S3 endpoint.
328 schedule: "0 0 * * *"
329 startingDeadlineSeconds:
334 # credentialsSecret: aws-credentials-secret
336 # ## Optional. Specify if you're using an alternate S3 endpoint.