ef7f8f136409d82aebfed11695059f4f916208d0
[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: true
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     auth-enabled: true
244   logging:
245     level: "debug"
246   subscriber: {}
247   graphite: {}
248   collectd: {}
249   opentsdb: {}
250   udp: {}
251   continuous_queries: {}
252   tls: {}
253
254 # Allow executing custom init scripts
255 #
256 # If the container finds any files with the extensions .sh or .iql inside of the
257 # /docker-entrypoint-initdb.d folder, it will execute them. The order they are
258 # executed in is determined by the shell. This is usually alphabetical order.
259 initScripts:
260   enabled: false
261   scripts:
262     init.iql: |+
263       CREATE DATABASE "telegraf" WITH DURATION 30d REPLICATION 1 NAME "rp_30d"
264
265 backup:
266   enabled: false
267   ## By default emptyDir is used as a transitory volume before uploading to object store.
268   ## As such, ensure that a sufficient ephemeral storage request is set to prevent node disk filling completely.
269   resources:
270     requests:
271       # memory: 512Mi
272       # cpu: 2
273       ephemeral-storage: "8Gi"
274     # limits:
275       # memory: 1Gi
276       # cpu: 4
277       # ephemeral-storage: "16Gi"
278   ## If backup destination is PVC, or want to use intermediate PVC before uploading to object store.
279   persistence:
280     enabled: false
281     ## If defined, storageClassName: <storageClass>
282     ## If set to "-", storageClassName: "", which disables dynamic provisioning
283     ## If undefined (the default) or set to null, no storageClassName spec is
284     ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
285     ##   GKE, AWS & OpenStack)
286     ##
287     # storageClass: "-"
288     annotations:
289     accessMode: ReadWriteOnce
290     size: 8Gi
291   schedule: "0 0 * * *"
292   startingDeadlineSeconds: ""
293   annotations: {}
294   podAnnotations: {}
295
296   ## Google Cloud Storage
297   # gcs:
298   #    serviceAccountSecret: influxdb-backup-key
299   #    serviceAccountSecretKey: key.json
300   #    destination: gs://bucket/influxdb
301
302   ## Azure
303   ## Secret is expected to have connection string stored in `connection-string` field
304   ## Existing container will be used or private one withing storage account will be created.
305   # azure:
306   #   storageAccountSecret: influxdb-backup-azure-key
307   #   destination_container: influxdb-container
308   #   destination_path: ""
309
310   ## Amazon S3 or compatible
311   ## Secret is expected to have AWS (or compatible) credentials stored in `credentials` field.
312   ## Please look at https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-files.html#cli-configure-files-where
313   ## for the credentials format.
314   ## The bucket should already exist.
315   # s3:
316   #   credentialsSecret: aws-credentials-secret
317   #   destination: s3://bucket/path
318   #   ## Optional. Specify if you're using an alternate S3 endpoint.
319   #   # endpointUrl: ""
320
321 backupRetention:
322   enabled: false
323   resources:
324     requests:
325       # memory: 512Mi
326       # cpu: 2
327     # limits:
328       # memory: 1Gi
329       # cpu: 4
330   schedule: "0 0 * * *"
331   startingDeadlineSeconds:
332   annotations: {}
333   podAnnotations: {}
334   daysToRetain: 7
335   # s3:
336   #   credentialsSecret: aws-credentials-secret
337   #   bucketName: bucket
338   #   ## Optional. Specify if you're using an alternate S3 endpoint.
339   #   # endpointUrl: ""