2b494a4b3503021b981613c5dcb405e4424ea081
[ric-plt/ric-dep.git] / helm / 3rdparty / influxdb / values.yaml
1 ## influxdb image version
2 ## ref: https://hub.docker.com/r/library/influxdb/tags/
3 image:
4   repository: "influxdb"
5   tag: "1.8.0-alpine"
6   pullPolicy: IfNotPresent
7   ## If specified, use these secrets to access the images
8   # pullSecrets:
9   #   - registry-secret
10
11
12 serviceAccount:
13   create: true
14   name:
15   annotations: {}
16
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/
20 ##
21 livenessProbe: {}
22   # path: "/ping"
23   # initialDelaySeconds: 30
24   # timeoutSeconds: 5
25   # scheme: HTTP
26
27 readinessProbe: {}
28   # path: "/ping"
29   # initialDelaySeconds: 5
30   # timeoutSeconds: 1
31   # scheme: HTTP
32
33 securityContext: {}
34   # runAsUser: 999
35   # runAsGroup: 999
36
37 startupProbe:
38   enabled: false
39   # path: "/ping"
40   # failureThreshold: 6
41   # periodSeconds: 5
42   # scheme: HTTP
43
44 ## Specify a service type
45 ## NodePort is default
46 ## ref: http://kubernetes.io/docs/user-guide/services/
47 ##
48 service:
49   ## Add annotations to service
50   # annotations: {}
51   type: ClusterIP
52   # externalIPs: []
53   # externalTrafficPolicy: ""
54
55 ## Persist data to a persistent volume
56 ##
57 persistence:
58   enabled: true
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
62   # existingClaim:
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)
69   ##
70   # storageClass: "-"
71   annotations:
72   accessMode: ReadWriteOnce
73   size: 8Gi
74
75 ## Deploy InfluxDB Enterprise - License required
76 ## ref: https://www.influxdata.com/products/influxdb-enterprise/
77 enterprise:
78   enabled: false
79   licensekey: {}
80   clusterSize: 4
81   meta:
82     image:
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
86       tag: meta
87     clusterSize: 3
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/
92     resources: {}
93   #  resources:
94   #    requests:
95   #      memory: 512Mi
96   #      cpu: 2
97   #    limits:
98   #      memory: 1Gi
99   #      cpu: 4
100
101 ## Create default user through Kubernetes job
102 ## Defaults indicated below
103 ##
104 setDefaultUser:
105   enabled: false
106
107   ## Image of the container used for job
108   ## Default: appropriate/curl:latest
109   ##
110   image: appropriate/curl:latest
111
112   ## Deadline for job so it does not retry forever.
113   ## Default: activeDeadline: 300
114   ##
115   activeDeadline: 300
116
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
119   ##
120   backoffLimit: 6
121
122   ## Hook delete policy for helm.
123   ## Default: hookDeletePolicy: hook-succeeded
124   ##
125   hookDeletePolicy: hook-succeeded
126
127   ## Restart policy for job
128   ## Default: OnFailure
129   restartPolicy: OnFailure
130
131   user:
132
133     ## The user name
134     ## Default: "admin"
135     username: "admin"
136
137     ## User password
138     ## single quotes must be escaped (\')
139     ## Default: (Randomly generated 10 characters of AlphaNum)
140     # password:
141
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
146
147     ## User privileges
148     ## Default: "WITH ALL PRIVILEGES"
149     privileges: "WITH ALL PRIVILEGES"
150
151 ## Configure resource requests and limits
152 ## ref: http://kubernetes.io/docs/user-guide/compute-resources/
153 resources: {}
154 #  requests:
155 #    memory: 256Mi
156 #    cpu: 0.1
157 #  limits:
158 #    memory: 16Gi
159 #    cpu: 8
160
161 # Annotations to be added to InfluxDB pods
162 podAnnotations: {}
163
164 # Labels to be added to InfluxDB pods
165 podLabels: {}
166
167 ingress:
168   enabled: false
169   tls: false
170   # secretName: my-tls-cert # only needed if tls above is true
171   hostname: influxdb.foobar.com
172   className: null
173   annotations: {}
174     # kubernetes.io/ingress.class: "nginx"
175     # kubernetes.io/tls-acme: "true"
176   path: /
177
178
179 ## Add custom volume and volumeMounts
180 # volumes:
181 #   - name: ssl-cert-volume
182 #     secret:
183 #       secretName: secret-name
184 # mountPoints:
185 #   - name: ssl-cert-volume
186 #     mountPath: /etc/ssl/certs/selfsigned/
187 #     readOnly: true
188
189 ## Additional containers to be added to the pod.
190 extraContainers: {}
191 #  - name: my-sidecar
192 #    image: nginx:latest
193
194 ## Use an alternate scheduler, e.g. "stork".
195 ## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
196 ##
197 # schedulerName:
198
199 ## Node labels for pod assignment
200 ## Ref: https://kubernetes.io/docs/user-guide/node-selection/
201 ##
202 nodeSelector: {}
203
204 ## Affinity for pod assignment
205 ## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
206 ##
207 affinity: {}
208
209 ## Tolerations for pod assignment
210 ## Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
211 ##
212 tolerations: []
213 # - key: "key"
214 #   operator: "Equal|Exists"
215 #   value: "value"
216 #   effect: "NoSchedule|PreferNoSchedule|NoExecute(1.6 only)"
217
218 ## The InfluxDB image uses several environment variables to automatically
219 ## configure certain parts of the server.
220 ## Ref: https://hub.docker.com/_/influxdb/
221 env: {}
222   # - name: INFLUXDB_DB
223   #   value: "demo"
224
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.
229 envFromSecret: {}
230
231 ## InfluxDB configuration
232 ## ref: https://docs.influxdata.com/influxdb/v1.7/administration/config
233 config:
234   reporting_disabled: false
235   rpc: {}
236   meta: {}
237   data: {}
238   coordinator: {}
239   retention: {}
240   shard_precreation: {}
241   monitor: {}
242   http: {}
243   logging: {}
244   subscriber: {}
245   graphite: {}
246   collectd: {}
247   opentsdb: {}
248   udp: {}
249   continuous_queries: {}
250   tls: {}
251
252 # Allow executing custom init scripts
253 #
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.
257 initScripts:
258   enabled: false
259   scripts:
260     init.iql: |+
261       CREATE DATABASE "telegraf" WITH DURATION 30d REPLICATION 1 NAME "rp_30d"
262
263 backup:
264   enabled: false
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.
267   resources:
268     requests:
269       # memory: 512Mi
270       # cpu: 2
271       ephemeral-storage: "8Gi"
272     # limits:
273       # memory: 1Gi
274       # cpu: 4
275       # ephemeral-storage: "16Gi"
276   ## If backup destination is PVC, or want to use intermediate PVC before uploading to object store.
277   persistence:
278     enabled: false
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)
284     ##
285     # storageClass: "-"
286     annotations:
287     accessMode: ReadWriteOnce
288     size: 8Gi
289   schedule: "0 0 * * *"
290   startingDeadlineSeconds: ""
291   annotations: {}
292   podAnnotations: {}
293
294   ## Google Cloud Storage
295   # gcs:
296   #    serviceAccountSecret: influxdb-backup-key
297   #    serviceAccountSecretKey: key.json
298   #    destination: gs://bucket/influxdb
299
300   ## Azure
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.
303   # azure:
304   #   storageAccountSecret: influxdb-backup-azure-key
305   #   destination_container: influxdb-container
306   #   destination_path: ""
307
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.
313   # s3:
314   #   credentialsSecret: aws-credentials-secret
315   #   destination: s3://bucket/path
316   #   ## Optional. Specify if you're using an alternate S3 endpoint.
317   #   # endpointUrl: ""
318
319 backupRetention:
320   enabled: false
321   resources:
322     requests:
323       # memory: 512Mi
324       # cpu: 2
325     # limits:
326       # memory: 1Gi
327       # cpu: 4
328   schedule: "0 0 * * *"
329   startingDeadlineSeconds:
330   annotations: {}
331   podAnnotations: {}
332   daysToRetain: 7
333   # s3:
334   #   credentialsSecret: aws-credentials-secret
335   #   bucketName: bucket
336   #   ## Optional. Specify if you're using an alternate S3 endpoint.
337   #   # endpointUrl: ""