4 pullPolicy: IfNotPresent
6 ## Annotations to be added to InfluxDB pods
10 ## Labels to be added to InfluxDB pods
17 ## Configure resource requests and limits
18 ## ref: http://kubernetes.io/docs/user-guide/compute-resources/
21 # We usually recommend not to specify default resources and to leave this as a conscious
22 # choice for the user. This also increases chances charts run on environments with little
23 # resources, such as Minikube. If you do want to specify resources, uncomment the following
24 # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
32 ## Node labels for pod assignment
33 ## ref: https://kubernetes.io/docs/user-guide/node-selection/
37 ## Tolerations for pod assignment
38 ## Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
42 ## Affinity for pod assignment
43 ## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
49 ## Customize liveness, readiness and startup probes
50 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/
55 # initialDelaySeconds: 0
63 # initialDelaySeconds: 0
73 # initialDelaySeconds: 30
78 ## Extra environment variables to configure influxdb
90 ## Create default user through docker entrypoint
91 ## Defaults indicated below
94 organization: "influxdata"
97 retention_policy: "0s"
98 ## Leave empty to generate a random password and token.
99 ## Or fill any of these values to use fixed values.
103 ## The password and token are obtained from an existing secret. The expected
104 ## keys are `admin-password` and `admin-token`.
105 ## If set, the password and token values above are ignored.
106 # existingSecret: influxdb-auth
108 ## Persist data to a persistent volume
112 ## If true will use an existing PVC instead of creating one
114 ## Name of existing PVC to be used in the influx deployment
116 ## influxdb data Persistent Volume Storage Class
117 ## If defined, storageClassName: <storageClass>
118 ## If set to "-", storageClassName: "", which disables dynamic provisioning
119 ## If undefined (the default) or set to null, no storageClassName spec is
120 ## set, choosing the default provisioner. (gp2 on AWS, standard on
121 ## GKE, AWS & OpenStack)
124 accessMode: ReadWriteOnce
126 mountPath: /var/lib/influxdb2
129 ## Add custom volume and volumeMounts
132 # - name: influxdb2-templates
134 # path: /data/influxdb2-templates
137 # - name: influxdb2-templates
138 # mountPath: /influxdb2-templates
141 ## Allow executing custom init scripts
142 ## If the container finds any files with the .sh extension inside of the
143 ## /docker-entrypoint-initdb.d folder, it will execute them.
144 ## When multiple scripts are present, they will be executed in lexical sort order by name.
145 ## For more details see Custom Initialization Scripts in https://hub.docker.com/_/influxdb
151 influx apply --force yes -u https://raw.githubusercontent.com/influxdata/community-templates/master/influxdb2_operational_monitoring/influxdb2_operational_monitoring.yml
153 ## Specify a service type
154 ## ref: http://kubernetes.io/docs/user-guide/services/
165 # Specifies whether a ServiceAccount should be created
167 # The name of the ServiceAccount to use.
168 # If not set and create is true, a name is generated using the fullname template
170 # Annotations for the ServiceAccount
175 # For Kubernetes >= 1.18 you should specify the ingress-controller via the field ingressClassName
176 # See https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/#specifying-the-class-of-an-ingress
179 # secretName: my-tls-cert # only needed if tls above is true or default certificate is not configured for Nginx
180 hostname: influxdb.foobar.com
182 # kubernetes.io/ingress.class: "nginx"
183 # kubernetes.io/tls-acme: "true"
186 ## Pod disruption budget configuration
189 ## Specifies whether a Pod disruption budget should be created