DirectorySecurity AdvisoriesPricing
Sign inTry Starter for free
Directory
thanos logoHELM

thanos

Helm chart
iamguarded
Last changed
Request a free trial

Contact our team to test out this Helm chart and related images for free. Please also indicate any other images you would like to evaluate.

Overview
Chart tags
Default values
Chart metadata
Images

Tag:
Compare:

1
# This file has been modified by Chainguard, Inc.
2
#
3
# Copyright Chainguard, Inc. All Rights Reserved.
4
# Chainguard, Inc. modifications are subject to the license
5
# available at: https://www.chainguard.dev/legal/software-license-agreement
6
#
7
# Copyright Broadcom, Inc. All Rights Reserved.
8
# SPDX-License-Identifier: APACHE-2.0
9
10
## @section Global parameters
11
## Global Docker image parameters
12
## Please, note that this will override the image parameters, including dependencies, configured to use the global value
13
## Current available global Docker image parameters: imageRegistry, imagePullSecrets and storageClass
14
15
## @param global.imageRegistry Global Docker image registry
16
## @param global.useImageTags Pull every image by tag and ignore all image digests, including digests set in values. Use this when your registry mirror does not have the chart's default image digests.
17
## @param global.imagePullSecrets Global Docker registry secret names as an array
18
## @param global.defaultStorageClass Global default StorageClass for Persistent Volume(s)
19
##
20
global:
21
imageRegistry: ""
22
useImageTags: false
23
## e.g:
24
## imagePullSecrets:
25
## - myRegistryKeySecretName
26
##
27
imagePullSecrets: []
28
defaultStorageClass: ""
29
## Security parameters
30
##
31
security:
32
## @param global.security.allowInsecureImages Allows skipping image verification
33
allowInsecureImages: false
34
## Compatibility adaptations for Kubernetes platforms
35
##
36
compatibility:
37
## Compatibility adaptations for Openshift
38
##
39
openshift:
40
## @param global.compatibility.openshift.adaptSecurityContext Adapt the securityContext sections of the deployment to make them compatible with Openshift restricted-v2 SCC: remove runAsUser, runAsGroup and fsGroup and let the platform use their allowed default IDs. Possible values: auto (apply if the detected running cluster is Openshift), force (perform the adaptation always), disabled (do not perform adaptation)
41
##
42
adaptSecurityContext: auto
43
org: ""
44
## @section Common parameters
45
46
## @param kubeVersion Force target Kubernetes version (using Helm capabilities if not set)
47
##
48
kubeVersion: ""
49
## @param nameOverride String to partially override common.names.fullname template (will maintain the release name)
50
##
51
nameOverride: ""
52
## @param fullnameOverride String to fully override common.names.fullname template
53
##
54
fullnameOverride: ""
55
## @param commonLabels Add labels to all the deployed resources
56
##
57
commonLabels: {}
58
## @param commonAnnotations Add annotations to all the deployed resources
59
##
60
commonAnnotations: {}
61
## @param clusterDomain Kubernetes Cluster Domain
62
##
63
clusterDomain: cluster.local
64
## @param extraDeploy Array of extra objects to deploy with the release
65
##
66
extraDeploy: []
67
## @section Thanos common parameters
68
69
## Iamguarded Thanos image
70
## @param image.registry [default: REGISTRY_NAME] Thanos image registry
71
## @param image.repository [default: REPOSITORY_NAME/thanos] Thanos image repository
72
## @skip image.tag Thanos image tag (immutable tags are recommended)
73
## @param image.digest Thanos image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag
74
## @param image.pullPolicy Thanos image pull policy
75
## @param image.pullSecrets Specify docker-registry secret names as an array
76
##
77
image:
78
registry: cgr.dev
79
repository: chainguard-private/thanos-iamguarded
80
tag: 0.42.5
81
digest: ""
82
## ref: https://kubernetes.io/docs/concepts/containers/images/#pre-pulled-images
83
##
84
pullPolicy: IfNotPresent
85
## Optionally specify an array of imagePullSecrets.
86
## Secrets must be manually created in the namespace.
87
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
88
## e.g:
89
## pullSecrets:
90
## - myRegistryKeySecretName
91
##
92
pullSecrets: []
93
## @param objstoreConfig The [objstore configuration](https://thanos.io/tip/thanos/storage.md/)
94
## Specify content for objstore.yml
95
##
96
objstoreConfig: ""
97
## @param indexCacheConfig The [index cache configuration](https://thanos.io/tip/components/store.md/)
98
## Specify content for index-cache.yml
99
##
100
indexCacheConfig: ""
101
## @param bucketCacheConfig The [bucket cache configuration](https://thanos.io/tip/components/store.md/)
102
## Specify content for bucket-cache.yml
103
##
104
bucketCacheConfig: ""
105
## @param existingObjstoreSecret Secret with Objstore Configuration
106
## Note: This will override objstoreConfig
107
##
108
existingObjstoreSecret: ""
109
## @param existingObjstoreSecretItems Optional item list for specifying a custom Secret key. If so, path should be objstore.yml
110
##
111
existingObjstoreSecretItems: []
112
## @param httpConfig The [https and basic auth configuration](https://thanos.io/tip/operating/https.md/)
113
## If provided, overrides settings under https.* and auth.*
114
httpConfig: ""
115
## @param existingHttpConfigSecret Secret containing the HTTPS and Basic auth configuration
116
##
117
existingHttpConfigSecret: ""
118
## HTTPS configuration (Experimental)
119
## Ref: https://thanos.io/tip/operating/https.md/
120
##
121
https:
122
## @param https.enabled Set to true to enable HTTPS. Requires a secret containing the certificate and key.
123
##
124
enabled: false
125
## @param https.autoGenerated Create self-signed TLS certificates.
126
##
127
autoGenerated: false
128
## @param https.existingSecret Existing secret containing your own server key and certificate
129
##
130
existingSecret: ""
131
## @param https.certFilename
132
##
133
certFilename: "tls.crt"
134
## @param https.keyFilename
135
##
136
keyFilename: "tls.key"
137
## @param https.caFilename
138
##
139
caFilename: "ca.crt"
140
## @param https.key TLS Key for Thanos HTTPS - ignored if existingSecret is provided
141
## @param https.cert TLS Certificate for Thanos HTTPS - ignored if existingSecret is provided
142
## @param https.ca (Optional, used for client) CA Certificate for Thanos HTTPS - ignored if existingSecret is provided
143
##
144
key: ""
145
cert: ""
146
ca: ""
147
## @param https.clientAuthType Server policy for client authentication using certificates. Maps to ClientAuth Policies.
148
## For more detail on clientAuth options: https://golang.org/pkg/crypto/tls/#ClientAuthType
149
clientAuthType: ""
150
## @param https.extraTlsServerConfig Extra tls_server_config options
151
## For more detail on possible options: https://thanos.io/tip/operating/https.md
152
extraTlsServerConfig: {}
153
## Thanos Basic authentication (Experimental)
154
##
155
auth:
156
## @param auth.basicAuthUsers Object containing <user>:<passwords> key-value pairs for each user that will have access via basic authentication
157
## Note: Passwords will be later encrypted using bcrypt
158
basicAuthUsers: {}
159
## @section Thanos Query parameters
160
query:
161
## @param query.enabled Set to true to enable Thanos Query component
162
##
163
enabled: true
164
## @param query.logLevel Thanos Query log level
165
##
166
logLevel: info
167
## @param query.logFormat Thanos Query log format
168
##
169
logFormat: logfmt
170
## @param query.replicaLabel Replica indicator(s) along which data is de-duplicated
171
##
172
replicaLabel: [replica]
173
## Dynamically configure store APIs using DNS discovery
174
## @param query.dnsDiscovery.enabled Enable store APIs discovery via DNS
175
## @param query.dnsDiscovery.sidecarsService Sidecars service name to discover them using DNS discovery
176
## @param query.dnsDiscovery.sidecarsNamespace Sidecars namespace to discover them using DNS discovery
177
##
178
dnsDiscovery:
179
enabled: true
180
sidecarsService: ""
181
sidecarsNamespace: ""
182
## @param query.stores Statically configure store APIs to connect with Thanos Query
183
##
184
stores: []
185
## @param query.sdConfig Query Service Discovery Configuration
186
## Specify content for servicediscovery.yml
187
##
188
sdConfig: ""
189
## @param query.existingSDConfigmap Name of existing ConfigMap with Ruler configuration
190
## NOTE: This will override query.sdConfig
191
##
192
existingSDConfigmap: ""
193
## @param query.extraEnvVars Extra environment variables for Thanos Query container
194
## e.g:
195
## extraEnvVars:
196
## - name: FOO
197
## value: "bar"
198
##
199
extraEnvVars: []
200
## @param query.extraEnvVarsCM Name of existing ConfigMap containing extra env vars for Thanos Query nodes
201
##
202
extraEnvVarsCM: ""
203
## @param query.extraEnvVarsSecret Name of existing Secret containing extra env vars for Thanos Query nodes
204
##
205
extraEnvVarsSecret: ""
206
## @param query.extraFlags Extra Flags to passed to Thanos Query
207
##
208
extraFlags: []
209
## @param query.command Override default container command (useful when using custom images)
210
##
211
command: []
212
## @param query.args Override default container args (useful when using custom images)
213
##
214
args: []
215
## @param query.replicaCount Number of Thanos Query replicas to deploy
216
##
217
replicaCount: 1
218
## @param query.revisionHistoryLimit The number of old history to retain to allow rollback
219
##
220
revisionHistoryLimit: 10
221
## @param query.updateStrategy.type Update strategy type for Thanos Query replicas
222
##
223
updateStrategy:
224
type: RollingUpdate
225
## @param query.containerPorts.http HTTP container port
226
## @param query.containerPorts.grpc HTTP container port
227
##
228
containerPorts:
229
http: 10902
230
grpc: 10901
231
## K8s Pod Security Context for Thanos Query pods
232
## https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
233
## @param query.podSecurityContext.enabled Enable security context for the Thanos Query pods
234
## @param query.podSecurityContext.fsGroupChangePolicy Set filesystem group change policy
235
## @param query.podSecurityContext.sysctls Set kernel settings using the sysctl interface
236
## @param query.podSecurityContext.supplementalGroups Set filesystem extra groups
237
## @param query.podSecurityContext.fsGroup Group ID for the filesystem used by Thanos Query pods
238
##
239
podSecurityContext:
240
enabled: true
241
fsGroupChangePolicy: Always
242
sysctls: []
243
supplementalGroups: []
244
fsGroup: 1001
245
## K8s containers' Security Context for Thanos Query containers
246
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
247
## @param query.containerSecurityContext.enabled Enabled containers' Security Context
248
## @param query.containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in container
249
## @param query.containerSecurityContext.runAsUser Set containers' Security Context runAsUser
250
## @param query.containerSecurityContext.runAsGroup Set containers' Security Context runAsGroup
251
## @param query.containerSecurityContext.runAsNonRoot Set container's Security Context runAsNonRoot
252
## @param query.containerSecurityContext.privileged Set container's Security Context privileged
253
## @param query.containerSecurityContext.readOnlyRootFilesystem Set container's Security Context readOnlyRootFilesystem
254
## @param query.containerSecurityContext.allowPrivilegeEscalation Set container's Security Context allowPrivilegeEscalation
255
## @param query.containerSecurityContext.capabilities.drop List of capabilities to be dropped
256
## @param query.containerSecurityContext.seccompProfile.type Set container's Security Context seccomp profile
257
##
258
containerSecurityContext:
259
enabled: true
260
seLinuxOptions: {}
261
runAsUser: 1001
262
runAsGroup: 1001
263
runAsNonRoot: true
264
privileged: false
265
readOnlyRootFilesystem: true
266
allowPrivilegeEscalation: false
267
capabilities:
268
drop: ["ALL"]
269
seccompProfile:
270
type: "RuntimeDefault"
271
## Thanos Query containers' resource requests and limits
272
## ref: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
273
## @param query.resourcesPreset Set container resources according to one common preset (allowed values: none, nano, micro, small, medium, large, xlarge, 2xlarge). This is ignored if query.resources is set (query.resources is recommended for production).
274
##
275
resourcesPreset: "nano"
276
## @param query.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
277
## Example:
278
## resources:
279
## requests:
280
## cpu: 2
281
## memory: 512Mi
282
## limits:
283
## cpu: 3
284
## memory: 1024Mi
285
##
286
resources: {}
287
## Configure extra options for Thanos Query containers' liveness and readiness probes
288
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
289
## @param query.livenessProbe.enabled Enable livenessProbe on Thanos Query containers
290
## @param query.livenessProbe.initialDelaySeconds Initial delay seconds for livenessProbe
291
## @param query.livenessProbe.periodSeconds Period seconds for livenessProbe
292
## @param query.livenessProbe.timeoutSeconds Timeout seconds for livenessProbe
293
## @param query.livenessProbe.failureThreshold Failure threshold for livenessProbe
294
## @param query.livenessProbe.successThreshold Success threshold for livenessProbe
295
##
296
livenessProbe:
297
enabled: true
298
initialDelaySeconds: 30
299
timeoutSeconds: 30
300
periodSeconds: 10
301
successThreshold: 1
302
failureThreshold: 6
303
## @param query.readinessProbe.enabled Enable readinessProbe on Thanos Query containers
304
## @param query.readinessProbe.initialDelaySeconds Initial delay seconds for readinessProbe
305
## @param query.readinessProbe.periodSeconds Period seconds for readinessProbe
306
## @param query.readinessProbe.timeoutSeconds Timeout seconds for readinessProbe
307
## @param query.readinessProbe.failureThreshold Failure threshold for readinessProbe
308
## @param query.readinessProbe.successThreshold Success threshold for readinessProbe
309
##
310
readinessProbe:
311
enabled: true
312
initialDelaySeconds: 30
313
timeoutSeconds: 30
314
periodSeconds: 10
315
successThreshold: 1
316
failureThreshold: 6
317
## @param query.startupProbe.enabled Enable startupProbe on Thanos Query containers
318
## @param query.startupProbe.initialDelaySeconds Initial delay seconds for startupProbe
319
## @param query.startupProbe.periodSeconds Period seconds for startupProbe
320
## @param query.startupProbe.timeoutSeconds Timeout seconds for startupProbe
321
## @param query.startupProbe.failureThreshold Failure threshold for startupProbe
322
## @param query.startupProbe.successThreshold Success threshold for startupProbe
323
##
324
startupProbe:
325
enabled: false
326
initialDelaySeconds: 5
327
periodSeconds: 5
328
timeoutSeconds: 1
329
failureThreshold: 15
330
successThreshold: 1
331
## @param query.customLivenessProbe Custom livenessProbe that overrides the default one
332
##
333
customLivenessProbe: {}
334
## @param query.customReadinessProbe Custom readinessProbe that overrides the default one
335
##
336
customReadinessProbe: {}
337
## @param query.customStartupProbe Custom startupProbe that overrides the default one
338
##
339
customStartupProbe: {}
340
## @param query.initContainers Add additional init containers to the Thanos Query pods
341
## ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
342
## e.g:
343
## initContainers:
344
## - name: your-image-name
345
## image: your-image
346
## imagePullPolicy: Always
347
## command: ['sh', '-c', 'echo "hello world"']
348
##
349
initContainers: []
350
## @param query.sidecars Extra containers running as sidecars to Thanos Query pods
351
## e.g:
352
## sidecars:
353
## - name: your-image-name
354
## image: your-image
355
## imagePullPolicy: Always
356
## ports:
357
## - name: portname
358
## containerPort: 1234
359
##
360
sidecars: []
361
## @param query.extraVolumes Extra volumes to add to Thanos Query
362
##
363
extraVolumes: []
364
## @param query.extraVolumeMounts Extra volume mounts to add to the query container
365
##
366
extraVolumeMounts: []
367
## @param query.podAffinityPreset Thanos Query pod affinity preset
368
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
369
##
370
podAffinityPreset: ""
371
## @param query.podAntiAffinityPreset Thanos Query pod anti-affinity preset. Ignored if `query.affinity` is set. Allowed values: `soft` or `hard`
372
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
373
##
374
podAntiAffinityPreset: soft
375
## @param query.podAntiAffinityPresetTopologyKey Thanos Query pod anti-affinity topologyKey. Ignored if `query.affinity` is set.
376
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
377
##
378
podAntiAffinityPresetTopologyKey: ""
379
## Thanos Query node affinity preset
380
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
381
##
382
nodeAffinityPreset:
383
## @param query.nodeAffinityPreset.type Thanos Query node affinity preset type. Ignored if `query.affinity` is set. Allowed values: `soft` or `hard`
384
##
385
type: ""
386
## @param query.nodeAffinityPreset.key Thanos Query node label key to match Ignored if `query.affinity` is set.
387
## e.g:
388
## key: "kubernetes.io/e2e-az-name"
389
##
390
key: ""
391
## @param query.nodeAffinityPreset.values Thanos Query node label values to match. Ignored if `query.affinity` is set.
392
## e.g:
393
## values:
394
## - e2e-az1
395
## - e2e-az2
396
##
397
values: []
398
## @param query.affinity Thanos Query affinity for pod assignment
399
## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
400
## Note: query.podAffinityPreset, query.podAntiAffinityPreset, and query.nodeAffinityPreset will be ignored when it's set
401
##
402
affinity: {}
403
## @param query.nodeSelector Thanos Query node labels for pod assignment
404
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
405
##
406
nodeSelector: {}
407
## @param query.tolerations Thanos Query tolerations for pod assignment
408
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
409
##
410
tolerations: []
411
## @param query.podLabels Thanos Query pod labels
412
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
413
##
414
podLabels: {}
415
## @param query.podAnnotations Annotations for Thanos Query pods
416
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
417
##
418
podAnnotations: {}
419
## @param query.dnsConfig Deployment pod DNS config
420
## ref: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/
421
## E.g.
422
## dnsConfig:
423
## options:
424
## - name: ndots
425
## value: "4"
426
## - name: single-request-reopen
427
##
428
dnsConfig: {}
429
## @param query.dnsPolicy Deployment pod DNS policy
430
## ref: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/
431
## E.g.
432
## dnsPolicy: ClusterFirstWithHostNet
433
##
434
dnsPolicy: ""
435
## @param query.hostAliases Deployment pod host aliases
436
## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
437
##
438
hostAliases: []
439
## @param query.lifecycleHooks for the Thanos Query container(s) to automate configuration before or after startup
440
##
441
lifecycleHooks: {}
442
## @param query.priorityClassName Thanos Query priorityClassName
443
## ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/
444
##
445
priorityClassName: ""
446
## @param query.schedulerName Name of the k8s scheduler (other than default) for Thanos Query pods
447
## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
448
##
449
schedulerName: ""
450
## @param query.topologySpreadConstraints Topology Spread Constraints for Thanos Query pods assignment spread across your cluster among failure-domains
451
## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/#spread-constraints-for-pods
452
##
453
topologySpreadConstraints: []
454
## Thanos Query GRPC parameters
455
## ref: https://github.com/thanos-io/thanos/blob/master/docs/components/query.md#flags
456
##
457
grpc:
458
## GRPC server side
459
##
460
server:
461
## TLS configuration
462
## @param query.grpc.server.tls.enabled Enable TLS encryption in the GRPC server
463
## @param query.grpc.server.tls.autoGenerated Create self-signed TLS certificates. Currently only supports PEM certificates
464
## @param query.grpc.server.tls.cert TLS Certificate for GRPC server - ignored if existingSecret is provided
465
## @param query.grpc.server.tls.key TLS Key for GRPC server - ignored if existingSecret is provided
466
## @param query.grpc.server.tls.ca TLS CA to verify clients against - ignored if existingSecret is provided
467
## @param query.grpc.server.tls.clientAuthEnabled Enable TLS client verification against provided CA
468
## @param query.grpc.server.tls.existingSecret Existing secret containing your own TLS certificates
469
## e.g:
470
## existingSecret:
471
## name: foo
472
## keyMapping:
473
## ca-cert: ca.pem
474
## tls-cert: cert.pem
475
## tls-key: key.pem
476
##
477
tls:
478
enabled: false
479
autoGenerated: false
480
cert: ""
481
key: ""
482
ca: ""
483
clientAuthEnabled: true
484
existingSecret: {}
485
## GRPC client side
486
##
487
client:
488
## @param query.grpc.client.serverName Server name to verify the hostname on the returned GRPC certificates
489
##
490
serverName: ""
491
## TLS configuration
492
## @param query.grpc.client.tls.enabled Enable TLS encryption in the GRPC server
493
## @param query.grpc.client.tls.autoGenerated Create self-signed TLS certificates. Currently only supports PEM certificates
494
## @param query.grpc.client.tls.cert TLS Certificate for GRPC server - ignored if existingSecret is provided
495
## @param query.grpc.client.tls.key TLS Key for GRPC server - ignored if existingSecret is provided
496
## @param query.grpc.client.tls.ca TLS CA to verify clients against - ignored if existingSecret is provided
497
## @param query.grpc.client.tls.existingSecret Existing secret containing your own TLS certificates
498
## e.g:
499
## existingSecret:
500
## name: foo
501
## keyMapping:
502
## ca-cert: ca.pem
503
## tls-cert: cert.pem
504
## tls-key: key.pem
505
##
506
tls:
507
enabled: false
508
autoGenerated: false
509
cert: ""
510
key: ""
511
ca: ""
512
existingSecret: {}
513
## Network Policies
514
## Ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/
515
##
516
networkPolicy:
517
## @param query.networkPolicy.enabled Specifies whether a NetworkPolicy should be created
518
##
519
enabled: true
520
## @param query.networkPolicy.allowExternal Don't require client label for connections
521
## The Policy model to apply. When set to false, only pods with the correct
522
## client label will have network access to the ports the application is listening
523
## on. When true, the app will accept connections from any source
524
## (with the correct destination port).
525
##
526
allowExternal: true
527
## @param query.networkPolicy.allowExternalEgress Allow the pod to access any range of port and all destinations.
528
##
529
allowExternalEgress: true
530
## @param query.networkPolicy.extraIngress [array] Add extra ingress rules to the NetworkPolicy
531
## e.g:
532
## extraIngress:
533
## - ports:
534
## - port: 1234
535
## from:
536
## - podSelector:
537
## - matchLabels:
538
## - role: frontend
539
## - podSelector:
540
## - matchExpressions:
541
## - key: role
542
## operator: In
543
## values:
544
## - frontend
545
extraIngress: []
546
## @param query.networkPolicy.extraEgress [array] Add extra ingress rules to the NetworkPolicy
547
## e.g:
548
## extraEgress:
549
## - ports:
550
## - port: 1234
551
## to:
552
## - podSelector:
553
## - matchLabels:
554
## - role: frontend
555
## - podSelector:
556
## - matchExpressions:
557
## - key: role
558
## operator: In
559
## values:
560
## - frontend
561
##
562
extraEgress: []
563
## @param query.networkPolicy.ingressNSMatchLabels [object] Labels to match to allow traffic from other namespaces
564
## @param query.networkPolicy.ingressNSPodMatchLabels [object] Pod labels to match to allow traffic from other namespaces
565
##
566
ingressNSMatchLabels: {}
567
ingressNSPodMatchLabels: {}
568
## Service parameters
569
##
570
service:
571
## @param query.service.type Kubernetes service type
572
##
573
type: ClusterIP
574
## @param query.service.ports.http Thanos Query service HTTP port
575
##
576
ports:
577
http: 9090
578
## @param query.service.nodePorts.http Specify the Thanos Query HTTP nodePort value for the LoadBalancer and NodePort service types
579
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
580
##
581
nodePorts:
582
http: ""
583
## @param query.service.clusterIP Thanos Query service clusterIP IP
584
## e.g:
585
## clusterIP: None
586
##
587
clusterIP: ""
588
## @param query.service.loadBalancerIP Load balancer IP if service type is `LoadBalancer`
589
## Set the LoadBalancer service type to internal only
590
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
591
##
592
loadBalancerIP: ""
593
## @param query.service.loadBalancerSourceRanges Address that are allowed when service is LoadBalancer
594
## https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
595
## e.g:
596
## loadBalancerSourceRanges:
597
## - 10.10.10.0/24
598
##
599
loadBalancerSourceRanges: []
600
## @param query.service.externalTrafficPolicy Thanos Query service externalTrafficPolicy
601
## Denotes if this Service desires to route external traffic to node-local or cluster-wide endpoints
602
##
603
externalTrafficPolicy: Cluster
604
## @param query.service.labels Labels for Thanos Query service
605
##
606
labels: {}
607
## @param query.service.annotations Annotations for Thanos Query service
608
##
609
annotations: {}
610
## @param query.service.extraPorts Extra ports to expose in the Thanos Query service
611
##
612
extraPorts: []
613
## @param query.service.labelSelectorsOverride Selector for Thanos Query service
614
##
615
labelSelectorsOverride: {}
616
## @param query.service.additionalHeadless Additional Headless service
617
##
618
additionalHeadless: false
619
## Headless service properties
620
##
621
headless:
622
## @param query.service.headless.annotations Annotations for the headless service.
623
##
624
annotations: {}
625
## @param query.service.ipFamilyPolicy Sets the IP family policy for the Service to be able to configure dual-stack; see [Configure dual-stack](https://kubernetes.io/docs/concepts/services-networking/dual-stack/#services).
626
##
627
ipFamilyPolicy: ""
628
## @param query.service.ipFamilies A list of IP families for the Service that should be supported, in the order in which they should be applied. Can be "IPv4" and/or "IPv6".
629
##
630
ipFamilies: []
631
## Service GRPC parameters
632
##
633
serviceGrpc:
634
## @param query.serviceGrpc.type Kubernetes service type
635
##
636
type: ClusterIP
637
## @param query.serviceGrpc.ports.grpc Thanos Query service GRPC port
638
##
639
ports:
640
grpc: 10901
641
## @param query.serviceGrpc.nodePorts.grpc Specify the Thanos Query GRPC nodePort value for the LoadBalancer and NodePort service types
642
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
643
##
644
nodePorts:
645
grpc: ""
646
## @param query.serviceGrpc.clusterIP Thanos Query service clusterIP IP
647
## e.g:
648
## clusterIP: None
649
##
650
clusterIP: ""
651
## @param query.serviceGrpc.loadBalancerIP Load balancer IP if service type is `LoadBalancer`
652
## Set the LoadBalancer service type to internal only
653
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
654
##
655
loadBalancerIP: ""
656
## @param query.serviceGrpc.loadBalancerSourceRanges Address that are allowed when service is LoadBalancer
657
## https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
658
## e.g:
659
## loadBalancerSourceRanges:
660
## - 10.10.10.0/24
661
##
662
loadBalancerSourceRanges: []
663
## @param query.serviceGrpc.externalTrafficPolicy Thanos Query service externalTrafficPolicy
664
## Denotes if this Service desires to route external traffic to node-local or cluster-wide endpoints
665
##
666
externalTrafficPolicy: Cluster
667
## @param query.serviceGrpc.labels Labels for Thanos Query service GRPC
668
##
669
labels: {}
670
## @param query.serviceGrpc.annotations Annotations for Thanos Query service
671
##
672
annotations: {}
673
## @param query.serviceGrpc.extraPorts Extra ports to expose in the Thanos Query service
674
##
675
extraPorts: []
676
## @param query.serviceGrpc.labelSelectorsOverride Selector for Thanos Query service
677
##
678
labelSelectorsOverride: {}
679
## @param query.serviceGrpc.additionalHeadless Additional Headless service
680
##
681
additionalHeadless: false
682
## Headless service properties
683
##
684
headless:
685
## @param query.serviceGrpc.headless.annotations Annotations for the headless service.
686
##
687
annotations: {}
688
## @param query.serviceGrpc.ipFamilyPolicy Sets the IP family policy for the Service to be able to configure dual-stack; see [Configure dual-stack](https://kubernetes.io/docs/concepts/services-networking/dual-stack/#services).
689
##
690
ipFamilyPolicy: ""
691
## @param query.serviceGrpc.ipFamilies A list of IP families for the Service that should be supported, in the order in which they should be applied. Can be "IPv4" and/or "IPv6".
692
##
693
ipFamilies: []
694
## Autoscaling parameters
695
## @param query.automountServiceAccountToken Enable/disable auto mounting of the service account token only for the deployment
696
##
697
automountServiceAccountToken: true
698
## ServiceAccount configuration
699
## @param query.serviceAccount.create Specifies whether a ServiceAccount should be created
700
## @param query.serviceAccount.name Name of the service account to use. If not set and create is true, a name is generated using the fullname template.
701
## @param query.serviceAccount.annotations Annotations for Thanos Query Service Account
702
## @param query.serviceAccount.automountServiceAccountToken Enable/disable auto mounting of the service account token
703
##
704
serviceAccount:
705
create: true
706
name: ""
707
annotations: {}
708
automountServiceAccountToken: false
709
## RBAC configuration
710
##
711
rbac:
712
## @param query.rbac.create Create a ClusterRole and ClusterRoleBinding for the Thanos Query Service Account
713
##
714
create: false
715
## @param query.rbac.rules Custom RBAC rules to set
716
## e.g:
717
## rules:
718
## - apiGroups:
719
## - ""
720
## resources:
721
## - pods
722
## verbs:
723
## - get
724
## - list
725
##
726
rules: []
727
## @param query.pspEnabled Whether to create a PodSecurityPolicy for Thanos Query
728
## WARNING: PodSecurityPolicy is deprecated in Kubernetes v1.21 or later, unavailable in v1.25 or later
729
##
730
pspEnabled: false
731
## Thanos Query Autoscaling configuration
732
## ref: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/
733
## @param query.autoscaling.enabled Enable autoscaling for Thanos Query
734
## @param query.autoscaling.minReplicas Minimum number of Thanos Query replicas
735
## @param query.autoscaling.maxReplicas Maximum number of Thanos Query replicas
736
## @param query.autoscaling.targetCPU Target CPU utilization percentage
737
## @param query.autoscaling.targetMemory Target Memory utilization percentage
738
## @param query.autoscaling.targetPodMetrics [array] List of custom pod metrics name and averageValue to evaluate for scaling
739
## @param query.autoscaling.behavior HPA Behavior
740
## @param query.externalAutoscaler Specifies whether the Thanos Query deployment is scaled by an external autoscaler
741
## e.g.
742
## targetPodMetrics:
743
## - name: thanos_query_range_query_duration
744
## averageValue: 2
745
## - name: thanos_query_promql_duration_metric
746
## averageValue: 0.5
747
##
748
autoscaling:
749
enabled: false
750
minReplicas: ""
751
maxReplicas: ""
752
targetCPU: ""
753
targetMemory: ""
754
targetPodMetrics: []
755
behavior: {}
756
externalAutoscaler: false
757
## Thanos Query Pod Disruption Budget configuration
758
## ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb
759
## @param query.pdb.create Enable/disable a Pod Disruption Budget creation for Thanos Query
760
## @param query.pdb.minAvailable Minimum number/percentage of pods that should remain scheduled
761
## @param query.pdb.maxUnavailable Maximum number/percentage of pods that may be made unavailable
762
##
763
pdb:
764
create: true
765
minAvailable: ""
766
maxUnavailable: ""
767
## Configure the ingress resource that allows you to access Thanos Query
768
## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/
769
##
770
ingress:
771
## @param query.ingress.enabled Enable ingress controller resource
772
##
773
enabled: false
774
## @param query.ingress.hostname Default host for the ingress resource
775
##
776
hostname: thanos.local
777
## @param query.ingress.secretName Custom secretName for the ingress resource
778
## If query.ingress.secretName is not set, the secret will be named as follows: query.ingress.hostname-tls
779
secretName: ""
780
## @param query.ingress.ingressClassName IngressClass that will be be used to implement the Ingress (Kubernetes 1.18+)
781
## This is supported in Kubernetes 1.18+ and required if you have more than one IngressClass marked as the default for your cluster .
782
## ref: https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/
783
##
784
ingressClassName: ""
785
## @param query.ingress.labels Additional label for the Ingress resource.
786
## Use this parameter to set the required labels for your needs
787
## e.g:
788
## labels:
789
## dns-managed-by-external-dns: 'true'
790
##
791
labels: {}
792
## @param query.ingress.annotations Additional annotations for the Ingress resource. To enable certificate autogeneration, place here your cert-manager annotations.
793
## For a full list of possible ingress annotations, please see
794
## ref: https://github.com/kubernetes/ingress-nginx/blob/main/docs/user-guide/nginx-configuration/annotations.md
795
## Use this parameter to set the required annotations for cert-manager, see
796
## ref: https://cert-manager.io/docs/usage/ingress/#supported-annotations
797
##
798
## e.g:
799
## annotations:
800
## kubernetes.io/ingress.class: nginx
801
## cert-manager.io/cluster-issuer: cluster-issuer-name
802
##
803
annotations: {}
804
## @param query.ingress.extraHosts The list of additional hostnames to be covered with this ingress record.
805
## Most likely the hostname above will be enough, but in the event more hosts are needed, this is an array
806
## extraHosts:
807
## - name: thanos.local
808
## path: /
809
## pathType: ImplementationSpecific
810
##
811
extraHosts: []
812
## @param query.ingress.extraTls The tls configuration for additional hostnames to be covered with this ingress record.
813
## see: https://kubernetes.io/docs/concepts/services-networking/ingress/#tls
814
## extraTls:
815
## - hosts:
816
## - thanos.local
817
## secretName: thanos.local-tls
818
##
819
extraTls: []
820
## @param query.ingress.secrets If you're providing your own certificates, please use this to add the certificates as secrets
821
## key and certificate should start with -----BEGIN CERTIFICATE----- or
822
## -----BEGIN RSA PRIVATE KEY-----
823
##
824
## name should line up with a tlsSecret set further up
825
## If you're using cert-manager, this is unneeded, as it will create the secret for you if it is not set
826
##
827
## It is also possible to create and manage the certificates outside of this helm chart
828
## Please see README.md for more information
829
## e.g:
830
## - name: thanos.local-tls
831
## key:
832
## certificate:
833
##
834
secrets: []
835
## @param query.ingress.extraRules Additional rules to be covered with this ingress record
836
## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/#ingress-rules
837
## e.g:
838
## extraRules:
839
## - host: example.local
840
## http:
841
## path: /
842
## backend:
843
## service:
844
## name: example-svc
845
## port:
846
## name: http
847
##
848
extraRules: []
849
## @param query.ingress.tls Enable TLS configuration for the hostname defined at `query.ingress.hostname` parameter
850
## TLS certificates will be retrieved from a TLS secret with name: `{{- printf "%s-tls" .Values.query.ingress.hostname }}`
851
## You can:
852
## - Use the `query.ingress.secrets` parameter to create this TLS secret
853
## - Rely on cert-manager to create it by setting the corresponding annotations
854
## - Rely on Helm to create self-signed certificates by setting `query.ingress.selfSigned=true`
855
##
856
tls: false
857
## @param query.ingress.selfSigned Create a TLS secret for this ingress record using self-signed certificates generated by Helm
858
##
859
selfSigned: false
860
## @param query.ingress.apiVersion Force Ingress API version (automatically detected if not set)
861
##
862
apiVersion: ""
863
## @param query.ingress.path Ingress path
864
##
865
path: /
866
## @param query.ingress.pathType Ingress path type
867
##
868
pathType: ImplementationSpecific
869
## Create an ingress object for the GRPC service. This requires an HTTP/2
870
## capable Ingress controller (eg. traefik using AWS NLB). Example annotations
871
## - ingress.kubernetes.io/protocol: h2c
872
## - service.beta.kubernetes.io/aws-load-balancer-type: nlb
873
## - service.beta.kubernetes.io/aws-load-balancer-backend-protocol: tcp
874
## For more information see https://kubernetes.io/docs/concepts/cluster-administration/cloud-providers/
875
## and also the documentation for your ingress controller.
876
##
877
## The options that are accepted are identical to the HTTP one listed above
878
##
879
grpc:
880
## @param query.ingress.grpc.enabled Enable ingress controller resource (GRPC)
881
##
882
enabled: false
883
## @param query.ingress.grpc.hostname Default host for the ingress resource (GRPC)
884
##
885
hostname: thanos-grpc.local
886
## @param query.ingress.grpc.secretName Custom secretName for the ingress resource (GRPC)
887
## If query.ingress.grpc.secretName is not set, the secret will be named as follows: query.ingress.grpc.hostname-tls
888
secretName: ""
889
## @param query.ingress.grpc.ingressClassName IngressClass that will be be used to implement the Ingress (Kubernetes 1.18+)
890
## This is supported in Kubernetes 1.18+ and required if you have more than one IngressClass marked as the default for your cluster .
891
## ref: https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/
892
##
893
ingressClassName: ""
894
## @param query.ingress.grpc.annotations Additional annotations for the Ingress resource (GRPC). To enable certificate autogeneration, place here your cert-manager annotations.
895
## For a full list of possible ingress annotations, please see
896
## ref: https://github.com/kubernetes/ingress-nginx/blob/main/docs/user-guide/nginx-configuration/annotations.md
897
## Use this parameter to set the required annotations for cert-manager, see
898
## ref: https://cert-manager.io/docs/usage/ingress/#supported-annotations
899
##
900
## Examples:
901
## kubernetes.io/ingress.class: nginx
902
## cert-manager.io/cluster-issuer: cluster-issuer-name
903
##
904
annotations: {}
905
## @param query.ingress.grpc.extraHosts The list of additional hostnames to be covered with this ingress record.
906
## Most likely the hostname above will be enough, but in the event more hosts are needed, this is an array
907
## extraHosts:
908
## - name: thanos-grpc.local
909
## path: /
910
##
911
extraHosts: []
912
## @param query.ingress.grpc.extraTls The tls configuration for additional hostnames to be covered with this ingress record.
913
## see: https://kubernetes.io/docs/concepts/services-networking/ingress/#tls
914
## extraTls:
915
## - hosts:
916
## - thanos-grpc.local
917
## secretName: thanos-grpc.local-tls
918
##
919
extraTls: []
920
## @param query.ingress.grpc.secrets If you're providing your own certificates, please use this to add the certificates as secrets
921
## key and certificate should start with -----BEGIN CERTIFICATE----- or
922
## -----BEGIN RSA PRIVATE KEY-----
923
##
924
## name should line up with a tlsSecret set further up
925
## If you're using cert-manager, this is unneeded, as it will create the secret for you if it is not set
926
##
927
## It is also possible to create and manage the certificates outside of this helm chart
928
## Please see README.md for more information
929
## e.g:
930
## - name: thanos-grpc.local-tls
931
## key:
932
## certificate:
933
##
934
secrets: []
935
## @param query.ingress.grpc.extraRules Additional rules to be covered with this ingress record
936
## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/#ingress-rules
937
## e.g:
938
## extraRules:
939
## - host: example.local
940
## http:
941
## path: /
942
## backend:
943
## service:
944
## name: example-svc
945
## port:
946
## name: http
947
##
948
extraRules: []
949
## @param query.ingress.grpc.tls Enable TLS configuration for the hostname defined at `query.ingress.grpc.hostname` parameter
950
## TLS certificates will be retrieved from a TLS secret with name: `{{- printf "%s-tls" .Values.query.ingress.grpc.hostname }}`
951
## You can:
952
## - Use the `query.ingress.grpc.secrets` parameter to create this TLS secret
953
## - Rely on cert-manager to create it by setting the corresponding annotations
954
## - Rely on Helm to create self-signed certificates by setting `query.ingress.grpc.selfSigned=true`
955
##
956
tls: false
957
## @param query.ingress.grpc.selfSigned Create a TLS secret for this ingress record using self-signed certificates generated by Helm
958
##
959
selfSigned: false
960
## @param query.ingress.grpc.apiVersion Override API Version (automatically detected if not set)
961
##
962
apiVersion: ""
963
## @param query.ingress.grpc.path Ingress Path
964
##
965
path: /
966
## @param query.ingress.grpc.pathType Ingress Path type
967
##
968
pathType: ImplementationSpecific
969
## @section Thanos Query Frontend parameters
970
queryFrontend:
971
## @param queryFrontend.enabled Enable/disable Thanos Query Frontend component
972
##
973
enabled: true
974
## @param queryFrontend.logLevel Thanos Query Frontend log level
975
##
976
logLevel: info
977
## @param queryFrontend.logFormat Thanos Query Frontend log format
978
##
979
logFormat: logfmt
980
## @param queryFrontend.config Thanos Query Frontend configuration
981
## Specify content for config.yml
982
##
983
config: ""
984
## @param queryFrontend.existingConfigmap Name of existing ConfigMap with Thanos Query Frontend configuration
985
## NOTE: This will override queryFrontend.config
986
##
987
existingConfigmap: ""
988
## @param queryFrontend.extraEnvVars Extra environment variables for Thanos Query Frontend container
989
## e.g:
990
## extraEnvVars:
991
## - name: FOO
992
## value: "bar"
993
##
994
extraEnvVars: []
995
## @param queryFrontend.extraEnvVarsCM Name of existing ConfigMap containing extra env vars for Thanos Query Frontend nodes
996
##
997
extraEnvVarsCM: ""
998
## @param queryFrontend.extraEnvVarsSecret Name of existing Secret containing extra env vars for Thanos Query Frontend nodes
999
##
1000
extraEnvVarsSecret: ""
1001
## @param queryFrontend.extraFlags Extra Flags to passed to Thanos Query Frontend
1002
##
1003
extraFlags: []
1004
## @param queryFrontend.command Override default container command (useful when using custom images)
1005
##
1006
command: []
1007
## @param queryFrontend.args Override default container args (useful when using custom images)
1008
##
1009
args: []
1010
## @param queryFrontend.replicaCount Number of Thanos Query Frontend replicas to deploy
1011
##
1012
replicaCount: 1
1013
## @param queryFrontend.revisionHistoryLimit The number of old history to retain to allow rollback
1014
##
1015
revisionHistoryLimit: 10
1016
## @param queryFrontend.updateStrategy.type Update strategy type for Thanos Query Frontend replicas
1017
##
1018
updateStrategy:
1019
type: RollingUpdate
1020
## @param queryFrontend.containerPorts.http HTTP container port
1021
##
1022
containerPorts:
1023
http: 9090
1024
## K8s Pod Security Context for Thanos Query Frontend pods
1025
## https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
1026
## @param queryFrontend.podSecurityContext.enabled Enable security context for the Thanos Query Frontend pods
1027
## @param queryFrontend.podSecurityContext.fsGroupChangePolicy Set filesystem group change policy
1028
## @param queryFrontend.podSecurityContext.sysctls Set kernel settings using the sysctl interface
1029
## @param queryFrontend.podSecurityContext.supplementalGroups Set filesystem extra groups
1030
## @param queryFrontend.podSecurityContext.fsGroup Group ID for the filesystem used by Thanos Query Frontend pods
1031
##
1032
podSecurityContext:
1033
enabled: true
1034
fsGroupChangePolicy: Always
1035
sysctls: []
1036
supplementalGroups: []
1037
fsGroup: 1001
1038
## K8s containers' Security Context for Thanos Query Frontend containers
1039
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
1040
## @param queryFrontend.containerSecurityContext.enabled Enabled containers' Security Context
1041
## @param queryFrontend.containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in container
1042
## @param queryFrontend.containerSecurityContext.runAsUser Set containers' Security Context runAsUser
1043
## @param queryFrontend.containerSecurityContext.runAsGroup Set containers' Security Context runAsGroup
1044
## @param queryFrontend.containerSecurityContext.runAsNonRoot Set container's Security Context runAsNonRoot
1045
## @param queryFrontend.containerSecurityContext.privileged Set container's Security Context privileged
1046
## @param queryFrontend.containerSecurityContext.readOnlyRootFilesystem Set container's Security Context readOnlyRootFilesystem
1047
## @param queryFrontend.containerSecurityContext.allowPrivilegeEscalation Set container's Security Context allowPrivilegeEscalation
1048
## @param queryFrontend.containerSecurityContext.capabilities.drop List of capabilities to be dropped
1049
## @param queryFrontend.containerSecurityContext.seccompProfile.type Set container's Security Context seccomp profile
1050
##
1051
containerSecurityContext:
1052
enabled: true
1053
seLinuxOptions: {}
1054
runAsUser: 1001
1055
runAsGroup: 1001
1056
runAsNonRoot: true
1057
privileged: false
1058
readOnlyRootFilesystem: true
1059
allowPrivilegeEscalation: false
1060
capabilities:
1061
drop: ["ALL"]
1062
seccompProfile:
1063
type: "RuntimeDefault"
1064
## Thanos Query Frontend containers' resource requests and limits
1065
## ref: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
1066
## @param queryFrontend.resourcesPreset Set container resources according to one common preset (allowed values: none, nano, micro, small, medium, large, xlarge, 2xlarge). This is ignored if queryFrontend.resources is set (queryFrontend.resources is recommended for production).
1067
##
1068
resourcesPreset: "nano"
1069
## @param queryFrontend.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
1070
## Example:
1071
## resources:
1072
## requests:
1073
## cpu: 2
1074
## memory: 512Mi
1075
## limits:
1076
## cpu: 3
1077
## memory: 1024Mi
1078
##
1079
resources: {}
1080
## Configure extra options for Thanos Query Frontend containers' liveness and readiness probes
1081
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
1082
## @param queryFrontend.livenessProbe.enabled Enable livenessProbe on Thanos Query Frontend containers
1083
## @param queryFrontend.livenessProbe.initialDelaySeconds Initial delay seconds for livenessProbe
1084
## @param queryFrontend.livenessProbe.periodSeconds Period seconds for livenessProbe
1085
## @param queryFrontend.livenessProbe.timeoutSeconds Timeout seconds for livenessProbe
1086
## @param queryFrontend.livenessProbe.failureThreshold Failure threshold for livenessProbe
1087
## @param queryFrontend.livenessProbe.successThreshold Success threshold for livenessProbe
1088
##
1089
livenessProbe:
1090
enabled: true
1091
initialDelaySeconds: 30
1092
timeoutSeconds: 30
1093
periodSeconds: 10
1094
successThreshold: 1
1095
failureThreshold: 6
1096
## @param queryFrontend.readinessProbe.enabled Enable readinessProbe on Thanos Query Frontend containers
1097
## @param queryFrontend.readinessProbe.initialDelaySeconds Initial delay seconds for readinessProbe
1098
## @param queryFrontend.readinessProbe.periodSeconds Period seconds for readinessProbe
1099
## @param queryFrontend.readinessProbe.timeoutSeconds Timeout seconds for readinessProbe
1100
## @param queryFrontend.readinessProbe.failureThreshold Failure threshold for readinessProbe
1101
## @param queryFrontend.readinessProbe.successThreshold Success threshold for readinessProbe
1102
##
1103
readinessProbe:
1104
enabled: true
1105
initialDelaySeconds: 30
1106
timeoutSeconds: 30
1107
periodSeconds: 10
1108
successThreshold: 1
1109
failureThreshold: 6
1110
## @param queryFrontend.startupProbe.enabled Enable startupProbe on Thanos Query Frontend containers
1111
## @param queryFrontend.startupProbe.initialDelaySeconds Initial delay seconds for startupProbe
1112
## @param queryFrontend.startupProbe.periodSeconds Period seconds for startupProbe
1113
## @param queryFrontend.startupProbe.timeoutSeconds Timeout seconds for startupProbe
1114
## @param queryFrontend.startupProbe.failureThreshold Failure threshold for startupProbe
1115
## @param queryFrontend.startupProbe.successThreshold Success threshold for startupProbe
1116
##
1117
startupProbe:
1118
enabled: false
1119
initialDelaySeconds: 5
1120
periodSeconds: 5
1121
timeoutSeconds: 1
1122
failureThreshold: 15
1123
successThreshold: 1
1124
## @param queryFrontend.customLivenessProbe Custom livenessProbe that overrides the default one
1125
##
1126
customLivenessProbe: {}
1127
## @param queryFrontend.customReadinessProbe Custom readinessProbe that overrides the default one
1128
##
1129
customReadinessProbe: {}
1130
## @param queryFrontend.customStartupProbe Custom startupProbe that overrides the default one
1131
##
1132
customStartupProbe: {}
1133
## @param queryFrontend.initContainers Add additional init containers to the Thanos Query Frontend pods
1134
## ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
1135
## e.g:
1136
## initContainers:
1137
## - name: your-image-name
1138
## image: your-image
1139
## imagePullPolicy: Always
1140
## command: ['sh', '-c', 'echo "hello world"']
1141
##
1142
initContainers: []
1143
## @param queryFrontend.sidecars Extra containers running as sidecars to Thanos Query Frontend pods
1144
## e.g:
1145
## sidecars:
1146
## - name: your-image-name
1147
## image: your-image
1148
## imagePullPolicy: Always
1149
## ports:
1150
## - name: portname
1151
## containerPort: 1234
1152
##
1153
sidecars: []
1154
## @param queryFrontend.extraVolumes Extra volumes to add to Thanos Query Frontend
1155
##
1156
extraVolumes: []
1157
## @param queryFrontend.extraVolumeMounts Extra volume mounts to add to the query-frontend container
1158
##
1159
extraVolumeMounts: []
1160
## @param queryFrontend.podAffinityPreset Thanos Query Frontend pod affinity preset
1161
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
1162
##
1163
podAffinityPreset: ""
1164
## @param queryFrontend.podAntiAffinityPreset Thanos Query Frontend pod anti-affinity preset. Ignored if `queryFrontend.affinity` is set. Allowed values: `soft` or `hard`
1165
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
1166
##
1167
podAntiAffinityPreset: soft
1168
## Thanos Query Frontend node affinity preset
1169
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
1170
##
1171
nodeAffinityPreset:
1172
## @param queryFrontend.nodeAffinityPreset.type Thanos Query Frontend node affinity preset type. Ignored if `queryFrontend.affinity` is set. Allowed values: `soft` or `hard`
1173
##
1174
type: ""
1175
## @param queryFrontend.nodeAffinityPreset.key Thanos Query Frontend node label key to match. Ignored if `queryFrontend.affinity` is set.
1176
## e.g:
1177
## key: "kubernetes.io/e2e-az-name"
1178
##
1179
key: ""
1180
## @param queryFrontend.nodeAffinityPreset.values Thanos Query Frontend node label values to match. Ignored if `queryFrontend.affinity` is set.
1181
## e.g:
1182
## values:
1183
## - e2e-az1
1184
## - e2e-az2
1185
##
1186
values: []
1187
## @param queryFrontend.affinity Thanos Query Frontend affinity for pod assignment
1188
## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
1189
## Note: queryFrontend.podAffinityPreset, queryFrontend.podAntiAffinityPreset, and queryFrontend.nodeAffinityPreset will be ignored when it's set
1190
##
1191
affinity: {}
1192
## @param queryFrontend.nodeSelector Thanos Query Frontend node labels for pod assignment
1193
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
1194
##
1195
nodeSelector: {}
1196
## @param queryFrontend.tolerations Thanos Query Frontend tolerations for pod assignment
1197
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
1198
##
1199
tolerations: []
1200
## @param queryFrontend.podLabels Thanos Query Frontend pod labels
1201
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
1202
##
1203
podLabels: {}
1204
## @param queryFrontend.podAnnotations Annotations for Thanos Query Frontend pods
1205
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
1206
##
1207
podAnnotations: {}
1208
## @param queryFrontend.dnsConfig Deployment pod DNS config
1209
## ref: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/
1210
## E.g.
1211
## dnsConfig:
1212
## options:
1213
## - name: ndots
1214
## value: "4"
1215
## - name: single-request-reopen
1216
##
1217
dnsConfig: {}
1218
## @param queryFrontend.dnsPolicy Deployment pod DNS policy
1219
## ref: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/
1220
## E.g.
1221
## dnsPolicy: ClusterFirstWithHostNet
1222
##
1223
dnsPolicy: ""
1224
## @param queryFrontend.hostAliases Deployment pod host aliases
1225
## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
1226
##
1227
hostAliases: []
1228
## @param queryFrontend.lifecycleHooks for the Thanos Query Frontend container(s) to automate configuration before or after startup
1229
##
1230
lifecycleHooks: {}
1231
## @param queryFrontend.priorityClassName Thanos Query Frontend priorityClassName
1232
## ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/
1233
##
1234
priorityClassName: ""
1235
## @param queryFrontend.schedulerName Name of the k8s scheduler (other than default) for Thanos Query Frontend pods
1236
## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
1237
##
1238
schedulerName: ""
1239
## @param queryFrontend.topologySpreadConstraints Topology Spread Constraints for Thanos Query Frontend pods assignment spread across your cluster among failure-domains
1240
## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/#spread-constraints-for-pods
1241
##
1242
topologySpreadConstraints: []
1243
## Network Policies
1244
## Ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/
1245
##
1246
networkPolicy:
1247
## @param queryFrontend.networkPolicy.enabled Specifies whether a NetworkPolicy should be created
1248
##
1249
enabled: true
1250
## @param queryFrontend.networkPolicy.allowExternal Don't require client label for connections
1251
## The Policy model to apply. When set to false, only pods with the correct
1252
## client label will have network access to the ports the application is listening
1253
## on. When true, the app will accept connections from any source
1254
## (with the correct destination port).
1255
##
1256
allowExternal: true
1257
## @param queryFrontend.networkPolicy.allowExternalEgress Allow the pod to access any range of port and all destinations.
1258
##
1259
allowExternalEgress: true
1260
## @param queryFrontend.networkPolicy.extraIngress [array] Add extra ingress rules to the NetworkPolicy
1261
## e.g:
1262
## extraIngress:
1263
## - ports:
1264
## - port: 1234
1265
## from:
1266
## - podSelector:
1267
## - matchLabels:
1268
## - role: frontend
1269
## - podSelector:
1270
## - matchExpressions:
1271
## - key: role
1272
## operator: In
1273
## values:
1274
## - frontend
1275
extraIngress: []
1276
## @param queryFrontend.networkPolicy.extraEgress [array] Add extra ingress rules to the NetworkPolicy
1277
## e.g:
1278
## extraEgress:
1279
## - ports:
1280
## - port: 1234
1281
## to:
1282
## - podSelector:
1283
## - matchLabels:
1284
## - role: frontend
1285
## - podSelector:
1286
## - matchExpressions:
1287
## - key: role
1288
## operator: In
1289
## values:
1290
## - frontend
1291
##
1292
extraEgress: []
1293
## @param queryFrontend.networkPolicy.ingressNSMatchLabels [object] Labels to match to allow traffic from other namespaces
1294
## @param queryFrontend.networkPolicy.ingressNSPodMatchLabels [object] Pod labels to match to allow traffic from other namespaces
1295
##
1296
ingressNSMatchLabels: {}
1297
ingressNSPodMatchLabels: {}
1298
## Service parameters
1299
##
1300
service:
1301
## @param queryFrontend.service.type Kubernetes service type
1302
##
1303
type: ClusterIP
1304
## @param queryFrontend.service.ports.http Thanos Query Frontend service HTTP port
1305
##
1306
ports:
1307
http: 9090
1308
## @param queryFrontend.service.nodePorts.http Specify the Thanos Query Frontend HTTP nodePort value for the LoadBalancer and NodePort service types
1309
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
1310
##
1311
nodePorts:
1312
http: ""
1313
## @param queryFrontend.service.clusterIP Thanos Query Frontend service clusterIP IP
1314
## e.g:
1315
## clusterIP: None
1316
##
1317
clusterIP: ""
1318
## @param queryFrontend.service.loadBalancerIP Load balancer IP if service type is `LoadBalancer`
1319
## Set the LoadBalancer service type to internal only
1320
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
1321
##
1322
loadBalancerIP: ""
1323
## @param queryFrontend.service.loadBalancerSourceRanges Address that are allowed when service is LoadBalancer
1324
## https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
1325
## e.g:
1326
## loadBalancerSourceRanges:
1327
## - 10.10.10.0/24
1328
##
1329
loadBalancerSourceRanges: []
1330
## @param queryFrontend.service.externalTrafficPolicy Thanos Query Frontend service externalTrafficPolicy
1331
## Denotes if this Service desires to route external traffic to node-local or cluster-wide endpoints
1332
##
1333
externalTrafficPolicy: Cluster
1334
## @param queryFrontend.service.annotations Annotations for Thanos Query Frontend service
1335
##
1336
annotations: {}
1337
## @param queryFrontend.service.labels Labels for Thanos Query Frontend service
1338
##
1339
labels: {}
1340
## @param queryFrontend.service.extraPorts Extra ports to expose in the Thanos Query Frontend service
1341
##
1342
extraPorts: []
1343
## @param queryFrontend.service.labelSelectorsOverride Selector for Thanos Query service
1344
##
1345
labelSelectorsOverride: {}
1346
## @param queryFrontend.service.ipFamilyPolicy Sets the IP family policy for the Service to be able to configure dual-stack; see [Configure dual-stack](https://kubernetes.io/docs/concepts/services-networking/dual-stack/#services).
1347
##
1348
ipFamilyPolicy: ""
1349
## @param queryFrontend.service.ipFamilies A list of IP families for the Service that should be supported, in the order in which they should be applied. Can be "IPv4" and/or "IPv6".
1350
##
1351
ipFamilies: []
1352
## @param queryFrontend.automountServiceAccountToken Enable/disable auto mounting of the service account token only for the deployment
1353
##
1354
automountServiceAccountToken: true
1355
## ServiceAccount configuration
1356
## @param queryFrontend.serviceAccount.create Specifies whether a ServiceAccount should be created
1357
## @param queryFrontend.serviceAccount.name Name of the service account to use. If not set and create is true, a name is generated using the fullname template.
1358
## @param queryFrontend.serviceAccount.annotations Annotations for Thanos Query Frontend Service Account
1359
## @param queryFrontend.serviceAccount.automountServiceAccountToken Enable/disable auto mounting of the service account token
1360
##
1361
serviceAccount:
1362
create: true
1363
name: ""
1364
annotations: {}
1365
automountServiceAccountToken: false
1366
## RBAC configuration
1367
##
1368
rbac:
1369
## @param queryFrontend.rbac.create Create a ClusterRole and ClusterRoleBinding for the Thanos Query Frontend Service Account
1370
##
1371
create: false
1372
## @param queryFrontend.rbac.rules Custom RBAC rules to set
1373
## e.g:
1374
## rules:
1375
## - apiGroups:
1376
## - ""
1377
## resources:
1378
## - pods
1379
## verbs:
1380
## - get
1381
## - list
1382
##
1383
rules: []
1384
## @param queryFrontend.pspEnabled Whether to create a PodSecurityPolicy for Thanos Query Frontend
1385
## WARNING: PodSecurityPolicy is deprecated in Kubernetes v1.21 or later, unavailable in v1.25 or later
1386
##
1387
pspEnabled: false
1388
## Thanos Query Frontend Autoscaling configuration
1389
## ref: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/
1390
## @param queryFrontend.autoscaling.enabled Enable autoscaling for Thanos Query Frontend
1391
## @param queryFrontend.autoscaling.minReplicas Minimum number of Thanos Query Frontend replicas
1392
## @param queryFrontend.autoscaling.maxReplicas Maximum number of Thanos Query Frontend replicas
1393
## @param queryFrontend.autoscaling.targetCPU Target CPU utilization percentage
1394
## @param queryFrontend.autoscaling.targetMemory Target Memory utilization percentage
1395
## @param queryFrontend.autoscaling.behavior HPA Behavior
1396
## @param queryFrontend.externalAutoscaler Specifies whether the Thanos Query Frontend deployment is scaled by an external autoscaler
1397
##
1398
autoscaling:
1399
enabled: false
1400
minReplicas: ""
1401
maxReplicas: ""
1402
targetCPU: ""
1403
targetMemory: ""
1404
behavior: {}
1405
externalAutoscaler: false
1406
## Thanos Query Frontend Pod Disruption Budget configuration
1407
## ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb
1408
## @param queryFrontend.pdb.create Enable/disable a Pod Disruption Budget creation for Thanos Query Frontend
1409
## @param queryFrontend.pdb.minAvailable Minimum number/percentage of pods that should remain scheduled
1410
## @param queryFrontend.pdb.maxUnavailable Maximum number/percentage of pods that may be made unavailable
1411
##
1412
pdb:
1413
create: true
1414
minAvailable: ""
1415
maxUnavailable: ""
1416
## Configure the ingress resource that allows you to access Thanos Query Frontend
1417
## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/
1418
##
1419
ingress:
1420
## @param queryFrontend.ingress.enabled Enable ingress controller resource
1421
##
1422
enabled: false
1423
## @param queryFrontend.ingress.hostname Default host for the ingress resource
1424
##
1425
hostname: thanos.local
1426
## @param queryFrontend.ingress.overrideAlertQueryURL Automatically use query-frontend's ingress hostname as --alert.queryURL for both Query and Ruler.
1427
## This is used in order for the expression url on alerts/rules to be correctly rendered on UI as Frontend's hostname, instead of http://localhost:10902
1428
##
1429
overrideAlertQueryURL: true
1430
## @param queryFrontend.ingress.ingressClassName IngressClass that will be be used to implement the Ingress (Kubernetes 1.18+)
1431
## This is supported in Kubernetes 1.18+ and required if you have more than one IngressClass marked as the default for your cluster .
1432
## ref: https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/
1433
##
1434
ingressClassName: ""
1435
## @param queryFrontend.ingress.labels Additional label for the Ingress resource.
1436
## Use this parameter to set the required labels for your needs
1437
## e.g:
1438
## labels:
1439
## dns-managed-by-external-dns: 'true'
1440
##
1441
labels: {}
1442
## @param queryFrontend.ingress.annotations Additional annotations for the Ingress resource. To enable certificate autogeneration, place here your cert-manager annotations.
1443
## For a full list of possible ingress annotations, please see
1444
## ref: https://github.com/kubernetes/ingress-nginx/blob/main/docs/user-guide/nginx-configuration/annotations.md
1445
## Use this parameter to set the required annotations for cert-manager, see
1446
## ref: https://cert-manager.io/docs/usage/ingress/#supported-annotations
1447
##
1448
## e.g:
1449
## annotations:
1450
## kubernetes.io/ingress.class: nginx
1451
## cert-manager.io/cluster-issuer: cluster-issuer-name
1452
##
1453
annotations: {}
1454
## @param queryFrontend.ingress.extraHosts The list of additional hostnames to be covered with this ingress record.
1455
## Most likely the hostname above will be enough, but in the event more hosts are needed, this is an array
1456
## extraHosts:
1457
## - name: thanos.local
1458
## path: /
1459
## pathType: ImplementationSpecific
1460
##
1461
extraHosts: []
1462
## @param queryFrontend.ingress.extraTls The tls configuration for additional hostnames to be covered with this ingress record.
1463
## see: https://kubernetes.io/docs/concepts/services-networking/ingress/#tls
1464
## extraTls:
1465
## - hosts:
1466
## - thanos.local
1467
## secretName: thanos.local-tls
1468
##
1469
extraTls: []
1470
## @param queryFrontend.ingress.secrets If you're providing your own certificates, please use this to add the certificates as secrets
1471
## key and certificate should start with -----BEGIN CERTIFICATE----- or
1472
## -----BEGIN RSA PRIVATE KEY-----
1473
##
1474
## name should line up with a tlsSecret set further up
1475
## If you're using cert-manager, this is unneeded, as it will create the secret for you if it is not set
1476
##
1477
## It is also possible to create and manage the certificates outside of this helm chart
1478
## Please see README.md for more information
1479
## e.g:
1480
## - name: thanos.local-tls
1481
## key:
1482
## certificate:
1483
##
1484
secrets: []
1485
## @param queryFrontend.ingress.extraRules Additional rules to be covered with this ingress record
1486
## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/#ingress-rules
1487
## e.g:
1488
## extraRules:
1489
## - host: example.local
1490
## http:
1491
## path: /
1492
## backend:
1493
## service:
1494
## name: example-svc
1495
## port:
1496
## name: http
1497
##
1498
extraRules: []
1499
## @param queryFrontend.ingress.tls Enable TLS configuration for the hostname defined at `queryFrontend.ingress.hostname` parameter
1500
## TLS certificates will be retrieved from a TLS secret with name: `{{- printf "%s-tls" .Values.queryFrontend.ingress.hostname }}`
1501
## You can:
1502
## - Use the `queryFrontend.ingress.secrets` parameter to create this TLS secret
1503
## - Rely on cert-manager to create it by setting the corresponding annotations
1504
## - Rely on Helm to create self-signed certificates by setting `queryFrontend.ingress.selfSigned=true`
1505
##
1506
tls: false
1507
## @param queryFrontend.ingress.selfSigned Create a TLS secret for this ingress record using self-signed certificates generated by Helm
1508
##
1509
selfSigned: false
1510
## @param queryFrontend.ingress.apiVersion Force Ingress API version (automatically detected if not set)
1511
##
1512
apiVersion: ""
1513
## @param queryFrontend.ingress.path Ingress path
1514
##
1515
path: /
1516
## @param queryFrontend.ingress.pathType Ingress path type
1517
##
1518
pathType: ImplementationSpecific
1519
## @section Thanos Bucket Web parameters
1520
bucketweb:
1521
## @param bucketweb.enabled Enable/disable Thanos Bucket Web component
1522
##
1523
enabled: false
1524
## @param bucketweb.logLevel Thanos Bucket Web log level
1525
##
1526
logLevel: info
1527
## @param bucketweb.logFormat Thanos Bucket Web log format
1528
##
1529
logFormat: logfmt
1530
## @param bucketweb.refresh Refresh interval to download metadata from remote storage
1531
##
1532
refresh: 30m
1533
## @param bucketweb.timeout Timeout to download metadata from remote storage
1534
##
1535
timeout: 5m
1536
## @param bucketweb.extraEnvVars Extra environment variables for Thanos Bucket Web container
1537
## e.g:
1538
## extraEnvVars:
1539
## - name: FOO
1540
## value: "bar"
1541
##
1542
extraEnvVars: []
1543
## @param bucketweb.extraEnvVarsCM Name of existing ConfigMap containing extra env vars for Thanos Bucket Web nodes
1544
##
1545
extraEnvVarsCM: ""
1546
## @param bucketweb.extraEnvVarsSecret Name of existing Secret containing extra env vars for Thanos Bucket Web nodes
1547
##
1548
extraEnvVarsSecret: ""
1549
## @param bucketweb.extraFlags Extra Flags to passed to Thanos Bucket Web
1550
##
1551
extraFlags: []
1552
## @param bucketweb.command Override default container command (useful when using custom images)
1553
##
1554
command: []
1555
## @param bucketweb.args Override default container args (useful when using custom images)
1556
##
1557
args: []
1558
## @param bucketweb.replicaCount Number of Thanos Bucket Web replicas to deploy
1559
##
1560
replicaCount: 1
1561
## @param bucketweb.revisionHistoryLimit The number of old history to retain to allow rollback
1562
##
1563
revisionHistoryLimit: 10
1564
## @param bucketweb.updateStrategy.type Update strategy type for Thanos Bucket Web replicas
1565
##
1566
updateStrategy:
1567
type: RollingUpdate
1568
## @param bucketweb.containerPorts.http HTTP container port
1569
##
1570
containerPorts:
1571
http: 8080
1572
## K8s Pod Security Context for Thanos Bucket Web pods
1573
## https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
1574
## @param bucketweb.podSecurityContext.enabled Enable security context for the Thanos Bucket Web pods
1575
## @param bucketweb.podSecurityContext.fsGroupChangePolicy Set filesystem group change policy
1576
## @param bucketweb.podSecurityContext.sysctls Set kernel settings using the sysctl interface
1577
## @param bucketweb.podSecurityContext.supplementalGroups Set filesystem extra groups
1578
## @param bucketweb.podSecurityContext.fsGroup Group ID for the filesystem used by Thanos Bucket Web pods
1579
##
1580
podSecurityContext:
1581
enabled: true
1582
fsGroupChangePolicy: Always
1583
sysctls: []
1584
supplementalGroups: []
1585
fsGroup: 1001
1586
## K8s containers' Security Context for Thanos Bucket Web containers
1587
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
1588
## @param bucketweb.containerSecurityContext.enabled Enabled containers' Security Context
1589
## @param bucketweb.containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in container
1590
## @param bucketweb.containerSecurityContext.runAsUser Set containers' Security Context runAsUser
1591
## @param bucketweb.containerSecurityContext.runAsGroup Set containers' Security Context runAsGroup
1592
## @param bucketweb.containerSecurityContext.runAsNonRoot Set container's Security Context runAsNonRoot
1593
## @param bucketweb.containerSecurityContext.privileged Set container's Security Context privileged
1594
## @param bucketweb.containerSecurityContext.readOnlyRootFilesystem Set container's Security Context readOnlyRootFilesystem
1595
## @param bucketweb.containerSecurityContext.allowPrivilegeEscalation Set container's Security Context allowPrivilegeEscalation
1596
## @param bucketweb.containerSecurityContext.capabilities.drop List of capabilities to be dropped
1597
## @param bucketweb.containerSecurityContext.seccompProfile.type Set container's Security Context seccomp profile
1598
##
1599
containerSecurityContext:
1600
enabled: true
1601
seLinuxOptions: {}
1602
runAsUser: 1001
1603
runAsGroup: 1001
1604
runAsNonRoot: true
1605
privileged: false
1606
readOnlyRootFilesystem: true
1607
allowPrivilegeEscalation: false
1608
capabilities:
1609
drop: ["ALL"]
1610
seccompProfile:
1611
type: "RuntimeDefault"
1612
## Thanos Bucket Web containers' resource requests and limits
1613
## ref: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
1614
## @param bucketweb.resourcesPreset Set container resources according to one common preset (allowed values: none, nano, micro, small, medium, large, xlarge, 2xlarge). This is ignored if bucketweb.resources is set (bucketweb.resources is recommended for production).
1615
##
1616
resourcesPreset: "nano"
1617
## @param bucketweb.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
1618
## Example:
1619
## resources:
1620
## requests:
1621
## cpu: 2
1622
## memory: 512Mi
1623
## limits:
1624
## cpu: 3
1625
## memory: 1024Mi
1626
##
1627
resources: {}
1628
## Configure extra options for Thanos Bucket Web containers' liveness and readiness probes
1629
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
1630
## @param bucketweb.livenessProbe.enabled Enable livenessProbe on Thanos Bucket Web containers
1631
## @param bucketweb.livenessProbe.initialDelaySeconds Initial delay seconds for livenessProbe
1632
## @param bucketweb.livenessProbe.periodSeconds Period seconds for livenessProbe
1633
## @param bucketweb.livenessProbe.timeoutSeconds Timeout seconds for livenessProbe
1634
## @param bucketweb.livenessProbe.failureThreshold Failure threshold for livenessProbe
1635
## @param bucketweb.livenessProbe.successThreshold Success threshold for livenessProbe
1636
##
1637
livenessProbe:
1638
enabled: true
1639
initialDelaySeconds: 30
1640
timeoutSeconds: 30
1641
periodSeconds: 10
1642
successThreshold: 1
1643
failureThreshold: 6
1644
## @param bucketweb.readinessProbe.enabled Enable readinessProbe on Thanos Bucket Web containers
1645
## @param bucketweb.readinessProbe.initialDelaySeconds Initial delay seconds for readinessProbe
1646
## @param bucketweb.readinessProbe.periodSeconds Period seconds for readinessProbe
1647
## @param bucketweb.readinessProbe.timeoutSeconds Timeout seconds for readinessProbe
1648
## @param bucketweb.readinessProbe.failureThreshold Failure threshold for readinessProbe
1649
## @param bucketweb.readinessProbe.successThreshold Success threshold for readinessProbe
1650
##
1651
readinessProbe:
1652
enabled: true
1653
initialDelaySeconds: 30
1654
timeoutSeconds: 30
1655
periodSeconds: 10
1656
successThreshold: 1
1657
failureThreshold: 6
1658
## @param bucketweb.startupProbe.enabled Enable startupProbe on Thanos Bucket Web containers
1659
## @param bucketweb.startupProbe.initialDelaySeconds Initial delay seconds for startupProbe
1660
## @param bucketweb.startupProbe.periodSeconds Period seconds for startupProbe
1661
## @param bucketweb.startupProbe.timeoutSeconds Timeout seconds for startupProbe
1662
## @param bucketweb.startupProbe.failureThreshold Failure threshold for startupProbe
1663
## @param bucketweb.startupProbe.successThreshold Success threshold for startupProbe
1664
##
1665
startupProbe:
1666
enabled: false
1667
initialDelaySeconds: 5
1668
periodSeconds: 5
1669
timeoutSeconds: 1
1670
failureThreshold: 15
1671
successThreshold: 1
1672
## @param bucketweb.customLivenessProbe Custom livenessProbe that overrides the default one
1673
##
1674
customLivenessProbe: {}
1675
## @param bucketweb.customReadinessProbe Custom readinessProbe that overrides the default one
1676
##
1677
customReadinessProbe: {}
1678
## @param bucketweb.customStartupProbe Custom startupProbe that overrides the default one
1679
##
1680
customStartupProbe: {}
1681
## @param bucketweb.initContainers Add additional init containers to the Thanos Bucket Web pods
1682
## ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
1683
## e.g:
1684
## initContainers:
1685
## - name: your-image-name
1686
## image: your-image
1687
## imagePullPolicy: Always
1688
## command: ['sh', '-c', 'echo "hello world"']
1689
##
1690
initContainers: []
1691
## @param bucketweb.sidecars Extra containers running as sidecars to Thanos Bucket Web pods
1692
## e.g:
1693
## sidecars:
1694
## - name: your-image-name
1695
## image: your-image
1696
## imagePullPolicy: Always
1697
## ports:
1698
## - name: portname
1699
## containerPort: 1234
1700
##
1701
sidecars: []
1702
## @param bucketweb.extraVolumes Extra volumes to add to Bucket Web
1703
##
1704
extraVolumes: []
1705
## @param bucketweb.extraVolumeMounts Extra volume mounts to add to the bucketweb container
1706
##
1707
extraVolumeMounts: []
1708
## @param bucketweb.podAffinityPreset Thanos Bucket Web pod affinity preset
1709
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
1710
##
1711
podAffinityPreset: ""
1712
## @param bucketweb.podAntiAffinityPreset Thanos Bucket Web pod anti-affinity preset. Ignored if `bucketweb.affinity` is set. Allowed values: `soft` or `hard`
1713
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
1714
##
1715
podAntiAffinityPreset: soft
1716
## Thanos Bucket Web node affinity preset
1717
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
1718
##
1719
nodeAffinityPreset:
1720
## @param bucketweb.nodeAffinityPreset.type Thanos Bucket Web node affinity preset type. Ignored if `bucketweb.affinity` is set. Allowed values: `soft` or `hard`
1721
##
1722
type: ""
1723
## @param bucketweb.nodeAffinityPreset.key Thanos Bucket Web node label key to match. Ignored if `bucketweb.affinity` is set.
1724
## e.g:
1725
## key: "kubernetes.io/e2e-az-name"
1726
##
1727
key: ""
1728
## @param bucketweb.nodeAffinityPreset.values Thanos Bucket Web node label values to match. Ignored if `bucketweb.affinity` is set.
1729
## e.g:
1730
## values:
1731
## - e2e-az1
1732
## - e2e-az2
1733
##
1734
values: []
1735
## @param bucketweb.affinity Thanos Bucket Web affinity for pod assignment
1736
## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
1737
## Note: bucketweb.podAffinityPreset, bucketweb.podAntiAffinityPreset, and bucketweb.nodeAffinityPreset will be ignored when it's set
1738
##
1739
affinity: {}
1740
## @param bucketweb.nodeSelector Thanos Bucket Web node labels for pod assignment
1741
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
1742
##
1743
nodeSelector: {}
1744
## @param bucketweb.tolerations Thanos Bucket Web tolerations for pod assignment
1745
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
1746
##
1747
tolerations: []
1748
## @param bucketweb.podLabels Thanos Bucket Web pod labels
1749
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
1750
##
1751
podLabels: {}
1752
## @param bucketweb.podAnnotations Annotations for Thanos Bucket Web pods
1753
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
1754
##
1755
podAnnotations: {}
1756
## @param bucketweb.dnsConfig Deployment pod DNS config
1757
## ref: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/
1758
## E.g.
1759
## dnsConfig:
1760
## options:
1761
## - name: ndots
1762
## value: "4"
1763
## - name: single-request-reopen
1764
##
1765
dnsConfig: {}
1766
## @param bucketweb.dnsPolicy Deployment pod DNS policy
1767
## ref: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/
1768
## E.g.
1769
## dnsPolicy: ClusterFirstWithHostNet
1770
##
1771
dnsPolicy: ""
1772
## @param bucketweb.hostAliases Deployment pod host aliases
1773
## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
1774
##
1775
hostAliases: []
1776
## @param bucketweb.lifecycleHooks for the Thanos Bucket Web container(s) to automate configuration before or after startup
1777
##
1778
lifecycleHooks: {}
1779
## @param bucketweb.priorityClassName Thanos Bucket Web priorityClassName
1780
## ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/
1781
##
1782
priorityClassName: ""
1783
## @param bucketweb.schedulerName Name of the k8s scheduler (other than default) for Thanos Bucket Web pods
1784
## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
1785
##
1786
schedulerName: ""
1787
## @param bucketweb.topologySpreadConstraints Topology Spread Constraints for Thanos Bucket Web pods assignment spread across your cluster among failure-domains
1788
## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/#spread-constraints-for-pods
1789
##
1790
topologySpreadConstraints: []
1791
## Network Policies
1792
## Ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/
1793
##
1794
networkPolicy:
1795
## @param bucketweb.networkPolicy.enabled Specifies whether a NetworkPolicy should be created
1796
##
1797
enabled: true
1798
## @param bucketweb.networkPolicy.allowExternal Don't require client label for connections
1799
## The Policy model to apply. When set to false, only pods with the correct
1800
## client label will have network access to the ports the application is listening
1801
## on. When true, the app will accept connections from any source
1802
## (with the correct destination port).
1803
##
1804
allowExternal: true
1805
## @param bucketweb.networkPolicy.allowExternalEgress Allow the pod to access any range of port and all destinations.
1806
##
1807
allowExternalEgress: true
1808
## @param bucketweb.networkPolicy.extraIngress [array] Add extra ingress rules to the NetworkPolicy
1809
## e.g:
1810
## extraIngress:
1811
## - ports:
1812
## - port: 1234
1813
## from:
1814
## - podSelector:
1815
## - matchLabels:
1816
## - role: frontend
1817
## - podSelector:
1818
## - matchExpressions:
1819
## - key: role
1820
## operator: In
1821
## values:
1822
## - frontend
1823
extraIngress: []
1824
## @param bucketweb.networkPolicy.extraEgress [array] Add extra ingress rules to the NetworkPolicy
1825
## e.g:
1826
## extraEgress:
1827
## - ports:
1828
## - port: 1234
1829
## to:
1830
## - podSelector:
1831
## - matchLabels:
1832
## - role: frontend
1833
## - podSelector:
1834
## - matchExpressions:
1835
## - key: role
1836
## operator: In
1837
## values:
1838
## - frontend
1839
##
1840
extraEgress: []
1841
## @param bucketweb.networkPolicy.ingressNSMatchLabels [object] Labels to match to allow traffic from other namespaces
1842
## @param bucketweb.networkPolicy.ingressNSPodMatchLabels [object] Pod labels to match to allow traffic from other namespaces
1843
##
1844
ingressNSMatchLabels: {}
1845
ingressNSPodMatchLabels: {}
1846
## Service parameters
1847
##
1848
service:
1849
## @param bucketweb.service.type Kubernetes service type
1850
##
1851
type: ClusterIP
1852
## @param bucketweb.service.ports.http Thanos Bucket Web service HTTP port
1853
##
1854
ports:
1855
http: 8080
1856
## @param bucketweb.service.nodePorts.http Specify the Thanos Bucket Web HTTP nodePort value for the LoadBalancer and NodePort service types
1857
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
1858
##
1859
nodePorts:
1860
http: ""
1861
## @param bucketweb.service.clusterIP Thanos Bucket Web service clusterIP IP
1862
## e.g:
1863
## clusterIP: None
1864
##
1865
clusterIP: ""
1866
## @param bucketweb.service.loadBalancerIP Load balancer IP if service type is `LoadBalancer`
1867
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
1868
##
1869
loadBalancerIP: ""
1870
## @param bucketweb.service.loadBalancerSourceRanges Address that are allowed when service is LoadBalancer
1871
## https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
1872
##
1873
## loadBalancerSourceRanges:
1874
## - 10.10.10.0/24
1875
##
1876
loadBalancerSourceRanges: []
1877
## @param bucketweb.service.externalTrafficPolicy Thanos Bucket Web service externalTrafficPolicy
1878
##
1879
externalTrafficPolicy: Cluster
1880
## @param bucketweb.service.labels Extra labels for Thanos Bucket Web service
1881
##
1882
labels: {}
1883
## @param bucketweb.service.annotations Annotations for Thanos Bucket Web service
1884
##
1885
annotations: {}
1886
## @param bucketweb.service.extraPorts Extra ports to expose in the Thanos Bucket Web service
1887
##
1888
extraPorts: []
1889
## @param bucketweb.service.labelSelectorsOverride Selector for Thanos Query service
1890
##
1891
labelSelectorsOverride: {}
1892
## @param bucketweb.service.ipFamilyPolicy Sets the IP family policy for the Service to be able to configure dual-stack; see [Configure dual-stack](https://kubernetes.io/docs/concepts/services-networking/dual-stack/#services).
1893
##
1894
ipFamilyPolicy: ""
1895
## @param bucketweb.service.ipFamilies A list of IP families for the Service that should be supported, in the order in which they should be applied. Can be "IPv4" and/or "IPv6".
1896
##
1897
ipFamilies: []
1898
## @param bucketweb.automountServiceAccountToken Enable/disable auto mounting of the service account token only for the deployment
1899
##
1900
automountServiceAccountToken: true
1901
## ServiceAccount configuration
1902
## @param bucketweb.serviceAccount.create Specifies whether a ServiceAccount should be created
1903
## @param bucketweb.serviceAccount.name Name of the service account to use. If not set and create is true, a name is generated using the fullname template.
1904
## @param bucketweb.serviceAccount.annotations Annotations for Thanos Bucket Web Service Account
1905
## @param bucketweb.serviceAccount.automountServiceAccountToken Enable/disable auto mounting of the service account token
1906
##
1907
serviceAccount:
1908
create: true
1909
name: ""
1910
annotations: {}
1911
automountServiceAccountToken: false
1912
## Thanos Bucket Web Autoscaling configuration
1913
## ref: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/
1914
## @param bucketweb.autoscaling.enabled Enable autoscaling for Thanos Bucket Web
1915
## @param bucketweb.autoscaling.minReplicas Minimum number of Thanos Bucket Web replicas
1916
## @param bucketweb.autoscaling.maxReplicas Maximum number of Thanos Bucket Web replicas
1917
## @param bucketweb.autoscaling.targetCPU Target CPU utilization percentage
1918
## @param bucketweb.autoscaling.targetMemory Target Memory utilization percentage
1919
## @param bucketweb.autoscaling.behavior HPA Behavior
1920
## @param bucketweb.externalAutoscaler Specifies whether the Thanos Bucket Web deployment is scaled by an external autoscaler
1921
##
1922
autoscaling:
1923
enabled: false
1924
minReplicas: ""
1925
maxReplicas: ""
1926
targetCPU: ""
1927
targetMemory: ""
1928
behavior: {}
1929
externalAutoscaler: false
1930
## Thanos Bucket Web Pod Disruption Budget configuration
1931
## ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb
1932
## @param bucketweb.pdb.create Enable/disable a Pod Disruption Budget creation for Thanos Bucket Web
1933
## @param bucketweb.pdb.minAvailable Minimum number/percentage of pods that should remain scheduled
1934
## @param bucketweb.pdb.maxUnavailable Maximum number/percentage of pods that may be made unavailable
1935
##
1936
pdb:
1937
create: true
1938
minAvailable: ""
1939
maxUnavailable: ""
1940
## Configure the ingress resource that allows you to access Thanos Bucketweb
1941
## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/
1942
##
1943
ingress:
1944
## @param bucketweb.ingress.enabled Enable ingress controller resource
1945
##
1946
enabled: false
1947
## @param bucketweb.ingress.hostname Default host for the ingress resource
1948
##
1949
hostname: thanos-bucketweb.local
1950
## @param bucketweb.ingress.ingressClassName IngressClass that will be be used to implement the Ingress (Kubernetes 1.18+)
1951
## This is supported in Kubernetes 1.18+ and required if you have more than one IngressClass marked as the default for your cluster .
1952
## ref: https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/
1953
##
1954
ingressClassName: ""
1955
## @param bucketweb.ingress.labels Additional label for the Ingress resource.
1956
## Use this parameter to set the required labels for your needs
1957
## e.g:
1958
## labels:
1959
## dns-managed-by-external-dns: 'true'
1960
##
1961
labels: {}
1962
## @param bucketweb.ingress.annotations Additional annotations for the Ingress resource. To enable certificate autogeneration, place here your cert-manager annotations.
1963
## For a full list of possible ingress annotations, please see
1964
## ref: https://github.com/kubernetes/ingress-nginx/blob/main/docs/user-guide/nginx-configuration/annotations.md
1965
## Use this parameter to set the required annotations for cert-manager, see
1966
## ref: https://cert-manager.io/docs/usage/ingress/#supported-annotations
1967
##
1968
## e.g:
1969
## annotations:
1970
## kubernetes.io/ingress.class: nginx
1971
## cert-manager.io/cluster-issuer: cluster-issuer-name
1972
##
1973
annotations: {}
1974
## @param bucketweb.ingress.extraHosts The list of additional hostnames to be covered with this ingress record.
1975
## Most likely the hostname above will be enough, but in the event more hosts are needed, this is an array
1976
## extraHosts:
1977
## - name: thanos-bucketweb.local
1978
## path: /
1979
## pathType: ImplementationSpecific
1980
##
1981
extraHosts: []
1982
## @param bucketweb.ingress.extraTls The tls configuration for additional hostnames to be covered with this ingress record.
1983
## see: https://kubernetes.io/docs/concepts/services-networking/ingress/#tls
1984
## extraTls:
1985
## - hosts:
1986
## - thanos-bucketweb.local
1987
## secretName: thanos-bucketweb.local-tls
1988
##
1989
extraTls: []
1990
## @param bucketweb.ingress.secrets If you're providing your own certificates, please use this to add the certificates as secrets
1991
## key and certificate should start with -----BEGIN CERTIFICATE----- or
1992
## -----BEGIN RSA PRIVATE KEY-----
1993
##
1994
## name should line up with a tlsSecret set further up
1995
## If you're using cert-manager, this is unneeded, as it will create the secret for you if it is not set
1996
##
1997
## It is also possible to create and manage the certificates outside of this helm chart
1998
## Please see README.md for more information
1999
## e.g:
2000
## - name: thanos-bucketweb.local-tls
2001
## key:
2002
## certificate:
2003
##
2004
secrets: []
2005
## @param bucketweb.ingress.extraRules Additional rules to be covered with this ingress record
2006
## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/#ingress-rules
2007
## e.g:
2008
## extraRules:
2009
## - host: example.local
2010
## http:
2011
## path: /
2012
## backend:
2013
## service:
2014
## name: example-svc
2015
## port:
2016
## name: http
2017
##
2018
extraRules: []
2019
## @param bucketweb.ingress.tls Enable TLS configuration for the hostname defined at `bucketweb.ingress.hostname` parameter
2020
## TLS certificates will be retrieved from a TLS secret with name: `{{- printf "%s-tls" .Values.bucketweb.ingress.hostname }}`
2021
## You can:
2022
## - Use the `bucketweb.ingress.secrets` parameter to create this TLS secret
2023
## - Rely on cert-manager to create it by setting the corresponding annotations
2024
## - Rely on Helm to create self-signed certificates by setting `bucketweb.ingress.selfSigned=true`
2025
##
2026
tls: false
2027
## @param bucketweb.ingress.selfSigned Create a TLS secret for this ingress record using self-signed certificates generated by Helm
2028
##
2029
selfSigned: false
2030
## @param bucketweb.ingress.apiVersion Force Ingress API version (automatically detected if not set)
2031
##
2032
apiVersion: ""
2033
## @param bucketweb.ingress.path Ingress path
2034
##
2035
path: /
2036
## @param bucketweb.ingress.pathType Ingress path type
2037
##
2038
pathType: ImplementationSpecific
2039
## @section Thanos Compactor parameters
2040
compactor:
2041
## @param compactor.enabled Enable/disable Thanos Compactor component
2042
##
2043
enabled: false
2044
## @param compactor.logLevel Thanos Compactor log level
2045
##
2046
logLevel: info
2047
## @param compactor.logFormat Thanos Compactor log format
2048
##
2049
logFormat: logfmt
2050
## @param compactor.dataDir Thanos Compactor data directory
2051
##
2052
dataDir: /data
2053
## Resolution and Retention flags
2054
## @param compactor.retentionResolutionRaw Resolution and Retention flag
2055
## @param compactor.retentionResolution5m Resolution and Retention flag
2056
## @param compactor.retentionResolution1h Resolution and Retention flag
2057
##
2058
retentionResolutionRaw: 30d
2059
retentionResolution5m: 30d
2060
retentionResolution1h: 10y
2061
## @param compactor.concurrency Number of goroutines to use when compacting groups.
2062
concurrency: 1
2063
## @param compactor.consistencyDelay Minimum age of fresh (non-compacted) blocks before they are being processed
2064
##
2065
consistencyDelay: 30m
2066
## @param compactor.extraEnvVars Extra environment variables for Thanos Compactor container
2067
## e.g:
2068
## extraEnvVars:
2069
## - name: FOO
2070
## value: "bar"
2071
##
2072
extraEnvVars: []
2073
## @param compactor.extraEnvVarsCM Name of existing ConfigMap containing extra env vars for Thanos Compactor nodes
2074
##
2075
extraEnvVarsCM: ""
2076
## @param compactor.extraEnvVarsSecret Name of existing Secret containing extra env vars for Thanos Compactor nodes
2077
##
2078
extraEnvVarsSecret: ""
2079
## @param compactor.extraFlags Extra Flags to passed to Thanos Compactor
2080
##
2081
extraFlags: []
2082
## @param compactor.command Override default container command (useful when using custom images)
2083
##
2084
command: []
2085
## @param compactor.args Override default container args (useful when using custom images)
2086
##
2087
args: []
2088
## @param compactor.revisionHistoryLimit The number of old history to retain to allow rollback
2089
##
2090
revisionHistoryLimit: 10
2091
## K8s CronJob configuration
2092
## ref: https://kubernetes.io/docs/tasks/job/automated-tasks-with-cron-jobs/
2093
## @param compactor.cronJob.enabled Run compactor as a CronJob rather than a Deployment
2094
## @param compactor.cronJob.schedule The schedule in Cron format, see <https://en.wikipedia.org/wiki/Cron>
2095
## @param compactor.cronJob.timeZone The time zone name for the given schedule, see <https://en.wikipedia.org/wiki/List_of_tz_database_time_zones>
2096
## @param compactor.cronJob.concurrencyPolicy Specifies how to treat concurrent executions of a Job
2097
## @param compactor.cronJob.startingDeadlineSeconds Optional deadline in seconds for starting the job if it misses scheduled time for any reason
2098
## @param compactor.cronJob.suspend This flag tells the controller to suspend subsequent executions
2099
## @param compactor.cronJob.successfulJobsHistoryLimit The number of successful finished jobs to retain
2100
## @param compactor.cronJob.failedJobsHistoryLimit The number of failed finished jobs to retain
2101
## @param compactor.cronJob.backoffLimit The number of retries before marking this job failed
2102
## @param compactor.cronJob.ttlSecondsAfterFinished The maximum retention before removing the job
2103
##
2104
cronJob:
2105
enabled: false
2106
schedule: "0 */6 * * *"
2107
timeZone: ""
2108
startingDeadlineSeconds: ""
2109
concurrencyPolicy: Forbid
2110
suspend: ""
2111
successfulJobsHistoryLimit: ""
2112
failedJobsHistoryLimit: ""
2113
backoffLimit: ""
2114
ttlSecondsAfterFinished: ""
2115
## @param compactor.restartPolicy Compactor container restart policy.
2116
## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy
2117
##
2118
restartPolicy: ""
2119
## @param compactor.updateStrategy.type Update strategy type for Thanos Compactor replicas
2120
##
2121
updateStrategy:
2122
type: Recreate
2123
## @param compactor.containerPorts.http HTTP container port
2124
##
2125
containerPorts:
2126
http: 10902
2127
## K8s Pod Security Context for Thanos Compactor pods
2128
## https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
2129
## @param compactor.podSecurityContext.enabled Enable security context for the Thanos Compactor pods
2130
## @param compactor.podSecurityContext.fsGroupChangePolicy Set filesystem group change policy
2131
## @param compactor.podSecurityContext.sysctls Set kernel settings using the sysctl interface
2132
## @param compactor.podSecurityContext.supplementalGroups Set filesystem extra groups
2133
## @param compactor.podSecurityContext.fsGroup Group ID for the filesystem used by Thanos Compactor pods
2134
##
2135
podSecurityContext:
2136
enabled: true
2137
fsGroupChangePolicy: Always
2138
sysctls: []
2139
supplementalGroups: []
2140
fsGroup: 1001
2141
## K8s containers' Security Context for Thanos Compactor containers
2142
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
2143
## @param compactor.containerSecurityContext.enabled Enabled containers' Security Context
2144
## @param compactor.containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in container
2145
## @param compactor.containerSecurityContext.runAsUser Set containers' Security Context runAsUser
2146
## @param compactor.containerSecurityContext.runAsGroup Set containers' Security Context runAsGroup
2147
## @param compactor.containerSecurityContext.runAsNonRoot Set container's Security Context runAsNonRoot
2148
## @param compactor.containerSecurityContext.privileged Set container's Security Context privileged
2149
## @param compactor.containerSecurityContext.readOnlyRootFilesystem Set container's Security Context readOnlyRootFilesystem
2150
## @param compactor.containerSecurityContext.allowPrivilegeEscalation Set container's Security Context allowPrivilegeEscalation
2151
## @param compactor.containerSecurityContext.capabilities.drop List of capabilities to be dropped
2152
## @param compactor.containerSecurityContext.seccompProfile.type Set container's Security Context seccomp profile
2153
##
2154
containerSecurityContext:
2155
enabled: true
2156
seLinuxOptions: {}
2157
runAsUser: 1001
2158
runAsGroup: 1001
2159
runAsNonRoot: true
2160
privileged: false
2161
readOnlyRootFilesystem: true
2162
allowPrivilegeEscalation: false
2163
capabilities:
2164
drop: ["ALL"]
2165
seccompProfile:
2166
type: "RuntimeDefault"
2167
## Thanos Compactor containers' resource requests and limits
2168
## ref: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
2169
## @param compactor.resourcesPreset Set container resources according to one common preset (allowed values: none, nano, micro, small, medium, large, xlarge, 2xlarge). This is ignored if compactor.resources is set (compactor.resources is recommended for production).
2170
##
2171
resourcesPreset: "nano"
2172
## @param compactor.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
2173
## Example:
2174
## resources:
2175
## requests:
2176
## cpu: 2
2177
## memory: 512Mi
2178
## limits:
2179
## cpu: 3
2180
## memory: 1024Mi
2181
##
2182
resources: {}
2183
## Configure extra options for Thanos Compactor containers' liveness and readiness probes
2184
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
2185
## @param compactor.livenessProbe.enabled Enable livenessProbe on Thanos Compactor containers
2186
## @param compactor.livenessProbe.initialDelaySeconds Initial delay seconds for livenessProbe
2187
## @param compactor.livenessProbe.periodSeconds Period seconds for livenessProbe
2188
## @param compactor.livenessProbe.timeoutSeconds Timeout seconds for livenessProbe
2189
## @param compactor.livenessProbe.failureThreshold Failure threshold for livenessProbe
2190
## @param compactor.livenessProbe.successThreshold Success threshold for livenessProbe
2191
##
2192
livenessProbe:
2193
enabled: true
2194
initialDelaySeconds: 30
2195
timeoutSeconds: 30
2196
periodSeconds: 10
2197
successThreshold: 1
2198
failureThreshold: 6
2199
## @param compactor.readinessProbe.enabled Enable readinessProbe on Thanos Compactor containers
2200
## @param compactor.readinessProbe.initialDelaySeconds Initial delay seconds for readinessProbe
2201
## @param compactor.readinessProbe.periodSeconds Period seconds for readinessProbe
2202
## @param compactor.readinessProbe.timeoutSeconds Timeout seconds for readinessProbe
2203
## @param compactor.readinessProbe.failureThreshold Failure threshold for readinessProbe
2204
## @param compactor.readinessProbe.successThreshold Success threshold for readinessProbe
2205
##
2206
readinessProbe:
2207
enabled: true
2208
initialDelaySeconds: 30
2209
timeoutSeconds: 30
2210
periodSeconds: 10
2211
successThreshold: 1
2212
failureThreshold: 6
2213
## @param compactor.startupProbe.enabled Enable startupProbe on Thanos Compactor containers
2214
## @param compactor.startupProbe.initialDelaySeconds Initial delay seconds for startupProbe
2215
## @param compactor.startupProbe.periodSeconds Period seconds for startupProbe
2216
## @param compactor.startupProbe.timeoutSeconds Timeout seconds for startupProbe
2217
## @param compactor.startupProbe.failureThreshold Failure threshold for startupProbe
2218
## @param compactor.startupProbe.successThreshold Success threshold for startupProbe
2219
##
2220
startupProbe:
2221
enabled: false
2222
initialDelaySeconds: 5
2223
periodSeconds: 5
2224
timeoutSeconds: 1
2225
failureThreshold: 15
2226
successThreshold: 1
2227
## @param compactor.customLivenessProbe Custom livenessProbe that overrides the default one
2228
##
2229
customLivenessProbe: {}
2230
## @param compactor.customReadinessProbe Custom readinessProbe that overrides the default one
2231
##
2232
customReadinessProbe: {}
2233
## @param compactor.customStartupProbe Custom startupProbe that overrides the default one
2234
##
2235
customStartupProbe: {}
2236
## @param compactor.initContainers Add additional init containers to the Thanos Compactor pods
2237
## ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
2238
## e.g:
2239
## initContainers:
2240
## - name: your-image-name
2241
## image: your-image
2242
## imagePullPolicy: Always
2243
## command: ['sh', '-c', 'echo "hello world"']
2244
##
2245
initContainers: []
2246
## @param compactor.sidecars Extra containers running as sidecars to Thanos Compactor pods
2247
## e.g:
2248
## sidecars:
2249
## - name: your-image-name
2250
## image: your-image
2251
## imagePullPolicy: Always
2252
## ports:
2253
## - name: portname
2254
## containerPort: 1234
2255
##
2256
sidecars: []
2257
## @param compactor.extraVolumes Extra volumes to add to Thanos Compactor
2258
##
2259
extraVolumes: []
2260
## @param compactor.extraVolumeMounts Extra volume mounts to add to the compactor container
2261
##
2262
extraVolumeMounts: []
2263
## @param compactor.podAffinityPreset Thanos Compactor pod affinity preset
2264
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
2265
##
2266
podAffinityPreset: ""
2267
## @param compactor.podAntiAffinityPreset Thanos Compactor pod anti-affinity preset. Ignored if `compactor.affinity` is set. Allowed values: `soft` or `hard`
2268
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
2269
##
2270
podAntiAffinityPreset: soft
2271
## Thanos Compactor node affinity preset
2272
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
2273
##
2274
nodeAffinityPreset:
2275
## @param compactor.nodeAffinityPreset.type Thanos Compactor node affinity preset type. Ignored if `compactor.affinity` is set. Allowed values: `soft` or `hard`
2276
##
2277
type: ""
2278
## @param compactor.nodeAffinityPreset.key Thanos Compactor node label key to match. Ignored if `compactor.affinity` is set.
2279
## e.g:
2280
## key: "kubernetes.io/e2e-az-name"
2281
##
2282
key: ""
2283
## @param compactor.nodeAffinityPreset.values Thanos Compactor node label values to match. Ignored if `compactor.affinity` is set.
2284
## e.g:
2285
## values:
2286
## - e2e-az1
2287
## - e2e-az2
2288
##
2289
values: []
2290
## @param compactor.affinity Thanos Compactor affinity for pod assignment
2291
## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
2292
## Note: compactor.podAffinityPreset, compactor.podAntiAffinityPreset, and compactor.nodeAffinityPreset will be ignored when it's set
2293
##
2294
affinity: {}
2295
## @param compactor.nodeSelector Thanos Compactor node labels for pod assignment
2296
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
2297
##
2298
nodeSelector: {}
2299
## @param compactor.tolerations Thanos Compactor tolerations for pod assignment
2300
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
2301
##
2302
tolerations: []
2303
## @param compactor.podLabels Thanos Compactor pod labels
2304
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
2305
##
2306
podLabels: {}
2307
## @param compactor.podAnnotations Annotations for Thanos Compactor pods
2308
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
2309
##
2310
podAnnotations: {}
2311
## @param compactor.deploymentAnnotations Thanos Compactor deployment annotations
2312
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
2313
##
2314
deploymentAnnotations: {}
2315
## @param compactor.dnsConfig Deployment pod DNS config
2316
## ref: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/
2317
## E.g.
2318
## dnsConfig:
2319
## options:
2320
## - name: ndots
2321
## value: "4"
2322
## - name: single-request-reopen
2323
##
2324
dnsConfig: {}
2325
## @param compactor.dnsPolicy Deployment pod DNS policy
2326
## ref: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/
2327
## E.g.
2328
## dnsPolicy: ClusterFirstWithHostNet
2329
##
2330
dnsPolicy: ""
2331
## @param compactor.hostAliases Deployment pod host aliases
2332
## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
2333
##
2334
hostAliases: []
2335
## @param compactor.lifecycleHooks for the Thanos Compactor container(s) to automate configuration before or after startup
2336
##
2337
lifecycleHooks: {}
2338
## @param compactor.priorityClassName Thanos Compactor priorityClassName
2339
## ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/
2340
##
2341
priorityClassName: ""
2342
## @param compactor.schedulerName Name of the k8s scheduler (other than default) for Thanos Compactor pods
2343
## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
2344
##
2345
schedulerName: ""
2346
## @param compactor.topologySpreadConstraints Topology Spread Constraints for Thanos Compactor pods assignment spread across your cluster among failure-domains
2347
## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/#spread-constraints-for-pods
2348
##
2349
topologySpreadConstraints: []
2350
## Network Policies
2351
## Ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/
2352
##
2353
networkPolicy:
2354
## @param compactor.networkPolicy.enabled Specifies whether a NetworkPolicy should be created
2355
##
2356
enabled: true
2357
## @param compactor.networkPolicy.allowExternal Don't require client label for connections
2358
## The Policy model to apply. When set to false, only pods with the correct
2359
## client label will have network access to the ports the application is listening
2360
## on. When true, the app will accept connections from any source
2361
## (with the correct destination port).
2362
##
2363
allowExternal: true
2364
## @param compactor.networkPolicy.allowExternalEgress Allow the pod to access any range of port and all destinations.
2365
##
2366
allowExternalEgress: true
2367
## @param compactor.networkPolicy.extraIngress [array] Add extra ingress rules to the NetworkPolicy
2368
## e.g:
2369
## extraIngress:
2370
## - ports:
2371
## - port: 1234
2372
## from:
2373
## - podSelector:
2374
## - matchLabels:
2375
## - role: frontend
2376
## - podSelector:
2377
## - matchExpressions:
2378
## - key: role
2379
## operator: In
2380
## values:
2381
## - frontend
2382
extraIngress: []
2383
## @param compactor.networkPolicy.extraEgress [array] Add extra ingress rules to the NetworkPolicy
2384
## e.g:
2385
## extraEgress:
2386
## - ports:
2387
## - port: 1234
2388
## to:
2389
## - podSelector:
2390
## - matchLabels:
2391
## - role: frontend
2392
## - podSelector:
2393
## - matchExpressions:
2394
## - key: role
2395
## operator: In
2396
## values:
2397
## - frontend
2398
##
2399
extraEgress: []
2400
## @param compactor.networkPolicy.ingressNSMatchLabels [object] Labels to match to allow traffic from other namespaces
2401
## @param compactor.networkPolicy.ingressNSPodMatchLabels [object] Pod labels to match to allow traffic from other namespaces
2402
##
2403
ingressNSMatchLabels: {}
2404
ingressNSPodMatchLabels: {}
2405
## Service parameters
2406
##
2407
service:
2408
## @param compactor.service.type Kubernetes service type
2409
##
2410
type: ClusterIP
2411
## @param compactor.service.ports.http Thanos Compactor service HTTP port
2412
##
2413
ports:
2414
http: 9090
2415
## @param compactor.service.nodePorts.http Specify the Thanos Compactor HTTP nodePort value for the LoadBalancer and NodePort service types
2416
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
2417
##
2418
nodePorts:
2419
http: ""
2420
## @param compactor.service.clusterIP Thanos Compactor service clusterIP IP
2421
## e.g:
2422
## clusterIP: None
2423
##
2424
clusterIP: ""
2425
## @param compactor.service.loadBalancerIP Load balancer IP if service type is `LoadBalancer`
2426
## Set the LoadBalancer service type to internal only
2427
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
2428
##
2429
loadBalancerIP: ""
2430
## @param compactor.service.loadBalancerSourceRanges Addresses that are allowed when service is LoadBalancer
2431
## https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
2432
## e.g:
2433
## loadBalancerSourceRanges:
2434
## - 10.10.10.0/24
2435
##
2436
loadBalancerSourceRanges: []
2437
## @param compactor.service.externalTrafficPolicy Thanos Compactor service externalTrafficPolicy
2438
## Denotes if this Service desires to route external traffic to node-local or cluster-wide endpoints
2439
##
2440
externalTrafficPolicy: Cluster
2441
## @param compactor.service.labels Labels for Thanos Compactor service
2442
##
2443
labels: {}
2444
## @param compactor.service.annotations Annotations for Thanos Compactor service
2445
##
2446
annotations: {}
2447
## @param compactor.service.extraPorts Extra ports to expose in the Thanos Compactor service
2448
##
2449
extraPorts: []
2450
## @param compactor.service.labelSelectorsOverride Selector for Thanos Query service
2451
##
2452
labelSelectorsOverride: {}
2453
## @param compactor.service.ipFamilyPolicy Sets the IP family policy for the Service to be able to configure dual-stack; see [Configure dual-stack](https://kubernetes.io/docs/concepts/services-networking/dual-stack/#services).
2454
##
2455
ipFamilyPolicy: ""
2456
## @param compactor.service.ipFamilies A list of IP families for the Service that should be supported, in the order in which they should be applied. Can be "IPv4" and/or "IPv6".
2457
##
2458
ipFamilies: []
2459
## @param compactor.automountServiceAccountToken Enable/disable auto mounting of the service account token only for the deployment
2460
##
2461
automountServiceAccountToken: true
2462
## ServiceAccount configuration
2463
## @param compactor.serviceAccount.create Specifies whether a ServiceAccount should be created
2464
## @param compactor.serviceAccount.name Name of the service account to use. If not set and create is true, a name is generated using the fullname template.
2465
## @param compactor.serviceAccount.annotations Annotations for Thanos Compactor Service Account
2466
## @param compactor.serviceAccount.automountServiceAccountToken Enable/disable auto mounting of the service account token
2467
##
2468
serviceAccount:
2469
create: true
2470
name: ""
2471
annotations: {}
2472
automountServiceAccountToken: false
2473
## Configure the ingress resource that allows you to access Thanos Query Frontend
2474
## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/
2475
##
2476
ingress:
2477
## @param compactor.ingress.enabled Enable ingress controller resource
2478
##
2479
enabled: false
2480
## @param compactor.ingress.hostname Default host for the ingress resource
2481
##
2482
hostname: thanos-compactor.local
2483
## @param compactor.ingress.ingressClassName IngressClass that will be be used to implement the Ingress (Kubernetes 1.18+)
2484
## This is supported in Kubernetes 1.18+ and required if you have more than one IngressClass marked as the default for your cluster .
2485
## ref: https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/
2486
##
2487
ingressClassName: ""
2488
## @param compactor.ingress.labels Additional label for the Ingress resource.
2489
## Use this parameter to set the required labels for your needs
2490
## e.g:
2491
## labels:
2492
## dns-managed-by-external-dns: 'true'
2493
##
2494
labels: {}
2495
## @param compactor.ingress.annotations Additional annotations for the Ingress resource. To enable certificate autogeneration, place here your cert-manager annotations.
2496
## For a full list of possible ingress annotations, please see
2497
## ref: https://github.com/kubernetes/ingress-nginx/blob/main/docs/user-guide/nginx-configuration/annotations.md
2498
## Use this parameter to set the required annotations for cert-manager, see
2499
## ref: https://cert-manager.io/docs/usage/ingress/#supported-annotations
2500
##
2501
## e.g:
2502
## annotations:
2503
## kubernetes.io/ingress.class: nginx
2504
## cert-manager.io/cluster-issuer: cluster-issuer-name
2505
##
2506
annotations: {}
2507
## @param compactor.ingress.extraHosts The list of additional hostnames to be covered with this ingress record.
2508
## Most likely the hostname above will be enough, but in the event more hosts are needed, this is an array
2509
## extraHosts:
2510
## - name: thanos.local
2511
## path: /
2512
## pathType: ImplementationSpecific
2513
##
2514
extraHosts: []
2515
## @param compactor.ingress.extraTls The tls configuration for additional hostnames to be covered with this ingress record.
2516
## see: https://kubernetes.io/docs/concepts/services-networking/ingress/#tls
2517
## extraTls:
2518
## - hosts:
2519
## - thanos.local
2520
## secretName: thanos.local-tls
2521
##
2522
extraTls: []
2523
## @param compactor.ingress.secrets If you're providing your own certificates, please use this to add the certificates as secrets
2524
## key and certificate should start with -----BEGIN CERTIFICATE----- or
2525
## -----BEGIN RSA PRIVATE KEY-----
2526
##
2527
## name should line up with a tlsSecret set further up
2528
## If you're using cert-manager, this is unneeded, as it will create the secret for you if it is not set
2529
##
2530
## It is also possible to create and manage the certificates outside of this helm chart
2531
## Please see README.md for more information
2532
## e.g:
2533
## - name: thanos.local-tls
2534
## key:
2535
## certificate:
2536
##
2537
secrets: []
2538
## @param compactor.ingress.extraRules Additional rules to be covered with this ingress record
2539
## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/#ingress-rules
2540
## e.g:
2541
## extraRules:
2542
## - host: example.local
2543
## http:
2544
## path: /
2545
## backend:
2546
## service:
2547
## name: example-svc
2548
## port:
2549
## name: http
2550
##
2551
extraRules: []
2552
## @param compactor.ingress.tls Enable TLS configuration for the hostname defined at `compactor.ingress.hostname` parameter
2553
## TLS certificates will be retrieved from a TLS secret with name: `{{- printf "%s-tls" .Values.compactor.ingress.hostname }}`
2554
## You can:
2555
## - Use the `compactor.ingress.secrets` parameter to create this TLS secret
2556
## - Rely on cert-manager to create it by setting the corresponding annotations
2557
## - Rely on Helm to create self-signed certificates by setting `compactor.ingress.selfSigned=true`
2558
##
2559
tls: false
2560
## @param compactor.ingress.selfSigned Create a TLS secret for this ingress record using self-signed certificates generated by Helm
2561
##
2562
selfSigned: false
2563
## @param compactor.ingress.apiVersion Force Ingress API version (automatically detected if not set)
2564
##
2565
apiVersion: ""
2566
## @param compactor.ingress.path Ingress path
2567
##
2568
path: /
2569
## @param compactor.ingress.pathType Ingress path type
2570
##
2571
pathType: ImplementationSpecific
2572
## Persistence parameters
2573
##
2574
persistence:
2575
## @param compactor.persistence.enabled Enable data persistence using PVC(s) on Thanos Compactor pods
2576
##
2577
enabled: true
2578
## @param compactor.persistence.ephemeral Use ephemeral volume for data persistence using PVC(s) on Thanos Compactor pods
2579
##
2580
ephemeral: false
2581
## @param compactor.persistence.defaultEmptyDir Defaults to emptyDir if persistence is disabled.
2582
##
2583
defaultEmptyDir: true
2584
## @param compactor.persistence.storageClass Specify the `storageClass` used to provision the volume
2585
## If defined, storageClassName: <storageClass>
2586
## If set to "-", storageClassName: "", which disables dynamic provisioning
2587
## If undefined (the default) or set to null, no storageClassName spec is
2588
## set, choosing the default provisioner.
2589
##
2590
storageClass: ""
2591
## @param compactor.persistence.accessModes PVC Access Modes for data volume
2592
##
2593
accessModes:
2594
- ReadWriteOnce
2595
## @param compactor.persistence.size PVC Storage Request for data volume
2596
##
2597
size: 8Gi
2598
## @param compactor.persistence.labels Labels for the PVC
2599
##
2600
labels: {}
2601
## @param compactor.persistence.annotations Annotations for the PVC
2602
##
2603
annotations: {}
2604
## @param compactor.persistence.existingClaim Name of an existing PVC to use
2605
## If defined, PVC must be created manually before volume will be bound
2606
##
2607
existingClaim: ""
2608
## @section Thanos Store Gateway parameters
2609
storegateway:
2610
## @param storegateway.enabled Enable/disable Thanos Store Gateway component
2611
##
2612
enabled: false
2613
## @param storegateway.logLevel Thanos Store Gateway log level
2614
##
2615
logLevel: info
2616
## @param storegateway.logFormat Thanos Store Gateway log format
2617
##
2618
logFormat: logfmt
2619
## @param storegateway.useEndpointGroup Specify whether to use `endpoint-group` when querying the Store API of HA Store Gateway replicas
2620
## NOTE: This will take effect in the querier configuration
2621
##
2622
useEndpointGroup: false
2623
## @param storegateway.config Thanos Store Gateway configuration
2624
## Specify content for config.yml
2625
##
2626
config: ""
2627
## @param storegateway.existingConfigmap Name of existing ConfigMap with Thanos Store Gateway configuration
2628
## NOTE: This will override storegateway.config
2629
##
2630
existingConfigmap: ""
2631
## Thanos Store Gateway GRPC parameters
2632
## ref: https://github.com/thanos-io/thanos/blob/master/docs/components/store.md#flags
2633
##
2634
grpc:
2635
## GRPC server side
2636
##
2637
server:
2638
## TLS configuration
2639
## @param storegateway.grpc.server.tls.enabled Enable TLS encryption in the GRPC server
2640
## @param storegateway.grpc.server.tls.autoGenerated Create self-signed TLS certificates. Currently only supports PEM certificates
2641
## @param storegateway.grpc.server.tls.cert TLS Certificate for GRPC server - ignored if existingSecret is provided
2642
## @param storegateway.grpc.server.tls.key TLS Key for GRPC server - ignored if existingSecret is provided
2643
## @param storegateway.grpc.server.tls.ca TLS CA to verify clients against - ignored if existingSecret is provided
2644
## @param storegateway.grpc.server.tls.clientAuthEnabled Enable TLS client verification against provided CA
2645
## @param storegateway.grpc.server.tls.existingSecret Existing secret containing your own TLS certificates
2646
## e.g:
2647
## existingSecret:
2648
## name: foo
2649
## keyMapping:
2650
## ca-cert: ca.pem
2651
## tls-cert: cert.pem
2652
## tls-key: key.pem
2653
##
2654
tls:
2655
enabled: false
2656
autoGenerated: false
2657
cert: ""
2658
key: ""
2659
ca: ""
2660
clientAuthEnabled: true
2661
existingSecret: {}
2662
## @param storegateway.extraEnvVars Extra environment variables for Thanos Store Gateway container
2663
## e.g:
2664
## extraEnvVars:
2665
## - name: FOO
2666
## value: "bar"
2667
##
2668
extraEnvVars: []
2669
## @param storegateway.extraEnvVarsCM Name of existing ConfigMap containing extra env vars for Thanos Store Gateway nodes
2670
##
2671
extraEnvVarsCM: ""
2672
## @param storegateway.extraEnvVarsSecret Name of existing Secret containing extra env vars for Thanos Store Gateway nodes
2673
##
2674
extraEnvVarsSecret: ""
2675
## @param storegateway.extraFlags Extra Flags to passed to Thanos Store Gateway
2676
##
2677
extraFlags: []
2678
## @param storegateway.command Override default container command (useful when using custom images)
2679
##
2680
command: []
2681
## @param storegateway.args Override default container args (useful when using custom images)
2682
##
2683
args: []
2684
## @param storegateway.replicaCount Number of Thanos Store Gateway replicas to deploy
2685
##
2686
replicaCount: 1
2687
## @param storegateway.revisionHistoryLimit The number of old history to retain to allow rollback
2688
##
2689
revisionHistoryLimit: 10
2690
## @param storegateway.updateStrategy.type Update strategy type for Thanos Store Gateway replicas
2691
##
2692
updateStrategy:
2693
type: RollingUpdate
2694
## @param storegateway.podManagementPolicy Statefulset Pod management policy: OrderedReady (default) or Parallel
2695
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#pod-management-policies
2696
##
2697
podManagementPolicy: OrderedReady
2698
## @param storegateway.containerPorts.http HTTP container port
2699
## @param storegateway.containerPorts.grpc GRPC container port
2700
##
2701
containerPorts:
2702
http: 10902
2703
grpc: 10901
2704
## K8s Pod Security Context for Thanos Store Gateway pods
2705
## https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
2706
## @param storegateway.podSecurityContext.enabled Enable security context for the Thanos Store Gateway pods
2707
## @param storegateway.podSecurityContext.fsGroupChangePolicy Set filesystem group change policy
2708
## @param storegateway.podSecurityContext.sysctls Set kernel settings using the sysctl interface
2709
## @param storegateway.podSecurityContext.supplementalGroups Set filesystem extra groups
2710
## @param storegateway.podSecurityContext.fsGroup Group ID for the filesystem used by Thanos Store Gateway pods
2711
##
2712
podSecurityContext:
2713
enabled: true
2714
fsGroupChangePolicy: Always
2715
sysctls: []
2716
supplementalGroups: []
2717
fsGroup: 1001
2718
## K8s containers' Security Context for Thanos Store Gateway containers
2719
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
2720
## @param storegateway.containerSecurityContext.enabled Enabled containers' Security Context
2721
## @param storegateway.containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in container
2722
## @param storegateway.containerSecurityContext.runAsUser Set containers' Security Context runAsUser
2723
## @param storegateway.containerSecurityContext.runAsGroup Set containers' Security Context runAsGroup
2724
## @param storegateway.containerSecurityContext.runAsNonRoot Set container's Security Context runAsNonRoot
2725
## @param storegateway.containerSecurityContext.privileged Set container's Security Context privileged
2726
## @param storegateway.containerSecurityContext.readOnlyRootFilesystem Set container's Security Context readOnlyRootFilesystem
2727
## @param storegateway.containerSecurityContext.allowPrivilegeEscalation Set container's Security Context allowPrivilegeEscalation
2728
## @param storegateway.containerSecurityContext.capabilities.drop List of capabilities to be dropped
2729
## @param storegateway.containerSecurityContext.seccompProfile.type Set container's Security Context seccomp profile
2730
##
2731
containerSecurityContext:
2732
enabled: true
2733
seLinuxOptions: {}
2734
runAsUser: 1001
2735
runAsGroup: 1001
2736
runAsNonRoot: true
2737
privileged: false
2738
readOnlyRootFilesystem: true
2739
allowPrivilegeEscalation: false
2740
capabilities:
2741
drop: ["ALL"]
2742
seccompProfile:
2743
type: "RuntimeDefault"
2744
## Thanos Store Gateway containers' resource requests and limits
2745
## ref: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
2746
## @param storegateway.resourcesPreset Set container resources according to one common preset (allowed values: none, nano, micro, small, medium, large, xlarge, 2xlarge). This is ignored if storegateway.resources is set (storegateway.resources is recommended for production).
2747
##
2748
resourcesPreset: "nano"
2749
## @param storegateway.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
2750
## Example:
2751
## resources:
2752
## requests:
2753
## cpu: 2
2754
## memory: 512Mi
2755
## limits:
2756
## cpu: 3
2757
## memory: 1024Mi
2758
##
2759
resources: {}
2760
## Configure extra options for Thanos Store Gateway containers' liveness and readiness probes
2761
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
2762
## @param storegateway.livenessProbe.enabled Enable livenessProbe on Thanos Store Gateway containers
2763
## @param storegateway.livenessProbe.initialDelaySeconds Initial delay seconds for livenessProbe
2764
## @param storegateway.livenessProbe.periodSeconds Period seconds for livenessProbe
2765
## @param storegateway.livenessProbe.timeoutSeconds Timeout seconds for livenessProbe
2766
## @param storegateway.livenessProbe.failureThreshold Failure threshold for livenessProbe
2767
## @param storegateway.livenessProbe.successThreshold Success threshold for livenessProbe
2768
##
2769
livenessProbe:
2770
enabled: true
2771
initialDelaySeconds: 30
2772
timeoutSeconds: 30
2773
periodSeconds: 10
2774
successThreshold: 1
2775
failureThreshold: 6
2776
## @param storegateway.readinessProbe.enabled Enable readinessProbe on Thanos Store Gateway containers
2777
## @param storegateway.readinessProbe.initialDelaySeconds Initial delay seconds for readinessProbe
2778
## @param storegateway.readinessProbe.periodSeconds Period seconds for readinessProbe
2779
## @param storegateway.readinessProbe.timeoutSeconds Timeout seconds for readinessProbe
2780
## @param storegateway.readinessProbe.failureThreshold Failure threshold for readinessProbe
2781
## @param storegateway.readinessProbe.successThreshold Success threshold for readinessProbe
2782
##
2783
readinessProbe:
2784
enabled: true
2785
initialDelaySeconds: 30
2786
timeoutSeconds: 30
2787
periodSeconds: 10
2788
successThreshold: 1
2789
failureThreshold: 6
2790
## @param storegateway.startupProbe.enabled Enable startupProbe on Thanos Store Gateway containers
2791
## @param storegateway.startupProbe.initialDelaySeconds Initial delay seconds for startupProbe
2792
## @param storegateway.startupProbe.periodSeconds Period seconds for startupProbe
2793
## @param storegateway.startupProbe.timeoutSeconds Timeout seconds for startupProbe
2794
## @param storegateway.startupProbe.failureThreshold Failure threshold for startupProbe
2795
## @param storegateway.startupProbe.successThreshold Success threshold for startupProbe
2796
##
2797
startupProbe:
2798
enabled: false
2799
initialDelaySeconds: 5
2800
periodSeconds: 5
2801
timeoutSeconds: 1
2802
failureThreshold: 15
2803
successThreshold: 1
2804
## @param storegateway.customLivenessProbe Custom livenessProbe that overrides the default one
2805
##
2806
customLivenessProbe: {}
2807
## @param storegateway.customReadinessProbe Custom readinessProbe that overrides the default one
2808
##
2809
customReadinessProbe: {}
2810
## @param storegateway.customStartupProbe Custom startupProbe that overrides the default one
2811
##
2812
customStartupProbe: {}
2813
## @param storegateway.initContainers Add additional init containers to the Thanos Store Gateway pods
2814
## ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
2815
## e.g:
2816
## initContainers:
2817
## - name: your-image-name
2818
## image: your-image
2819
## imagePullPolicy: Always
2820
## command: ['sh', '-c', 'echo "hello world"']
2821
##
2822
initContainers: []
2823
## @param storegateway.sidecars Extra containers running as sidecars to Thanos Store Gateway pods
2824
## e.g:
2825
## sidecars:
2826
## - name: your-image-name
2827
## image: your-image
2828
## imagePullPolicy: Always
2829
## ports:
2830
## - name: portname
2831
## containerPort: 1234
2832
##
2833
sidecars: []
2834
## @param storegateway.extraVolumes Extra volumes to add to Thanos Store Gateway
2835
##
2836
extraVolumes: []
2837
## @param storegateway.extraVolumeMounts Extra volume mounts to add to the storegateway container
2838
##
2839
extraVolumeMounts: []
2840
## @param storegateway.podAffinityPreset Thanos Store Gateway pod affinity preset
2841
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
2842
##
2843
podAffinityPreset: ""
2844
## @param storegateway.podAntiAffinityPreset Thanos Store Gateway pod anti-affinity preset. Ignored if `storegateway.affinity` is set. Allowed values: `soft` or `hard`
2845
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
2846
##
2847
podAntiAffinityPreset: soft
2848
## Thanos Store Gateway node affinity preset
2849
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
2850
##
2851
nodeAffinityPreset:
2852
## @param storegateway.nodeAffinityPreset.type Thanos Store Gateway node affinity preset type. Ignored if `storegateway.affinity` is set. Allowed values: `soft` or `hard`
2853
##
2854
type: ""
2855
## @param storegateway.nodeAffinityPreset.key Thanos Store Gateway node label key to match. Ignored if `storegateway.affinity` is set.
2856
## e.g:
2857
## key: "kubernetes.io/e2e-az-name"
2858
##
2859
key: ""
2860
## @param storegateway.nodeAffinityPreset.values Thanos Store Gateway node label values to match. Ignored if `storegateway.affinity` is set.
2861
## e.g:
2862
## values:
2863
## - e2e-az1
2864
## - e2e-az2
2865
##
2866
values: []
2867
## @param storegateway.affinity Thanos Store Gateway affinity for pod assignment
2868
## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
2869
## Note: storegateway.podAffinityPreset, storegateway.podAntiAffinityPreset, and storegateway.nodeAffinityPreset will be ignored when it's set
2870
##
2871
affinity: {}
2872
## @param storegateway.nodeSelector Thanos Store Gateway node labels for pod assignment
2873
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
2874
##
2875
nodeSelector: {}
2876
## @param storegateway.tolerations Thanos Store Gateway tolerations for pod assignment
2877
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
2878
##
2879
tolerations: []
2880
## @param storegateway.podLabels Thanos Store Gateway pod labels
2881
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
2882
##
2883
podLabels: {}
2884
## @param storegateway.podAnnotations Annotations for Thanos Store Gateway pods
2885
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
2886
##
2887
podAnnotations: {}
2888
## @param storegateway.statefulsetLabels Thanos Store Gateway statefulset labels
2889
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
2890
##
2891
statefulsetLabels: {}
2892
## @param storegateway.statefulsetAnnotations Thanos Store Gateway statefulset annotations
2893
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
2894
##
2895
statefulsetAnnotations: {}
2896
## @param storegateway.dnsConfig Deployment pod DNS config
2897
## ref: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/
2898
## E.g.
2899
## dnsConfig:
2900
## options:
2901
## - name: ndots
2902
## value: "4"
2903
## - name: single-request-reopen
2904
##
2905
dnsConfig: {}
2906
## @param storegateway.dnsPolicy Deployment pod DNS policy
2907
## ref: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/
2908
## E.g.
2909
## dnsPolicy: ClusterFirstWithHostNet
2910
##
2911
dnsPolicy: ""
2912
## @param storegateway.hostAliases Deployment pod host aliases
2913
## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
2914
##
2915
hostAliases: []
2916
## @param storegateway.lifecycleHooks for the Thanos Store Gateway container(s) to automate configuration before or after startup
2917
##
2918
lifecycleHooks: {}
2919
## @param storegateway.priorityClassName Thanos Store Gateway priorityClassName
2920
## ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/
2921
##
2922
priorityClassName: ""
2923
## @param storegateway.topologySpreadConstraints Topology Spread Constraints for Thanos Store Gateway pods assignment spread across your cluster among failure-domains
2924
## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/#spread-constraints-for-pods
2925
##
2926
topologySpreadConstraints: []
2927
## @param storegateway.schedulerName Name of the k8s scheduler (other than default) for Thanos Store Gateway pods
2928
## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
2929
##
2930
schedulerName: ""
2931
## Network Policies
2932
## Ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/
2933
##
2934
networkPolicy:
2935
## @param storegateway.networkPolicy.enabled Specifies whether a NetworkPolicy should be created
2936
##
2937
enabled: true
2938
## @param storegateway.networkPolicy.allowExternal Don't require client label for connections
2939
## The Policy model to apply. When set to false, only pods with the correct
2940
## client label will have network access to the ports the application is listening
2941
## on. When true, the app will accept connections from any source
2942
## (with the correct destination port).
2943
##
2944
allowExternal: true
2945
## @param storegateway.networkPolicy.allowExternalEgress Allow the pod to access any range of port and all destinations.
2946
##
2947
allowExternalEgress: true
2948
## @param storegateway.networkPolicy.extraIngress [array] Add extra ingress rules to the NetworkPolicy
2949
## e.g:
2950
## extraIngress:
2951
## - ports:
2952
## - port: 1234
2953
## from:
2954
## - podSelector:
2955
## - matchLabels:
2956
## - role: frontend
2957
## - podSelector:
2958
## - matchExpressions:
2959
## - key: role
2960
## operator: In
2961
## values:
2962
## - frontend
2963
extraIngress: []
2964
## @param storegateway.networkPolicy.extraEgress [array] Add extra ingress rules to the NetworkPolicy
2965
## e.g:
2966
## extraEgress:
2967
## - ports:
2968
## - port: 1234
2969
## to:
2970
## - podSelector:
2971
## - matchLabels:
2972
## - role: frontend
2973
## - podSelector:
2974
## - matchExpressions:
2975
## - key: role
2976
## operator: In
2977
## values:
2978
## - frontend
2979
##
2980
extraEgress: []
2981
## @param storegateway.networkPolicy.ingressNSMatchLabels [object] Labels to match to allow traffic from other namespaces
2982
## @param storegateway.networkPolicy.ingressNSPodMatchLabels [object] Pod labels to match to allow traffic from other namespaces
2983
##
2984
ingressNSMatchLabels: {}
2985
ingressNSPodMatchLabels: {}
2986
## Service parameters
2987
##
2988
service:
2989
## @param storegateway.service.type Kubernetes service type
2990
##
2991
type: ClusterIP
2992
## @param storegateway.service.ports.http Thanos Store Gateway service HTTP port
2993
## @param storegateway.service.ports.grpc Thanos Store Gateway service GRPC port
2994
##
2995
ports:
2996
http: 9090
2997
grpc: 10901
2998
## @param storegateway.service.nodePorts.http Specify the Thanos Store Gateway HTTP nodePort value for the LoadBalancer and NodePort service types
2999
## @param storegateway.service.nodePorts.grpc Specify the Thanos Store Gateway GRPC nodePort value for the LoadBalancer and NodePort service types
3000
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
3001
##
3002
nodePorts:
3003
http: ""
3004
grpc: ""
3005
## @param storegateway.service.clusterIP Thanos Store Gateway service clusterIP IP
3006
## e.g:
3007
## clusterIP: None
3008
##
3009
clusterIP: ""
3010
## @param storegateway.service.loadBalancerIP Load balancer IP if service type is `LoadBalancer`
3011
## Set the LoadBalancer service type to internal only
3012
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
3013
##
3014
loadBalancerIP: ""
3015
## @param storegateway.service.loadBalancerSourceRanges Addresses that are allowed when service is LoadBalancer
3016
## https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
3017
## e.g:
3018
## loadBalancerSourceRanges:
3019
## - 10.10.10.0/24
3020
##
3021
loadBalancerSourceRanges: []
3022
## @param storegateway.service.externalTrafficPolicy Thanos Store Gateway service externalTrafficPolicy
3023
## Denotes if this Service desires to route external traffic to node-local or cluster-wide endpoints
3024
##
3025
externalTrafficPolicy: Cluster
3026
## @param storegateway.service.labels Extra labels for Thanos Store Gateway service
3027
##
3028
labels: {}
3029
## @param storegateway.service.annotations Annotations for Thanos Store Gateway service
3030
##
3031
annotations: {}
3032
## @param storegateway.service.extraPorts Extra ports to expose in the Thanos Store Gateway service
3033
##
3034
extraPorts: []
3035
## @param storegateway.service.labelSelectorsOverride Selector for Thanos Query service
3036
##
3037
labelSelectorsOverride: {}
3038
## @param storegateway.service.additionalHeadless Additional Headless service
3039
##
3040
additionalHeadless: false
3041
## Headless service properties
3042
##
3043
headless:
3044
## @param storegateway.service.headless.annotations Annotations for the headless service.
3045
##
3046
annotations: {}
3047
## @param storegateway.service.ipFamilyPolicy Sets the IP family policy for the Service to be able to configure dual-stack; see [Configure dual-stack](https://kubernetes.io/docs/concepts/services-networking/dual-stack/#services).
3048
##
3049
ipFamilyPolicy: ""
3050
## @param storegateway.service.ipFamilies A list of IP families for the Service that should be supported, in the order in which they should be applied. Can be "IPv4" and/or "IPv6".
3051
##
3052
ipFamilies: []
3053
## Persistence parameters
3054
##
3055
persistence:
3056
## @param storegateway.persistence.enabled Enable data persistence using PVC(s) on Thanos Store Gateway pods
3057
##
3058
enabled: true
3059
## @param storegateway.persistence.storageClass Specify the `storageClass` used to provision the volume
3060
## If defined, storageClassName: <storageClass>
3061
## If set to "-", storageClassName: "", which disables dynamic provisioning
3062
## If undefined (the default) or set to null, no storageClassName spec is
3063
## set, choosing the default provisioner.
3064
##
3065
storageClass: ""
3066
## @param storegateway.persistence.accessModes PVC Access Modes for data volume
3067
##
3068
accessModes:
3069
- ReadWriteOnce
3070
## @param storegateway.persistence.size PVC Storage Request for data volume
3071
##
3072
size: 8Gi
3073
## @param storegateway.persistence.labels Labels for the PVC
3074
##
3075
labels: {}
3076
## @param storegateway.persistence.annotations Annotations for the PVC
3077
##
3078
annotations: {}
3079
## @param storegateway.persistence.existingClaim Name of an existing PVC to use
3080
## If defined, PVC must be created manually before volume will be bound
3081
##
3082
existingClaim: ""
3083
## Persistent Volume Claim Retention Policy
3084
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#persistentvolumeclaim-retention
3085
##
3086
persistentVolumeClaimRetentionPolicy:
3087
## @param storegateway.persistentVolumeClaimRetentionPolicy.enabled Enable Persistent volume retention policy for Thanos Store Gateway Statefulset
3088
##
3089
enabled: false
3090
## @param storegateway.persistentVolumeClaimRetentionPolicy.whenScaled Volume retention behavior when the replica count of the StatefulSet is reduced
3091
##
3092
whenScaled: Retain
3093
## @param storegateway.persistentVolumeClaimRetentionPolicy.whenDeleted Volume retention behavior that applies when the StatefulSet is deleted
3094
##
3095
whenDeleted: Retain
3096
## @param storegateway.automountServiceAccountToken Enable/disable auto mounting of the service account token only for the sts
3097
##
3098
automountServiceAccountToken: true
3099
## ServiceAccount configuration
3100
## @param storegateway.serviceAccount.create Specifies whether a ServiceAccount should be created
3101
## @param storegateway.serviceAccount.name Name of the service account to use. If not set and create is true, a name is generated using the fullname template.
3102
## @param storegateway.serviceAccount.annotations Annotations for Thanos Store Gateway Service Account
3103
## @param storegateway.serviceAccount.automountServiceAccountToken Enable/disable auto mounting of the service account token
3104
##
3105
serviceAccount:
3106
create: true
3107
name: ""
3108
annotations: {}
3109
automountServiceAccountToken: false
3110
## Thanos Store Gateway Autoscaling configuration
3111
## ref: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/
3112
## @param storegateway.autoscaling.enabled Enable autoscaling for Thanos Store Gateway
3113
## @param storegateway.autoscaling.minReplicas Minimum number of Thanos Store Gateway replicas
3114
## @param storegateway.autoscaling.maxReplicas Maximum number of Thanos Store Gateway replicas
3115
## @param storegateway.autoscaling.targetCPU Target CPU utilization percentage
3116
## @param storegateway.autoscaling.targetMemory Target Memory utilization percentage
3117
## @param storegateway.autoscaling.behavior HPA Behavior
3118
## @param storegateway.externalAutoscaler Specifies whether the Thanos Store Gateway statefulset is scaled by an external autoscaler
3119
##
3120
autoscaling:
3121
enabled: false
3122
minReplicas: ""
3123
maxReplicas: ""
3124
targetCPU: ""
3125
targetMemory: ""
3126
behavior: {}
3127
externalAutoscaler: false
3128
## Thanos Store Gateway Pod Disruption Budget configuration
3129
## ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb
3130
## @param storegateway.pdb.create Enable/disable a Pod Disruption Budget creation for Thanos Store Gateway
3131
## @param storegateway.pdb.minAvailable Minimum number/percentage of pods that should remain scheduled
3132
## @param storegateway.pdb.maxUnavailable Maximum number/percentage of pods that may be made unavailable
3133
##
3134
pdb:
3135
create: true
3136
minAvailable: ""
3137
maxUnavailable: ""
3138
## Configure the ingress resource that allows you to access Thanos Query Frontend
3139
## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/
3140
##
3141
ingress:
3142
## @param storegateway.ingress.enabled Enable ingress controller resource
3143
##
3144
enabled: false
3145
## @param storegateway.ingress.hostname Default host for the ingress resource
3146
##
3147
hostname: thanos-storegateway.local
3148
## @param storegateway.ingress.ingressClassName IngressClass that will be be used to implement the Ingress (Kubernetes 1.18+)
3149
## This is supported in Kubernetes 1.18+ and required if you have more than one IngressClass marked as the default for your cluster .
3150
## ref: https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/
3151
##
3152
ingressClassName: ""
3153
## @param storegateway.ingress.labels Additional label for the Ingress resource.
3154
## Use this parameter to set the required labels for your needs
3155
## e.g:
3156
## labels:
3157
## dns-managed-by-external-dns: 'true'
3158
##
3159
labels: {}
3160
## @param storegateway.ingress.annotations Additional annotations for the Ingress resource. To enable certificate autogeneration, place here your cert-manager annotations.
3161
## For a full list of possible ingress annotations, please see
3162
## ref: https://github.com/kubernetes/ingress-nginx/blob/main/docs/user-guide/nginx-configuration/annotations.md
3163
## Use this parameter to set the required annotations for cert-manager, see
3164
## ref: https://cert-manager.io/docs/usage/ingress/#supported-annotations
3165
##
3166
## e.g:
3167
## annotations:
3168
## kubernetes.io/ingress.class: nginx
3169
## cert-manager.io/cluster-issuer: cluster-issuer-name
3170
##
3171
annotations: {}
3172
## @param storegateway.ingress.extraHosts The list of additional hostnames to be covered with this ingress record.
3173
## Most likely the hostname above will be enough, but in the event more hosts are needed, this is an array
3174
## extraHosts:
3175
## - name: thanos.local
3176
## path: /
3177
## pathType: ImplementationSpecific
3178
##
3179
extraHosts: []
3180
## @param storegateway.ingress.extraTls The tls configuration for additional hostnames to be covered with this ingress record.
3181
## see: https://kubernetes.io/docs/concepts/services-networking/ingress/#tls
3182
## extraTls:
3183
## - hosts:
3184
## - thanos.local
3185
## secretName: thanos.local-tls
3186
##
3187
extraTls: []
3188
## @param storegateway.ingress.secrets If you're providing your own certificates, please use this to add the certificates as secrets
3189
## key and certificate should start with -----BEGIN CERTIFICATE----- or
3190
## -----BEGIN RSA PRIVATE KEY-----
3191
##
3192
## name should line up with a tlsSecret set further up
3193
## If you're using cert-manager, this is unneeded, as it will create the secret for you if it is not set
3194
##
3195
## It is also possible to create and manage the certificates outside of this helm chart
3196
## Please see README.md for more information
3197
## e.g:
3198
## - name: thanos.local-tls
3199
## key:
3200
## certificate:
3201
##
3202
secrets: []
3203
## @param storegateway.ingress.extraRules Additional rules to be covered with this ingress record
3204
## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/#ingress-rules
3205
## e.g:
3206
## extraRules:
3207
## - host: example.local
3208
## http:
3209
## path: /
3210
## backend:
3211
## service:
3212
## name: example-svc
3213
## port:
3214
## name: http
3215
##
3216
extraRules: []
3217
## @param storegateway.ingress.tls Enable TLS configuration for the hostname defined at `storegateway.ingress.hostname` parameter
3218
## TLS certificates will be retrieved from a TLS secret with name: `{{- printf "%s-tls" .Values.storegateway.ingress.hostname }}`
3219
## You can:
3220
## - Use the `storegateway.ingress.secrets` parameter to create this TLS secret
3221
## - Rely on cert-manager to create it by setting the corresponding annotations
3222
## - Rely on Helm to create self-signed certificates by setting `storegateway.ingress.selfSigned=true`
3223
##
3224
tls: false
3225
## @param storegateway.ingress.selfSigned Create a TLS secret for this ingress record using self-signed certificates generated by Helm
3226
##
3227
selfSigned: false
3228
## @param storegateway.ingress.apiVersion Force Ingress API version (automatically detected if not set)
3229
##
3230
apiVersion: ""
3231
## @param storegateway.ingress.path Ingress path
3232
##
3233
path: /
3234
## @param storegateway.ingress.pathType Ingress path type
3235
##
3236
pathType: ImplementationSpecific
3237
## Create an ingress object for the GRPC service. This requires an HTTP/2
3238
## capable Ingress controller (eg. traefik using AWS NLB). Example annotations
3239
## - ingress.kubernetes.io/protocol: h2c
3240
## - service.beta.kubernetes.io/aws-load-balancer-type: nlb
3241
## - service.beta.kubernetes.io/aws-load-balancer-backend-protocol: tcp
3242
## For more information see https://kubernetes.io/docs/concepts/cluster-administration/cloud-providers/
3243
## and also the documentation for your ingress controller.
3244
##
3245
## The options that are accepted are identical to the HTTP one listed above
3246
##
3247
grpc:
3248
## @param storegateway.ingress.grpc.enabled Enable ingress controller resource (GRPC)
3249
##
3250
enabled: false
3251
## @param storegateway.ingress.grpc.hostname Default host for the ingress resource (GRPC)
3252
##
3253
hostname: thanos-grpc.local
3254
## @param storegateway.ingress.grpc.ingressClassName IngressClass that will be be used to implement the Ingress (Kubernetes 1.18+)
3255
## This is supported in Kubernetes 1.18+ and required if you have more than one IngressClass marked as the default for your cluster .
3256
## ref: https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/
3257
##
3258
ingressClassName: ""
3259
## @param storegateway.ingress.grpc.annotations Additional annotations for the Ingress resource (GRPC). To enable certificate autogeneration, place here your cert-manager annotations.
3260
## For a full list of possible ingress annotations, please see
3261
## ref: https://github.com/kubernetes/ingress-nginx/blob/main/docs/user-guide/nginx-configuration/annotations.md
3262
## Use this parameter to set the required annotations for cert-manager, see
3263
## ref: https://cert-manager.io/docs/usage/ingress/#supported-annotations
3264
##
3265
## Examples:
3266
## kubernetes.io/ingress.class: nginx
3267
## cert-manager.io/cluster-issuer: cluster-issuer-name
3268
##
3269
annotations: {}
3270
## @param storegateway.ingress.grpc.extraHosts The list of additional hostnames to be covered with this ingress record.
3271
## Most likely the hostname above will be enough, but in the event more hosts are needed, this is an array
3272
## extraHosts:
3273
## - name: thanos-grpc.local
3274
## path: /
3275
##
3276
extraHosts: []
3277
## @param storegateway.ingress.grpc.extraTls The tls configuration for additional hostnames to be covered with this ingress record.
3278
## see: https://kubernetes.io/docs/concepts/services-networking/ingress/#tls
3279
## extraTls:
3280
## - hosts:
3281
## - thanos-grpc.local
3282
## secretName: thanos-grpc.local-tls
3283
##
3284
extraTls: []
3285
## @param storegateway.ingress.grpc.secrets If you're providing your own certificates, please use this to add the certificates as secrets
3286
## key and certificate should start with -----BEGIN CERTIFICATE----- or
3287
## -----BEGIN RSA PRIVATE KEY-----
3288
##
3289
## name should line up with a tlsSecret set further up
3290
## If you're using cert-manager, this is unneeded, as it will create the secret for you if it is not set
3291
##
3292
## It is also possible to create and manage the certificates outside of this helm chart
3293
## Please see README.md for more information
3294
## e.g:
3295
## - name: thanos-grpc.local-tls
3296
## key:
3297
## certificate:
3298
##
3299
secrets: []
3300
## @param storegateway.ingress.grpc.extraRules Additional rules to be covered with this ingress record
3301
## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/#ingress-rules
3302
## e.g:
3303
## extraRules:
3304
## - host: example.local
3305
## http:
3306
## path: /
3307
## backend:
3308
## service:
3309
## name: example-svc
3310
## port:
3311
## name: http
3312
##
3313
extraRules: []
3314
## @param storegateway.ingress.grpc.tls Enable TLS configuration for the hostname defined at `storegateway.ingress.grpc.hostname` parameter
3315
## TLS certificates will be retrieved from a TLS secret with name: `{{- printf "%s-tls" .Values.storegateway.ingress.grpc.hostname }}`
3316
## You can:
3317
## - Use the `storegateway.ingress.grpc.secrets` parameter to create this TLS secret
3318
## - Rely on cert-manager to create it by setting the corresponding annotations
3319
## - Rely on Helm to create self-signed certificates by setting `storegateway.ingress.grpc.selfSigned=true`
3320
##
3321
tls: false
3322
## @param storegateway.ingress.grpc.selfSigned Create a TLS secret for this ingress record using self-signed certificates generated by Helm
3323
##
3324
selfSigned: false
3325
## @param storegateway.ingress.grpc.apiVersion Override API Version (automatically detected if not set)
3326
##
3327
apiVersion: ""
3328
## @param storegateway.ingress.grpc.path Ingress Path
3329
##
3330
path: /
3331
## @param storegateway.ingress.grpc.pathType Ingress Path type
3332
##
3333
pathType: ImplementationSpecific
3334
## Sharded parameters
3335
## @param storegateway.sharded.enabled Enable sharding for Thanos Store Gateway
3336
## @param storegateway.sharded.hashPartitioning.shards Setting hashPartitioning will create multiple store statefulsets based on the number of shards specified using the hashmod of the blocks
3337
## @param storegateway.sharded.hashPartitioning.extraRelabelingConfigs Setting extra relabel config
3338
## e,g:
3339
## extraRelabelingConfigs:
3340
## - action: keep
3341
## source_labels: ["region"]
3342
## regex: cn-zhangjiakou
3343
## @param storegateway.sharded.timePartitioning [array] Setting time timePartitioning will create multiple store deployments based on the number of partitions
3344
## @param storegateway.sharded.service.clusterIPs Array of cluster IPs for each Store Gateway service. Length must be the same as the number of shards
3345
## e.g:
3346
## clusterIPs:
3347
## - X.X.X.X
3348
## - Y.Y.Y.Y
3349
## @param storegateway.sharded.service.loadBalancerIPs Array of load balancer IPs for each Store Gateway service. Length must be the same as the number of shards
3350
## e.g:
3351
## loadBalancerIPs:
3352
## - X.X.X.X
3353
## - Y.Y.Y.Y
3354
## @param storegateway.sharded.service.http.nodePorts Array of http node ports used for Store Gateway service. Length must be the same as the number of shards
3355
## e.g:
3356
## nodePorts:
3357
## - 30001
3358
## - 30002
3359
## @param storegateway.sharded.service.grpc.nodePorts Array of grpc node ports used for Store Gateway service. Length must be the same as the number of shards
3360
## e.g:
3361
## nodePorts:
3362
## - 30011
3363
## - 30012
3364
##
3365
sharded:
3366
enabled: false
3367
hashPartitioning:
3368
shards: ""
3369
extraRelabelingConfigs: []
3370
timePartitioning:
3371
- min: ""
3372
max: ""
3373
service:
3374
clusterIPs: []
3375
loadBalancerIPs: []
3376
http:
3377
nodePorts: []
3378
grpc:
3379
nodePorts: []
3380
## @section Thanos Ruler parameters
3381
ruler:
3382
## @param ruler.enabled Enable/disable Thanos Ruler component
3383
##
3384
enabled: false
3385
## @param ruler.logLevel Thanos Ruler log level
3386
##
3387
logLevel: info
3388
## @param ruler.logFormat Thanos Ruler log format
3389
##
3390
logFormat: logfmt
3391
## @param ruler.replicaLabel Label to treat as a replica indicator along which data is de-duplicated
3392
##
3393
replicaLabel: replica
3394
## @param ruler.dnsDiscovery.enabled Dynamically configure Query APIs using DNS discovery
3395
##
3396
dnsDiscovery:
3397
enabled: true
3398
## @param ruler.queryURL Thanos query/query-frontend URL to link in Ruler UI.
3399
##
3400
queryURL: ""
3401
## @param ruler.alertmanagers Alert managers URLs array
3402
## NOTE: This is only used when ruler.alertmanagersConfig is not set
3403
##
3404
alertmanagers: []
3405
## @param ruler.alertmanagersConfig Alert managers configuration
3406
## NOTE: This is only used when ruler.alertmanagers is not set
3407
## ref: https://thanos.io/tip/components/rule.md/#alertmanager
3408
## e.g:
3409
## alertmanagersConfig:
3410
## alertmanagers:
3411
## - http_config:
3412
## basic_auth:
3413
## username: some_user
3414
## password: some_pass
3415
## static_configs:
3416
## - alertmanager.thanos.io
3417
## scheme: http
3418
## timeout: 10s
3419
## api_version: v2
3420
##
3421
alertmanagersConfig: {}
3422
## @param ruler.evalInterval The default evaluation interval to use
3423
##
3424
evalInterval: 1m
3425
## @param ruler.clusterName Used to set the 'ruler_cluster' label
3426
##
3427
clusterName: ""
3428
## @param ruler.ruleFile Change the location Thanos checks for rule files
3429
##
3430
ruleFile: "/conf/rules/*.yml"
3431
## @param ruler.config Ruler configuration
3432
## Specify content for ruler.yml
3433
##
3434
config: ""
3435
## @param ruler.dataPath Path to the data directory
3436
##
3437
## e.g. /data
3438
dataPath: ""
3439
## @param ruler.existingConfigmap Name of existing ConfigMap with Ruler configuration
3440
## NOTE: This will override ruler.config
3441
##
3442
existingConfigmap: ""
3443
## @param ruler.extraEnvVars Extra environment variables for Thanos Ruler container
3444
## e.g:
3445
## extraEnvVars:
3446
## - name: FOO
3447
## value: "bar"
3448
##
3449
extraEnvVars: []
3450
## @param ruler.extraEnvVarsCM Name of existing ConfigMap containing extra env vars for Thanos Ruler nodes
3451
##
3452
extraEnvVarsCM: ""
3453
## @param ruler.extraEnvVarsSecret Name of existing Secret containing extra env vars for Thanos Ruler nodes
3454
##
3455
extraEnvVarsSecret: ""
3456
## @param ruler.extraFlags Extra Flags to passed to Thanos Ruler
3457
##
3458
extraFlags: []
3459
## @param ruler.command Override default container command (useful when using custom images)
3460
##
3461
command: []
3462
## @param ruler.args Override default container args (useful when using custom images)
3463
##
3464
args: []
3465
## @param ruler.replicaCount Number of Thanos Ruler replicas to deploy
3466
##
3467
replicaCount: 1
3468
## @param ruler.revisionHistoryLimit The number of old history to retain to allow rollback
3469
##
3470
revisionHistoryLimit: 10
3471
## @param ruler.updateStrategy.type Update strategy type for Thanos Ruler replicas
3472
##
3473
updateStrategy:
3474
type: RollingUpdate
3475
## @param ruler.podManagementPolicy Statefulset Pod Management Policy Type
3476
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#pod-management-policies
3477
##
3478
podManagementPolicy: OrderedReady
3479
## @param ruler.containerPorts.http HTTP container port
3480
## @param ruler.containerPorts.grpc GRPC container port
3481
##
3482
containerPorts:
3483
http: 10902
3484
grpc: 10901
3485
## K8s Pod Security Context for Thanos Ruler pods
3486
## https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
3487
## @param ruler.podSecurityContext.enabled Enable security context for the Thanos Ruler pods
3488
## @param ruler.podSecurityContext.fsGroupChangePolicy Set filesystem group change policy
3489
## @param ruler.podSecurityContext.sysctls Set kernel settings using the sysctl interface
3490
## @param ruler.podSecurityContext.supplementalGroups Set filesystem extra groups
3491
## @param ruler.podSecurityContext.fsGroup Group ID for the filesystem used by Thanos Ruler pods
3492
##
3493
podSecurityContext:
3494
enabled: true
3495
fsGroupChangePolicy: Always
3496
sysctls: []
3497
supplementalGroups: []
3498
fsGroup: 1001
3499
## K8s containers' Security Context for Thanos Ruler containers
3500
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
3501
## @param ruler.containerSecurityContext.enabled Enabled containers' Security Context
3502
## @param ruler.containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in container
3503
## @param ruler.containerSecurityContext.runAsUser Set containers' Security Context runAsUser
3504
## @param ruler.containerSecurityContext.runAsGroup Set containers' Security Context runAsGroup
3505
## @param ruler.containerSecurityContext.runAsNonRoot Set container's Security Context runAsNonRoot
3506
## @param ruler.containerSecurityContext.privileged Set container's Security Context privileged
3507
## @param ruler.containerSecurityContext.readOnlyRootFilesystem Set container's Security Context readOnlyRootFilesystem
3508
## @param ruler.containerSecurityContext.allowPrivilegeEscalation Set container's Security Context allowPrivilegeEscalation
3509
## @param ruler.containerSecurityContext.capabilities.drop List of capabilities to be dropped
3510
## @param ruler.containerSecurityContext.seccompProfile.type Set container's Security Context seccomp profile
3511
##
3512
containerSecurityContext:
3513
enabled: true
3514
seLinuxOptions: {}
3515
runAsUser: 1001
3516
runAsGroup: 1001
3517
runAsNonRoot: true
3518
privileged: false
3519
readOnlyRootFilesystem: true
3520
allowPrivilegeEscalation: false
3521
capabilities:
3522
drop: ["ALL"]
3523
seccompProfile:
3524
type: "RuntimeDefault"
3525
## Thanos Ruler containers' resource requests and limits
3526
## ref: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
3527
## @param ruler.resourcesPreset Set container resources according to one common preset (allowed values: none, nano, micro, small, medium, large, xlarge, 2xlarge). This is ignored if ruler.resources is set (ruler.resources is recommended for production).
3528
##
3529
resourcesPreset: "nano"
3530
## @param ruler.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
3531
## Example:
3532
## resources:
3533
## requests:
3534
## cpu: 2
3535
## memory: 512Mi
3536
## limits:
3537
## cpu: 3
3538
## memory: 1024Mi
3539
##
3540
resources: {}
3541
## Configure extra options for Thanos Ruler containers' liveness and readiness probes
3542
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
3543
## @param ruler.livenessProbe.enabled Enable livenessProbe on Thanos Ruler containers
3544
## @param ruler.livenessProbe.initialDelaySeconds Initial delay seconds for livenessProbe
3545
## @param ruler.livenessProbe.periodSeconds Period seconds for livenessProbe
3546
## @param ruler.livenessProbe.timeoutSeconds Timeout seconds for livenessProbe
3547
## @param ruler.livenessProbe.failureThreshold Failure threshold for livenessProbe
3548
## @param ruler.livenessProbe.successThreshold Success threshold for livenessProbe
3549
##
3550
livenessProbe:
3551
enabled: true
3552
initialDelaySeconds: 30
3553
timeoutSeconds: 30
3554
periodSeconds: 10
3555
successThreshold: 1
3556
failureThreshold: 6
3557
## @param ruler.readinessProbe.enabled Enable readinessProbe on Thanos Ruler containers
3558
## @param ruler.readinessProbe.initialDelaySeconds Initial delay seconds for readinessProbe
3559
## @param ruler.readinessProbe.periodSeconds Period seconds for readinessProbe
3560
## @param ruler.readinessProbe.timeoutSeconds Timeout seconds for readinessProbe
3561
## @param ruler.readinessProbe.failureThreshold Failure threshold for readinessProbe
3562
## @param ruler.readinessProbe.successThreshold Success threshold for readinessProbe
3563
##
3564
readinessProbe:
3565
enabled: true
3566
initialDelaySeconds: 30
3567
timeoutSeconds: 30
3568
periodSeconds: 10
3569
successThreshold: 1
3570
failureThreshold: 6
3571
## @param ruler.startupProbe.enabled Enable startupProbe on Thanos Ruler containers
3572
## @param ruler.startupProbe.initialDelaySeconds Initial delay seconds for startupProbe
3573
## @param ruler.startupProbe.periodSeconds Period seconds for startupProbe
3574
## @param ruler.startupProbe.timeoutSeconds Timeout seconds for startupProbe
3575
## @param ruler.startupProbe.failureThreshold Failure threshold for startupProbe
3576
## @param ruler.startupProbe.successThreshold Success threshold for startupProbe
3577
##
3578
startupProbe:
3579
enabled: false
3580
initialDelaySeconds: 5
3581
periodSeconds: 5
3582
timeoutSeconds: 1
3583
failureThreshold: 15
3584
successThreshold: 1
3585
## @param ruler.customLivenessProbe Custom livenessProbe that overrides the default one
3586
##
3587
customLivenessProbe: {}
3588
## @param ruler.customReadinessProbe Custom readinessProbe that overrides the default one
3589
##
3590
customReadinessProbe: {}
3591
## @param ruler.customStartupProbe Custom startupProbe that overrides the default one
3592
##
3593
customStartupProbe: {}
3594
## @param ruler.initContainers Add additional init containers to the Thanos Ruler pods
3595
## ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
3596
## e.g:
3597
## initContainers:
3598
## - name: your-image-name
3599
## image: your-image
3600
## imagePullPolicy: Always
3601
## command: ['sh', '-c', 'echo "hello world"']
3602
##
3603
initContainers: []
3604
## @param ruler.sidecars Extra containers running as sidecars to Thanos Ruler pods
3605
## e.g:
3606
## sidecars:
3607
## - name: your-image-name
3608
## image: your-image
3609
## imagePullPolicy: Always
3610
## ports:
3611
## - name: portname
3612
## containerPort: 1234
3613
##
3614
sidecars: []
3615
## @param ruler.extraVolumes Extra volumes to add to Thanos Ruler
3616
##
3617
extraVolumes: []
3618
## @param ruler.extraVolumeMounts Extra volume mounts to add to the ruler container
3619
##
3620
extraVolumeMounts: []
3621
## @param ruler.podAffinityPreset Thanos Ruler pod affinity preset
3622
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
3623
##
3624
podAffinityPreset: ""
3625
## @param ruler.podAntiAffinityPreset Thanos Ruler pod anti-affinity preset. Ignored if `ruler.affinity` is set. Allowed values: `soft` or `hard`
3626
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
3627
##
3628
podAntiAffinityPreset: soft
3629
## Thanos Ruler node affinity preset
3630
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
3631
##
3632
nodeAffinityPreset:
3633
## @param ruler.nodeAffinityPreset.type Thanos Ruler node affinity preset type. Ignored if `ruler.affinity` is set. Allowed values: `soft` or `hard`
3634
##
3635
type: ""
3636
## @param ruler.nodeAffinityPreset.key Thanos Ruler node label key to match. Ignored if `ruler.affinity` is set.
3637
## e.g:
3638
## key: "kubernetes.io/e2e-az-name"
3639
##
3640
key: ""
3641
## @param ruler.nodeAffinityPreset.values Thanos Ruler node label values to match. Ignored if `ruler.affinity` is set.
3642
## e.g:
3643
## values:
3644
## - e2e-az1
3645
## - e2e-az2
3646
##
3647
values: []
3648
## @param ruler.affinity Thanos Ruler affinity for pod assignment
3649
## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
3650
## Note: ruler.podAffinityPreset, ruler.podAntiAffinityPreset, and ruler.nodeAffinityPreset will be ignored when it's set
3651
##
3652
affinity: {}
3653
## @param ruler.nodeSelector Thanos Ruler node labels for pod assignment
3654
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
3655
##
3656
nodeSelector: {}
3657
## @param ruler.tolerations Thanos Ruler tolerations for pod assignment
3658
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
3659
##
3660
tolerations: []
3661
## @param ruler.podLabels Thanos Ruler pod labels
3662
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
3663
##
3664
podLabels: {}
3665
## @param ruler.podAnnotations Annotations for Thanos Ruler pods
3666
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
3667
##
3668
podAnnotations: {}
3669
## @param ruler.statefulsetLabels Thanos Ruler statefulset labels
3670
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
3671
##
3672
statefulsetLabels: {}
3673
## @param ruler.statefulsetAnnotations Thanos Ruler statefulset annotations
3674
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
3675
##
3676
statefulsetAnnotations: {}
3677
## @param ruler.dnsConfig Deployment pod DNS config
3678
## ref: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/
3679
## E.g.
3680
## dnsConfig:
3681
## options:
3682
## - name: ndots
3683
## value: "4"
3684
## - name: single-request-reopen
3685
##
3686
dnsConfig: {}
3687
## @param ruler.dnsPolicy Deployment pod DNS policy
3688
## ref: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/
3689
## E.g.
3690
## dnsPolicy: ClusterFirstWithHostNet
3691
##
3692
dnsPolicy: ""
3693
## @param ruler.hostAliases Deployment pod host aliases
3694
## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
3695
##
3696
hostAliases: []
3697
## @param ruler.lifecycleHooks for the Thanos Ruler container(s) to automate configuration before or after startup
3698
##
3699
lifecycleHooks: {}
3700
## @param ruler.priorityClassName Thanos Ruler priorityClassName
3701
## ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/
3702
##
3703
priorityClassName: ""
3704
## @param ruler.schedulerName Name of the k8s scheduler (other than default) for Thanos Ruler pods
3705
## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
3706
##
3707
schedulerName: ""
3708
## @param ruler.topologySpreadConstraints Topology Spread Constraints for Thanos Ruler pods assignment spread across your cluster among failure-domains
3709
## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/#spread-constraints-for-pods
3710
##
3711
topologySpreadConstraints: []
3712
## Network Policies
3713
## Ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/
3714
##
3715
networkPolicy:
3716
## @param ruler.networkPolicy.enabled Specifies whether a NetworkPolicy should be created
3717
##
3718
enabled: true
3719
## @param ruler.networkPolicy.allowExternal Don't require client label for connections
3720
## The Policy model to apply. When set to false, only pods with the correct
3721
## client label will have network access to the ports the application is listening
3722
## on. When true, the app will accept connections from any source
3723
## (with the correct destination port).
3724
##
3725
allowExternal: true
3726
## @param ruler.networkPolicy.allowExternalEgress Allow the pod to access any range of port and all destinations.
3727
##
3728
allowExternalEgress: true
3729
## @param ruler.networkPolicy.extraIngress [array] Add extra ingress rules to the NetworkPolicy
3730
## e.g:
3731
## extraIngress:
3732
## - ports:
3733
## - port: 1234
3734
## from:
3735
## - podSelector:
3736
## - matchLabels:
3737
## - role: frontend
3738
## - podSelector:
3739
## - matchExpressions:
3740
## - key: role
3741
## operator: In
3742
## values:
3743
## - frontend
3744
extraIngress: []
3745
## @param ruler.networkPolicy.extraEgress [array] Add extra ingress rules to the NetworkPolicy
3746
## e.g:
3747
## extraEgress:
3748
## - ports:
3749
## - port: 1234
3750
## to:
3751
## - podSelector:
3752
## - matchLabels:
3753
## - role: frontend
3754
## - podSelector:
3755
## - matchExpressions:
3756
## - key: role
3757
## operator: In
3758
## values:
3759
## - frontend
3760
##
3761
extraEgress: []
3762
## @param ruler.networkPolicy.ingressNSMatchLabels [object] Labels to match to allow traffic from other namespaces
3763
## @param ruler.networkPolicy.ingressNSPodMatchLabels [object] Pod labels to match to allow traffic from other namespaces
3764
##
3765
ingressNSMatchLabels: {}
3766
ingressNSPodMatchLabels: {}
3767
## Service parameters
3768
##
3769
service:
3770
## @param ruler.service.type Kubernetes service type
3771
##
3772
type: ClusterIP
3773
## @param ruler.service.ports.http Thanos Ruler service HTTP port
3774
## @param ruler.service.ports.grpc Thanos Ruler service GRPC port
3775
##
3776
ports:
3777
http: 9090
3778
grpc: 10901
3779
## @param ruler.service.nodePorts.http Specify the Thanos Ruler HTTP nodePort value for the LoadBalancer and NodePort service types
3780
## @param ruler.service.nodePorts.grpc Specify the Thanos Ruler GRPC nodePort value for the LoadBalancer and NodePort service types
3781
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
3782
##
3783
nodePorts:
3784
http: ""
3785
grpc: ""
3786
## @param ruler.service.clusterIP Thanos Ruler service clusterIP IP
3787
## e.g:
3788
## clusterIP: None
3789
##
3790
clusterIP: ""
3791
## @param ruler.service.loadBalancerIP Load balancer IP if service type is `LoadBalancer`
3792
## Set the LoadBalancer service type to internal only
3793
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
3794
##
3795
loadBalancerIP: ""
3796
## @param ruler.service.loadBalancerSourceRanges Address that are allowed when service is LoadBalancer
3797
## https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
3798
## e.g:
3799
## loadBalancerSourceRanges:
3800
## - 10.10.10.0/24
3801
##
3802
loadBalancerSourceRanges: []
3803
## @param ruler.service.externalTrafficPolicy Thanos Ruler service externalTrafficPolicy
3804
## Denotes if this Service desires to route external traffic to node-local or cluster-wide endpoints
3805
##
3806
externalTrafficPolicy: Cluster
3807
## @param ruler.service.labels Extra labels for Thanos Ruler service
3808
##
3809
labels: {}
3810
## @param ruler.service.annotations Annotations for Thanos Ruler service
3811
##
3812
annotations: {}
3813
## @param ruler.service.extraPorts Extra ports to expose in the Thanos Ruler service
3814
##
3815
extraPorts: []
3816
## @param ruler.service.labelSelectorsOverride Selector for Thanos Query service
3817
##
3818
labelSelectorsOverride: {}
3819
## @param ruler.service.additionalHeadless Additional Headless service
3820
##
3821
additionalHeadless: false
3822
## Headless service properties
3823
##
3824
headless:
3825
## @param ruler.service.headless.annotations Annotations for the headless service.
3826
##
3827
annotations: {}
3828
## @param ruler.service.ipFamilyPolicy Sets the IP family policy for the Service to be able to configure dual-stack; see [Configure dual-stack](https://kubernetes.io/docs/concepts/services-networking/dual-stack/#services).
3829
##
3830
ipFamilyPolicy: ""
3831
## @param ruler.service.ipFamilies A list of IP families for the Service that should be supported, in the order in which they should be applied. Can be "IPv4" and/or "IPv6".
3832
##
3833
ipFamilies: []
3834
## Persistence parameters
3835
##
3836
persistence:
3837
## @param ruler.persistence.enabled Enable data persistence using PVC(s) on Thanos Ruler pods
3838
##
3839
enabled: true
3840
## @param ruler.persistence.storageClass Specify the `storageClass` used to provision the volume
3841
## If defined, storageClassName: <storageClass>
3842
## If set to "-", storageClassName: "", which disables dynamic provisioning
3843
## If undefined (the default) or set to null, no storageClassName spec is
3844
## set, choosing the default provisioner.
3845
##
3846
storageClass: ""
3847
## @param ruler.persistence.accessModes PVC Access Modes for data volume
3848
##
3849
accessModes:
3850
- ReadWriteOnce
3851
## @param ruler.persistence.size PVC Storage Request for data volume
3852
##
3853
size: 8Gi
3854
## @param ruler.persistence.annotations Annotations for the PVC
3855
##
3856
annotations: {}
3857
## @param ruler.persistence.existingClaim Name of an existing PVC to use
3858
## If defined, PVC must be created manually before volume will be bound
3859
##
3860
existingClaim: ""
3861
## Persistent Volume Claim Retention Policy
3862
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#persistentvolumeclaim-retention
3863
##
3864
persistentVolumeClaimRetentionPolicy:
3865
## @param ruler.persistentVolumeClaimRetentionPolicy.enabled Enable Persistent volume retention policy for Thanos Ruler Statefulset
3866
##
3867
enabled: false
3868
## @param ruler.persistentVolumeClaimRetentionPolicy.whenScaled Volume retention behavior when the replica count of the StatefulSet is reduced
3869
##
3870
whenScaled: Retain
3871
## @param ruler.persistentVolumeClaimRetentionPolicy.whenDeleted Volume retention behavior that applies when the StatefulSet is deleted
3872
##
3873
whenDeleted: Retain
3874
## @param ruler.automountServiceAccountToken Enable/disable auto mounting of the service account token only for the sts
3875
##
3876
automountServiceAccountToken: true
3877
## ServiceAccount configuration
3878
## @param ruler.serviceAccount.create Specifies whether a ServiceAccount should be created
3879
## @param ruler.serviceAccount.name Name of the service account to use. If not set and create is true, a name is generated using the fullname template.
3880
## @param ruler.serviceAccount.annotations Annotations for Thanos Ruler Service Account
3881
## @param ruler.serviceAccount.automountServiceAccountToken Enable/disable auto mounting of the service account token
3882
##
3883
serviceAccount:
3884
create: true
3885
name: ""
3886
annotations: {}
3887
automountServiceAccountToken: false
3888
## Thanos Ruler Autoscaling configuration
3889
## ref: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/
3890
## @param ruler.autoscaling.enabled Enable autoscaling for Thanos Ruler
3891
## @param ruler.autoscaling.minReplicas Minimum number of Thanos Ruler replicas
3892
## @param ruler.autoscaling.maxReplicas Maximum number of Thanos Ruler replicas
3893
## @param ruler.autoscaling.targetCPU Target CPU utilization percentage
3894
## @param ruler.autoscaling.targetMemory Target Memory utilization percentage
3895
## @param ruler.autoscaling.behavior HPA Behavior
3896
## @param ruler.externalAutoscaler Specifies whether the Thanos Ruler statefulset is scaled by an external autoscaler
3897
##
3898
autoscaling:
3899
enabled: false
3900
minReplicas: ""
3901
maxReplicas: ""
3902
targetCPU: ""
3903
targetMemory: ""
3904
behavior: {}
3905
externalAutoscaler: false
3906
## Thanos Ruler Pod Disruption Budget configuration
3907
## ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb
3908
## @param ruler.pdb.create Enable/disable a Pod Disruption Budget creation for Thanos Ruler
3909
## @param ruler.pdb.minAvailable Minimum number/percentage of pods that should remain scheduled
3910
## @param ruler.pdb.maxUnavailable Maximum number/percentage of pods that may be made unavailable
3911
##
3912
pdb:
3913
create: true
3914
minAvailable: ""
3915
maxUnavailable: ""
3916
## Configure the ingress resource that allows you to access Thanos Ruler
3917
## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/
3918
##
3919
ingress:
3920
## @param ruler.ingress.enabled Enable ingress controller resource
3921
##
3922
enabled: false
3923
## @param ruler.ingress.hostname Default host for the ingress resource
3924
##
3925
hostname: thanos-ruler.local
3926
## @param ruler.ingress.ingressClassName IngressClass that will be be used to implement the Ingress (Kubernetes 1.18+)
3927
## This is supported in Kubernetes 1.18+ and required if you have more than one IngressClass marked as the default for your cluster .
3928
## ref: https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/
3929
##
3930
ingressClassName: ""
3931
## @param ruler.ingress.labels Additional label for the Ingress resource.
3932
## Use this parameter to set the required labels for your needs
3933
## e.g:
3934
## labels:
3935
## dns-managed-by-external-dns: 'true'
3936
##
3937
labels: {}
3938
## @param ruler.ingress.annotations Additional annotations for the Ingress resource. To enable certificate autogeneration, place here your cert-manager annotations.
3939
## For a full list of possible ingress annotations, please see
3940
## ref: https://github.com/kubernetes/ingress-nginx/blob/main/docs/user-guide/nginx-configuration/annotations.md
3941
## Use this parameter to set the required annotations for cert-manager, see
3942
## ref: https://cert-manager.io/docs/usage/ingress/#supported-annotations
3943
##
3944
## e.g:
3945
## annotations:
3946
## kubernetes.io/ingress.class: nginx
3947
## cert-manager.io/cluster-issuer: cluster-issuer-name
3948
##
3949
annotations: {}
3950
## @param ruler.ingress.extraHosts The list of additional hostnames to be covered with this ingress record.
3951
## Most likely the hostname above will be enough, but in the event more hosts are needed, this is an array
3952
## extraHosts:
3953
## - name: thanos.local
3954
## path: /
3955
## pathType: ImplementationSpecific
3956
##
3957
extraHosts: []
3958
## @param ruler.ingress.extraTls The tls configuration for additional hostnames to be covered with this ingress record.
3959
## see: https://kubernetes.io/docs/concepts/services-networking/ingress/#tls
3960
## extraTls:
3961
## - hosts:
3962
## - thanos.local
3963
## secretName: thanos.local-tls
3964
##
3965
extraTls: []
3966
## @param ruler.ingress.secrets If you're providing your own certificates, please use this to add the certificates as secrets
3967
## key and certificate should start with -----BEGIN CERTIFICATE----- or
3968
## -----BEGIN RSA PRIVATE KEY-----
3969
##
3970
## name should line up with a tlsSecret set further up
3971
## If you're using cert-manager, this is unneeded, as it will create the secret for you if it is not set
3972
##
3973
## It is also possible to create and manage the certificates outside of this helm chart
3974
## Please see README.md for more information
3975
## e.g:
3976
## - name: thanos.local-tls
3977
## key:
3978
## certificate:
3979
##
3980
secrets: []
3981
## @param ruler.ingress.extraRules Additional rules to be covered with this ingress record
3982
## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/#ingress-rules
3983
## e.g:
3984
## extraRules:
3985
## - host: example.local
3986
## http:
3987
## path: /
3988
## backend:
3989
## service:
3990
## name: example-svc
3991
## port:
3992
## name: http
3993
##
3994
extraRules: []
3995
## @param ruler.ingress.apiVersion Force Ingress API version (automatically detected if not set)
3996
##
3997
apiVersion: ""
3998
## @param ruler.ingress.path Ingress path
3999
##
4000
path: /
4001
## @param ruler.ingress.pathType Ingress path type
4002
##
4003
pathType: ImplementationSpecific
4004
## @section Thanos Receive parameters
4005
receive:
4006
## @param receive.enabled Enable/disable Thanos Receive component
4007
##
4008
enabled: false
4009
## @param receive.mode Mode to run receiver in. Valid options are "standalone" or "dual-mode"
4010
## ref: https://github.com/thanos-io/thanos/blob/release-0.22/docs/proposals-accepted/202012-receive-split.md
4011
## Enables running the Thanos Receiver in dual mode. Setting this to "dual-mode" will create a deployment for
4012
## the stateless thanos distributor.
4013
mode: standalone
4014
## @param receive.logLevel Thanos Receive log level
4015
##
4016
logLevel: info
4017
## @param receive.logFormat Thanos Receive log format
4018
##
4019
logFormat: logfmt
4020
## @param receive.tsdbRetention Thanos Receive TSDB retention period
4021
##
4022
tsdbRetention: 15d
4023
## @param receive.replicationProtocol Thanos Receive replication-protocol
4024
## ref: https://thanos.io/tip/components/receive.md/#replication-protocols
4025
##
4026
replicationProtocol: capnproto
4027
## @param receive.replicationFactor Thanos Receive replication-factor
4028
##
4029
replicationFactor: 1
4030
## @param receive.config Receive Hashring configuration
4031
## Note: json formatted string and yaml allowed.
4032
## e.g:
4033
## config:
4034
## - endpoints:
4035
## - "127.0.0.1:10901"
4036
##
4037
config: []
4038
## @param receive.tsdbPath Thanos Receive path to the time series database
4039
##
4040
## e.g.: /var/thanos/receive
4041
tsdbPath: ""
4042
## @param receive.existingConfigmap Name of existing ConfigMap with Thanos Receive Hashring configuration
4043
## NOTE: This will override receive.config
4044
##
4045
existingConfigmap: ""
4046
## @param receive.replicaLabel Label to treat as a replica indicator along which data is de-duplicated
4047
##
4048
replicaLabel: replica
4049
## Thanos Receive parameters
4050
## ref: https://github.com/thanos-io/thanos/blob/master/docs/components/receive.md#flags
4051
##
4052
grpc:
4053
## GRPC server side
4054
##
4055
server:
4056
## TLS configuration
4057
## @param receive.grpc.server.tls.enabled Enable TLS encryption in the GRPC server
4058
## @param receive.grpc.server.tls.autoGenerated Create self-signed TLS certificates. Currently only supports PEM certificates
4059
## @param receive.grpc.server.tls.cert TLS Certificate for GRPC server - ignored if existingSecret is provided
4060
## @param receive.grpc.server.tls.key TLS Key for GRPC server - ignored if existingSecret is provided
4061
## @param receive.grpc.server.tls.ca TLS CA to verify clients against - ignored if existingSecret is provided
4062
## @param receive.grpc.server.tls.clientAuthEnabled Enable TLS client verification against provided CA
4063
## @param receive.grpc.server.tls.existingSecret Existing secret containing your own TLS certificates
4064
## e.g:
4065
## existingSecret:
4066
## name: foo
4067
## keyMapping:
4068
## ca-cert: ca.pem
4069
## tls-cert: cert.pem
4070
## tls-key: key.pem
4071
##
4072
tls:
4073
enabled: false
4074
autoGenerated: false
4075
cert: ""
4076
key: ""
4077
ca: ""
4078
clientAuthEnabled: true
4079
existingSecret: {}
4080
## @param receive.extraEnvVars Extra environment variables for Thanos Receive container
4081
## e.g:
4082
## extraEnvVars:
4083
## - name: FOO
4084
## value: "bar"
4085
##
4086
extraEnvVars: []
4087
## @param receive.extraEnvVarsCM Name of existing ConfigMap containing extra env vars for Thanos Receive nodes
4088
##
4089
extraEnvVarsCM: ""
4090
## @param receive.extraEnvVarsSecret Name of existing Secret containing extra env vars for Thanos Receive nodes
4091
##
4092
extraEnvVarsSecret: ""
4093
## @param receive.extraFlags Extra Flags to passed to Thanos Receive
4094
##
4095
extraFlags: []
4096
## @param receive.command Override default container command (useful when using custom images)
4097
##
4098
command: []
4099
## @param receive.args Override default container args (useful when using custom images)
4100
##
4101
args: []
4102
## @param receive.replicaCount Number of Thanos Receive replicas to deploy
4103
##
4104
replicaCount: 1
4105
## @param receive.revisionHistoryLimit The number of old history to retain to allow rollback
4106
##
4107
revisionHistoryLimit: 10
4108
## @param receive.updateStrategy.type Update strategy type for Thanos Receive replicas
4109
##
4110
updateStrategy:
4111
type: RollingUpdate
4112
## @param receive.podManagementPolicy
4113
## @param receive.podManagementPolicy Statefulset Pod management policy: OrderedReady (default) or Parallel
4114
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#pod-management-policies
4115
##
4116
podManagementPolicy: OrderedReady
4117
## @param receive.minReadySeconds How many seconds a pod needs to be ready before killing the next, during update
4118
##
4119
minReadySeconds: 0
4120
## @param receive.containerPorts.http HTTP container port
4121
## @param receive.containerPorts.grpc GRPC container port
4122
## @param receive.containerPorts.remote Remote-write container port
4123
## @param receive.containerPorts.capnproto Cap'n'Proto container port
4124
##
4125
containerPorts:
4126
http: 10902
4127
grpc: 10901
4128
remote: 19291
4129
capnproto: 19391
4130
## K8s Pod Security Context for Thanos Receive pods
4131
## https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
4132
## @param receive.podSecurityContext.enabled Enable security context for the Thanos Receive pods
4133
## @param receive.podSecurityContext.fsGroupChangePolicy Set filesystem group change policy
4134
## @param receive.podSecurityContext.sysctls Set kernel settings using the sysctl interface
4135
## @param receive.podSecurityContext.supplementalGroups Set filesystem extra groups
4136
## @param receive.podSecurityContext.fsGroup Group ID for the filesystem used by Thanos Receive pods
4137
##
4138
podSecurityContext:
4139
enabled: true
4140
fsGroupChangePolicy: Always
4141
sysctls: []
4142
supplementalGroups: []
4143
fsGroup: 1001
4144
## K8s containers' Security Context for Thanos Receive containers
4145
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
4146
## @param receive.containerSecurityContext.enabled Enabled containers' Security Context
4147
## @param receive.containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in container
4148
## @param receive.containerSecurityContext.runAsUser Set containers' Security Context runAsUser
4149
## @param receive.containerSecurityContext.runAsGroup Set containers' Security Context runAsGroup
4150
## @param receive.containerSecurityContext.runAsNonRoot Set container's Security Context runAsNonRoot
4151
## @param receive.containerSecurityContext.privileged Set container's Security Context privileged
4152
## @param receive.containerSecurityContext.readOnlyRootFilesystem Set container's Security Context readOnlyRootFilesystem
4153
## @param receive.containerSecurityContext.allowPrivilegeEscalation Set container's Security Context allowPrivilegeEscalation
4154
## @param receive.containerSecurityContext.capabilities.drop List of capabilities to be dropped
4155
## @param receive.containerSecurityContext.seccompProfile.type Set container's Security Context seccomp profile
4156
##
4157
containerSecurityContext:
4158
enabled: true
4159
seLinuxOptions: {}
4160
runAsUser: 1001
4161
runAsGroup: 1001
4162
runAsNonRoot: true
4163
privileged: false
4164
readOnlyRootFilesystem: true
4165
allowPrivilegeEscalation: false
4166
capabilities:
4167
drop: ["ALL"]
4168
seccompProfile:
4169
type: "RuntimeDefault"
4170
## Thanos Receive containers' resource requests and limits
4171
## ref: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
4172
## @param receive.resourcesPreset Set container resources according to one common preset (allowed values: none, nano, micro, small, medium, large, xlarge, 2xlarge). This is ignored if receive.resources is set (receive.resources is recommended for production).
4173
##
4174
resourcesPreset: "nano"
4175
## @param receive.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
4176
## Example:
4177
## resources:
4178
## requests:
4179
## cpu: 2
4180
## memory: 512Mi
4181
## limits:
4182
## cpu: 3
4183
## memory: 1024Mi
4184
##
4185
resources: {}
4186
## Configure extra options for Thanos Receive containers' liveness and readiness probes
4187
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
4188
## @param receive.livenessProbe.enabled Enable livenessProbe on Thanos Receive containers
4189
## @param receive.livenessProbe.initialDelaySeconds Initial delay seconds for livenessProbe
4190
## @param receive.livenessProbe.periodSeconds Period seconds for livenessProbe
4191
## @param receive.livenessProbe.timeoutSeconds Timeout seconds for livenessProbe
4192
## @param receive.livenessProbe.failureThreshold Failure threshold for livenessProbe
4193
## @param receive.livenessProbe.successThreshold Success threshold for livenessProbe
4194
##
4195
livenessProbe:
4196
enabled: true
4197
initialDelaySeconds: 30
4198
timeoutSeconds: 30
4199
periodSeconds: 10
4200
successThreshold: 1
4201
failureThreshold: 6
4202
## @param receive.readinessProbe.enabled Enable readinessProbe on Thanos Receive containers
4203
## @param receive.readinessProbe.initialDelaySeconds Initial delay seconds for readinessProbe
4204
## @param receive.readinessProbe.periodSeconds Period seconds for readinessProbe
4205
## @param receive.readinessProbe.timeoutSeconds Timeout seconds for readinessProbe
4206
## @param receive.readinessProbe.failureThreshold Failure threshold for readinessProbe
4207
## @param receive.readinessProbe.successThreshold Success threshold for readinessProbe
4208
##
4209
readinessProbe:
4210
enabled: true
4211
initialDelaySeconds: 30
4212
timeoutSeconds: 30
4213
periodSeconds: 10
4214
successThreshold: 1
4215
failureThreshold: 6
4216
## @param receive.startupProbe.enabled Enable startupProbe on Thanos Receive containers
4217
## @param receive.startupProbe.initialDelaySeconds Initial delay seconds for startupProbe
4218
## @param receive.startupProbe.periodSeconds Period seconds for startupProbe
4219
## @param receive.startupProbe.timeoutSeconds Timeout seconds for startupProbe
4220
## @param receive.startupProbe.failureThreshold Failure threshold for startupProbe
4221
## @param receive.startupProbe.successThreshold Success threshold for startupProbe
4222
##
4223
startupProbe:
4224
enabled: false
4225
initialDelaySeconds: 5
4226
periodSeconds: 5
4227
timeoutSeconds: 1
4228
failureThreshold: 15
4229
successThreshold: 1
4230
## @param receive.customLivenessProbe Custom livenessProbe that overrides the default one
4231
##
4232
customLivenessProbe: {}
4233
## @param receive.customReadinessProbe Custom readinessProbe that overrides the default one
4234
##
4235
customReadinessProbe: {}
4236
## @param receive.customStartupProbe Custom startupProbe that overrides the default one
4237
##
4238
customStartupProbe: {}
4239
## @param receive.initContainers Add additional init containers to the Thanos Receive pods
4240
## ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
4241
## e.g:
4242
## initContainers:
4243
## - name: your-image-name
4244
## image: your-image
4245
## imagePullPolicy: Always
4246
## command: ['sh', '-c', 'echo "hello world"']
4247
##
4248
initContainers: []
4249
## @param receive.sidecars Extra containers running as sidecars to Thanos Receive pods
4250
## e.g:
4251
## sidecars:
4252
## - name: your-image-name
4253
## image: your-image
4254
## imagePullPolicy: Always
4255
## ports:
4256
## - name: portname
4257
## containerPort: 1234
4258
##
4259
sidecars: []
4260
## @param receive.extraVolumes Extra volumes to add to Thanos Receive
4261
##
4262
extraVolumes: []
4263
## @param receive.extraVolumeMounts Extra volume mounts to add to the receive container
4264
##
4265
extraVolumeMounts: []
4266
## @param receive.podAffinityPreset Thanos Receive pod affinity preset
4267
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
4268
## Allowed values: soft, hard
4269
##
4270
podAffinityPreset: ""
4271
## @param receive.podAntiAffinityPreset Thanos Receive pod anti-affinity preset. Ignored if `ruler.affinity` is set. Allowed values: `soft` or `hard`
4272
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
4273
##
4274
podAntiAffinityPreset: soft
4275
## Thanos Receive node affinity preset
4276
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
4277
##
4278
nodeAffinityPreset:
4279
## @param receive.nodeAffinityPreset.type Thanos Receive node affinity preset type. Ignored if `receive.affinity` is set. Allowed values: `soft` or `hard`
4280
##
4281
type: ""
4282
## @param receive.nodeAffinityPreset.key Thanos Receive node label key to match. Ignored if `receive.affinity` is set.
4283
## e.g:
4284
## key: "kubernetes.io/e2e-az-name"
4285
##
4286
key: ""
4287
## @param receive.nodeAffinityPreset.values Thanos Receive node label values to match. Ignored if `receive.affinity` is set.
4288
## e.g:
4289
## values:
4290
## - e2e-az1
4291
## - e2e-az2
4292
##
4293
values: []
4294
## @param receive.affinity Thanos Receive affinity for pod assignment
4295
## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
4296
## Note: receive.podAffinityPreset, receive.podAntiAffinityPreset, and receive.nodeAffinityPreset will be ignored when it's set
4297
##
4298
affinity: {}
4299
## @param receive.nodeSelector Thanos Receive node labels for pod assignment
4300
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
4301
##
4302
nodeSelector: {}
4303
## @param receive.tolerations Thanos Receive tolerations for pod assignment
4304
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
4305
##
4306
tolerations: []
4307
## @param receive.statefulsetLabels Thanos Receive statefulset labels
4308
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
4309
##
4310
statefulsetLabels: {}
4311
## @param receive.statefulsetAnnotations Thanos Receive statefulset annotations
4312
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
4313
##
4314
statefulsetAnnotations: {}
4315
## @param receive.podLabels Thanos Receive pod labels
4316
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
4317
##
4318
podLabels: {}
4319
## @param receive.podAnnotations Annotations for Thanos Receive pods
4320
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
4321
##
4322
podAnnotations: {}
4323
## @param receive.dnsConfig Deployment pod DNS config
4324
## ref: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/
4325
## E.g.
4326
## dnsConfig:
4327
## options:
4328
## - name: ndots
4329
## value: "4"
4330
## - name: single-request-reopen
4331
##
4332
dnsConfig: {}
4333
## @param receive.dnsPolicy Deployment pod DNS policy
4334
## ref: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/
4335
## E.g.
4336
## dnsPolicy: ClusterFirstWithHostNet
4337
##
4338
dnsPolicy: ""
4339
## @param receive.hostAliases Deployment pod host aliases
4340
## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
4341
##
4342
hostAliases: []
4343
## @param receive.terminationGracePeriodSeconds for the Thanos Receive containers(s) to extend the grace period
4344
##
4345
terminationGracePeriodSeconds: ""
4346
## @param receive.lifecycleHooks for the Thanos Receive container(s) to automate configuration before or after startup
4347
##
4348
lifecycleHooks: {}
4349
## @param receive.priorityClassName Thanos Receive priorityClassName
4350
## ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/
4351
##
4352
priorityClassName: ""
4353
## @param receive.schedulerName Name of the k8s scheduler (other than default) for Thanos Receive pods
4354
## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
4355
##
4356
schedulerName: ""
4357
## @param receive.topologySpreadConstraints Topology Spread Constraints for Thanos Receive pods assignment spread across your cluster among failure-domains
4358
## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/#spread-constraints-for-pods
4359
##
4360
topologySpreadConstraints: []
4361
## Network Policies
4362
## Ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/
4363
##
4364
networkPolicy:
4365
## @param receive.networkPolicy.enabled Specifies whether a NetworkPolicy should be created
4366
##
4367
enabled: true
4368
## @param receive.networkPolicy.allowExternal Don't require client label for connections
4369
## The Policy model to apply. When set to false, only pods with the correct
4370
## client label will have network access to the ports the application is listening
4371
## on. When true, the app will accept connections from any source
4372
## (with the correct destination port).
4373
##
4374
allowExternal: true
4375
## @param receive.networkPolicy.allowExternalEgress Allow the pod to access any range of port and all destinations.
4376
##
4377
allowExternalEgress: true
4378
## @param receive.networkPolicy.extraIngress [array] Add extra ingress rules to the NetworkPolicy
4379
## e.g:
4380
## extraIngress:
4381
## - ports:
4382
## - port: 1234
4383
## from:
4384
## - podSelector:
4385
## - matchLabels:
4386
## - role: frontend
4387
## - podSelector:
4388
## - matchExpressions:
4389
## - key: role
4390
## operator: In
4391
## values:
4392
## - frontend
4393
extraIngress: []
4394
## @param receive.networkPolicy.extraEgress [array] Add extra ingress rules to the NetworkPolicy
4395
## e.g:
4396
## extraEgress:
4397
## - ports:
4398
## - port: 1234
4399
## to:
4400
## - podSelector:
4401
## - matchLabels:
4402
## - role: frontend
4403
## - podSelector:
4404
## - matchExpressions:
4405
## - key: role
4406
## operator: In
4407
## values:
4408
## - frontend
4409
##
4410
extraEgress: []
4411
## @param receive.networkPolicy.ingressNSMatchLabels [object] Labels to match to allow traffic from other namespaces
4412
## @param receive.networkPolicy.ingressNSPodMatchLabels [object] Pod labels to match to allow traffic from other namespaces
4413
##
4414
ingressNSMatchLabels: {}
4415
ingressNSPodMatchLabels: {}
4416
## Service parameters
4417
##
4418
service:
4419
## @param receive.service.type Kubernetes service type
4420
##
4421
type: ClusterIP
4422
## @param receive.service.ports.http Thanos Receive service HTTP port
4423
## @param receive.service.ports.grpc Thanos Receive service GRPC port
4424
## @param receive.service.ports.remote Thanos Receive service Remote-write port
4425
## @param receive.service.ports.capnproto Thanos Receive service Cap'n'Proto port
4426
##
4427
ports:
4428
http: 10902
4429
grpc: 10901
4430
remote: 19291
4431
capnproto: 19391
4432
## @param receive.service.nodePorts.http Specify the Thanos Receive HTTP nodePort value for the LoadBalancer and NodePort service types
4433
## @param receive.service.nodePorts.grpc Specify the Thanos Receive GRPC nodePort value for the LoadBalancer and NodePort service types
4434
## @param receive.service.nodePorts.remote Specify the Thanos Receive Remote-write nodePort value for the LoadBalancer and NodePort service types
4435
## @param receive.service.nodePorts.capnproto Specify the Thanos Receive Cap'n'Proto nodePort value for the LoadBalancer and NodePort service types
4436
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
4437
##
4438
nodePorts:
4439
http: ""
4440
grpc: ""
4441
remote: ""
4442
capnproto: ""
4443
## @param receive.service.clusterIP Thanos Receive service clusterIP IP
4444
## e.g:
4445
## clusterIP: None
4446
##
4447
clusterIP: ""
4448
## @param receive.service.loadBalancerIP Load balancer IP if service type is `LoadBalancer`
4449
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
4450
##
4451
loadBalancerIP: ""
4452
## @param receive.service.loadBalancerSourceRanges Addresses that are allowed when service is LoadBalancer
4453
## https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
4454
## e.g:
4455
## loadBalancerSourceRanges:
4456
## - 10.10.10.0/24
4457
##
4458
loadBalancerSourceRanges: []
4459
## @param receive.service.externalTrafficPolicy Thanos Receive service externalTrafficPolicy
4460
## Denotes if this Service desires to route external traffic to node-local or cluster-wide endpoints
4461
##
4462
externalTrafficPolicy: Cluster
4463
## @param receive.service.labels Extra labels for Thanos Receive service
4464
##
4465
labels: {}
4466
## @param receive.service.annotations Annotations for Thanos Receive service
4467
##
4468
annotations: {}
4469
## @param receive.service.extraPorts Extra ports to expose in the Thanos Receive service
4470
##
4471
extraPorts: []
4472
## @param receive.service.labelSelectorsOverride Selector for Thanos receive service
4473
##
4474
labelSelectorsOverride: {}
4475
## @param receive.service.additionalHeadless Additional Headless service
4476
##
4477
additionalHeadless: false
4478
## Headless service properties
4479
##
4480
headless:
4481
## @param receive.service.headless.annotations Annotations for the headless service.
4482
##
4483
annotations: {}
4484
## @param receive.service.ipFamilyPolicy Sets the IP family policy for the Service to be able to configure dual-stack; see [Configure dual-stack](https://kubernetes.io/docs/concepts/services-networking/dual-stack/#services).
4485
##
4486
ipFamilyPolicy: ""
4487
## @param receive.service.ipFamilies A list of IP families for the Service that should be supported, in the order in which they should be applied. Can be "IPv4" and/or "IPv6".
4488
##
4489
ipFamilies: []
4490
## @param receive.automountServiceAccountToken Enable/disable auto mounting of the service account token only for the sts
4491
##
4492
automountServiceAccountToken: true
4493
## ServiceAccount configuration
4494
## @param receive.serviceAccount.create Specifies whether a ServiceAccount should be created
4495
## @param receive.serviceAccount.name Name of the service account to use. If not set and create is true, a name is generated using the fullname template.
4496
## @param receive.serviceAccount.annotations Annotations for Thanos Receive Service Account
4497
## @param receive.serviceAccount.automountServiceAccountToken Enable/disable auto mounting of the service account token
4498
##
4499
serviceAccount:
4500
create: true
4501
name: ""
4502
annotations: {}
4503
automountServiceAccountToken: false
4504
## Thanos Receive Autoscaling configuration
4505
## ref: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/
4506
## @param receive.autoscaling.enabled Enable autoscaling for Thanos Receive
4507
## @param receive.autoscaling.minReplicas Minimum number of Thanos Receive replicas
4508
## @param receive.autoscaling.maxReplicas Maximum number of Thanos Receive replicas
4509
## @param receive.autoscaling.targetCPU Target CPU utilization percentage
4510
## @param receive.autoscaling.targetMemory Target Memory utilization percentage
4511
## @param receive.autoscaling.behavior HPA Behavior
4512
## @param receive.externalAutoscaler Specifies whether the Thanos Receive statefulset is scaled by an external autoscaler
4513
##
4514
autoscaling:
4515
enabled: false
4516
minReplicas: ""
4517
maxReplicas: ""
4518
targetCPU: ""
4519
targetMemory: ""
4520
behavior: {}
4521
externalAutoscaler: false
4522
## Thanos Receive Pod Disruption Budget configuration
4523
## ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb
4524
## @param receive.pdb.create Enable/disable a Pod Disruption Budget creation for Thanos Receive
4525
## @param receive.pdb.minAvailable Minimum number/percentage of pods that should remain scheduled
4526
## @param receive.pdb.maxUnavailable Maximum number/percentage of pods that may be made unavailable
4527
##
4528
pdb:
4529
create: true
4530
minAvailable: ""
4531
maxUnavailable: ""
4532
## Persistence parameters
4533
##
4534
persistence:
4535
## @param receive.persistence.enabled Enable data persistence using PVC(s) on Thanos Receive pods
4536
##
4537
enabled: true
4538
## @param receive.persistence.storageClass Specify the `storageClass` used to provision the volume
4539
## If defined, storageClassName: <storageClass>
4540
## If set to "-", storageClassName: "", which disables dynamic provisioning
4541
## If undefined (the default) or set to null, no storageClassName spec is
4542
## set, choosing the default provisioner.
4543
##
4544
storageClass: ""
4545
## @param receive.persistence.accessModes PVC Access Modes for data volume
4546
##
4547
accessModes:
4548
- ReadWriteOnce
4549
## @param receive.persistence.size PVC Storage Request for data volume
4550
##
4551
size: 8Gi
4552
## @param receive.persistence.labels Labels for the PVC
4553
##
4554
labels: {}
4555
## @param receive.persistence.annotations Annotations for the PVC
4556
##
4557
annotations: {}
4558
## @param receive.persistence.existingClaim Name of an existing PVC to use
4559
## If defined, PVC must be created manually before volume will be bound
4560
##
4561
existingClaim: ""
4562
## Persistent Volume Claim Retention Policy
4563
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#persistentvolumeclaim-retention
4564
##
4565
persistentVolumeClaimRetentionPolicy:
4566
## @param receive.persistentVolumeClaimRetentionPolicy.enabled Enable Persistent volume retention policy for Thanos Receive Statefulset
4567
##
4568
enabled: false
4569
## @param receive.persistentVolumeClaimRetentionPolicy.whenScaled Volume retention behavior when the replica count of the StatefulSet is reduced
4570
##
4571
whenScaled: Retain
4572
## @param receive.persistentVolumeClaimRetentionPolicy.whenDeleted Volume retention behavior that applies when the StatefulSet is deleted
4573
##
4574
whenDeleted: Retain
4575
## Configure the ingress resource that allows you to access Thanos Receive
4576
## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/
4577
##
4578
ingress:
4579
## @param receive.ingress.enabled Set to true to enable ingress record generation
4580
##
4581
enabled: false
4582
## @param receive.ingress.hostname When the ingress is enabled, a host pointing to this will be created
4583
##
4584
hostname: thanos-receive.local
4585
## @param receive.ingress.ingressClassName IngressClass that will be be used to implement the Ingress (Kubernetes 1.18+)
4586
## This is supported in Kubernetes 1.18+ and required if you have more than one IngressClass marked as the default for your cluster .
4587
## ref: https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/
4588
##
4589
ingressClassName: ""
4590
## @param receive.ingress.labels Additional label for the Ingress resource.
4591
## Use this parameter to set the required labels for your needs
4592
## e.g:
4593
## labels:
4594
## dns-managed-by-external-dns: 'true'
4595
##
4596
labels: {}
4597
## @param receive.ingress.annotations Additional annotations for the Ingress resource. To enable certificate autogeneration, place here your cert-manager annotations.
4598
## For a full list of possible ingress annotations, please see
4599
## ref: https://github.com/kubernetes/ingress-nginx/blob/main/docs/user-guide/nginx-configuration/annotations.md
4600
## Use this parameter to set the required annotations for cert-manager, see
4601
## ref: https://cert-manager.io/docs/usage/ingress/#supported-annotations
4602
##
4603
## e.g:
4604
## annotations:
4605
## kubernetes.io/ingress.class: nginx
4606
## cert-manager.io/cluster-issuer: cluster-issuer-name
4607
##
4608
annotations: {}
4609
## @param receive.ingress.extraHosts The list of additional hostnames to be covered with this ingress record.
4610
## Most likely the hostname above will be enough, but in the event more hosts are needed, this is an array
4611
## extraHosts:
4612
## - name: thanos.local
4613
## path: /
4614
## pathType: ImplementationSpecific
4615
## portName: "http" # or "remote"
4616
##
4617
extraHosts: []
4618
## @param receive.ingress.extraTls The tls configuration for additional hostnames to be covered with this ingress record.
4619
## see: https://kubernetes.io/docs/concepts/services-networking/ingress/#tls
4620
## extraTls:
4621
## - hosts:
4622
## - thanos.local
4623
## secretName: thanos.local-tls
4624
##
4625
extraTls: []
4626
## @param receive.ingress.secrets If you're providing your own certificates, please use this to add the certificates as secrets
4627
## key and certificate should start with -----BEGIN CERTIFICATE----- or
4628
## -----BEGIN RSA PRIVATE KEY-----
4629
##
4630
## name should line up with a tlsSecret set further up
4631
## If you're using cert-manager, this is unneeded, as it will create the secret for you if it is not set
4632
##
4633
## It is also possible to create and manage the certificates outside of this helm chart
4634
## Please see README.md for more information
4635
## e.g:
4636
## - name: thanos.local-tls
4637
## key:
4638
## certificate:
4639
##
4640
secrets: []
4641
## @param receive.ingress.extraRules Additional rules to be covered with this ingress record
4642
## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/#ingress-rules
4643
## e.g:
4644
## extraRules:
4645
## - host: example.local
4646
## http:
4647
## path: /
4648
## backend:
4649
## service:
4650
## name: example-svc
4651
## port:
4652
## name: http
4653
##
4654
extraRules: []
4655
## @param receive.ingress.tls Enable TLS configuration for the hostname defined at `receive.ingress.hostname` parameter
4656
## TLS certificates will be retrieved from a TLS secret with name: `{{- printf "%s-tls" .Values.receive.ingress.hostname }}`
4657
## You can:
4658
## - Use the `receive.ingress.secrets` parameter to create this TLS secret
4659
## - Rely on cert-manager to create it by setting the corresponding annotations
4660
## - Rely on Helm to create self-signed certificates by setting `receive.ingress.selfSigned=true`
4661
##
4662
tls: false
4663
## @param receive.ingress.selfSigned Create a TLS secret for this ingress record using self-signed certificates generated by Helm
4664
##
4665
selfSigned: false
4666
## @param receive.ingress.apiVersion Override API Version (automatically detected if not set)
4667
##
4668
apiVersion: ""
4669
## @param receive.ingress.path Ingress Path
4670
##
4671
path: /
4672
## @param receive.ingress.pathType Ingress Path type
4673
##
4674
pathType: ImplementationSpecific
4675
## @section Thanos Receive Distributor parameters
4676
receiveDistributor:
4677
## @param receiveDistributor.enabled Enable/disable Thanos Receive Distributor component
4678
##
4679
enabled: false
4680
## @param receiveDistributor.logLevel Thanos Receive Distributor log level
4681
##
4682
logLevel: info
4683
## @param receiveDistributor.logFormat Thanos Receive Distributor log format
4684
##
4685
logFormat: logfmt
4686
## @param receiveDistributor.replicaLabel Label to treat as a replica indicator along which data is de-duplicated
4687
##
4688
replicaLabel: replica
4689
## @param receiveDistributor.replicationProtocol Thanos Receive Distributor replication-protocol
4690
## ref: https://thanos.io/tip/components/receive.md/#replication-protocols
4691
##
4692
replicationProtocol: capnproto
4693
## @param receiveDistributor.replicationFactor Thanos Receive Distributor replication-factor
4694
##
4695
replicationFactor: 1
4696
## @param receiveDistributor.extraEnvVars Extra environment variables for Thanos Receive Distributor container
4697
## e.g:
4698
## extraEnvVars:
4699
## - name: FOO
4700
## value: "bar"
4701
##
4702
extraEnvVars: []
4703
## @param receiveDistributor.extraEnvVarsCM Name of existing ConfigMap containing extra env vars for Thanos Receive Distributor nodes
4704
##
4705
extraEnvVarsCM: ""
4706
## @param receiveDistributor.extraEnvVarsSecret Name of existing Secret containing extra env vars for Thanos Receive Distributor nodes
4707
##
4708
extraEnvVarsSecret: ""
4709
## @param receiveDistributor.extraFlags Extra Flags to passed to Thanos Receive Distributor
4710
##
4711
extraFlags: []
4712
## @param receiveDistributor.command Override default container command (useful when using custom images)
4713
##
4714
command: []
4715
## @param receiveDistributor.args Override default container args (useful when using custom images)
4716
##
4717
args: []
4718
## @param receiveDistributor.replicaCount Number of Thanos Receive Distributor replicas to deploy
4719
##
4720
replicaCount: 1
4721
## @param receiveDistributor.revisionHistoryLimit The number of old history to retain to allow rollback
4722
##
4723
revisionHistoryLimit: 10
4724
## @param receiveDistributor.updateStrategy.type Update strategy type for Thanos Receive Distributor replicas
4725
##
4726
updateStrategy:
4727
type: RollingUpdate
4728
## K8s Pod Security Context for Thanos Receive Distributor pods
4729
## https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
4730
## @param receiveDistributor.podSecurityContext.enabled Enable security context for the Thanos Receive Distributor pods
4731
## @param receiveDistributor.podSecurityContext.fsGroupChangePolicy Set filesystem group change policy
4732
## @param receiveDistributor.podSecurityContext.sysctls Set kernel settings using the sysctl interface
4733
## @param receiveDistributor.podSecurityContext.supplementalGroups Set filesystem extra groups
4734
## @param receiveDistributor.podSecurityContext.fsGroup Group ID for the filesystem used by Thanos Receive Distributor pods
4735
##
4736
podSecurityContext:
4737
enabled: true
4738
fsGroupChangePolicy: Always
4739
sysctls: []
4740
supplementalGroups: []
4741
fsGroup: 1001
4742
## K8s containers' Security Context for Thanos Receive Distributor containers
4743
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
4744
## @param receiveDistributor.containerSecurityContext.enabled Enabled containers' Security Context
4745
## @param receiveDistributor.containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in container
4746
## @param receiveDistributor.containerSecurityContext.runAsUser Set containers' Security Context runAsUser
4747
## @param receiveDistributor.containerSecurityContext.runAsGroup Set containers' Security Context runAsGroup
4748
## @param receiveDistributor.containerSecurityContext.runAsNonRoot Set container's Security Context runAsNonRoot
4749
## @param receiveDistributor.containerSecurityContext.privileged Set container's Security Context privileged
4750
## @param receiveDistributor.containerSecurityContext.readOnlyRootFilesystem Set container's Security Context readOnlyRootFilesystem
4751
## @param receiveDistributor.containerSecurityContext.allowPrivilegeEscalation Set container's Security Context allowPrivilegeEscalation
4752
## @param receiveDistributor.containerSecurityContext.capabilities.drop List of capabilities to be dropped
4753
## @param receiveDistributor.containerSecurityContext.seccompProfile.type Set container's Security Context seccomp profile
4754
##
4755
containerSecurityContext:
4756
enabled: true
4757
seLinuxOptions: {}
4758
runAsUser: 1001
4759
runAsGroup: 1001
4760
runAsNonRoot: true
4761
privileged: false
4762
readOnlyRootFilesystem: true
4763
allowPrivilegeEscalation: false
4764
capabilities:
4765
drop: ["ALL"]
4766
seccompProfile:
4767
type: "RuntimeDefault"
4768
## Thanos Receive Distributor containers' resource requests and limits
4769
## ref: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
4770
## @param receiveDistributor.resourcesPreset Set container resources according to one common preset (allowed values: none, nano, micro, small, medium, large, xlarge, 2xlarge). This is ignored if receiveDistributor.resources is set (receiveDistributor.resources is recommended for production).
4771
##
4772
resourcesPreset: "nano"
4773
## @param receiveDistributor.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
4774
## Example:
4775
## resources:
4776
## requests:
4777
## cpu: 2
4778
## memory: 512Mi
4779
## limits:
4780
## cpu: 3
4781
## memory: 1024Mi
4782
##
4783
resources: {}
4784
## Configure extra options for Thanos Receive Distributor containers' liveness and readiness probes
4785
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
4786
## @param receiveDistributor.livenessProbe.enabled Enable livenessProbe on Thanos Receive Distributor containers
4787
## @param receiveDistributor.livenessProbe.initialDelaySeconds Initial delay seconds for livenessProbe
4788
## @param receiveDistributor.livenessProbe.periodSeconds Period seconds for livenessProbe
4789
## @param receiveDistributor.livenessProbe.timeoutSeconds Timeout seconds for livenessProbe
4790
## @param receiveDistributor.livenessProbe.failureThreshold Failure threshold for livenessProbe
4791
## @param receiveDistributor.livenessProbe.successThreshold Success threshold for livenessProbe
4792
##
4793
livenessProbe:
4794
enabled: true
4795
initialDelaySeconds: 30
4796
timeoutSeconds: 30
4797
periodSeconds: 10
4798
successThreshold: 1
4799
failureThreshold: 6
4800
## @param receiveDistributor.readinessProbe.enabled Enable readinessProbe on Thanos Receive Distributor containers
4801
## @param receiveDistributor.readinessProbe.initialDelaySeconds Initial delay seconds for readinessProbe
4802
## @param receiveDistributor.readinessProbe.periodSeconds Period seconds for readinessProbe
4803
## @param receiveDistributor.readinessProbe.timeoutSeconds Timeout seconds for readinessProbe
4804
## @param receiveDistributor.readinessProbe.failureThreshold Failure threshold for readinessProbe
4805
## @param receiveDistributor.readinessProbe.successThreshold Success threshold for readinessProbe
4806
##
4807
readinessProbe:
4808
enabled: true
4809
initialDelaySeconds: 30
4810
timeoutSeconds: 30
4811
periodSeconds: 10
4812
successThreshold: 1
4813
failureThreshold: 6
4814
## @param receiveDistributor.startupProbe.enabled Enable startupProbe on Thanos Receive Distributor containers
4815
## @param receiveDistributor.startupProbe.initialDelaySeconds Initial delay seconds for startupProbe
4816
## @param receiveDistributor.startupProbe.periodSeconds Period seconds for startupProbe
4817
## @param receiveDistributor.startupProbe.timeoutSeconds Timeout seconds for startupProbe
4818
## @param receiveDistributor.startupProbe.failureThreshold Failure threshold for startupProbe
4819
## @param receiveDistributor.startupProbe.successThreshold Success threshold for startupProbe
4820
##
4821
startupProbe:
4822
enabled: false
4823
initialDelaySeconds: 5
4824
periodSeconds: 5
4825
timeoutSeconds: 1
4826
failureThreshold: 15
4827
successThreshold: 1
4828
## @param receiveDistributor.customLivenessProbe Custom livenessProbe that overrides the default one
4829
##
4830
customLivenessProbe: {}
4831
## @param receiveDistributor.customReadinessProbe Custom readinessProbe that overrides the default one
4832
##
4833
customReadinessProbe: {}
4834
## @param receiveDistributor.customStartupProbe Custom startupProbe that overrides the default one
4835
##
4836
customStartupProbe: {}
4837
## @param receiveDistributor.terminationGracePeriodSeconds for the Thanos Receive containers(s) to extend the grace period
4838
##
4839
terminationGracePeriodSeconds: ""
4840
## @param receiveDistributor.initContainers Add additional init containers to the Thanos Receive Distributor pods
4841
## ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
4842
## e.g:
4843
## initContainers:
4844
## - name: your-image-name
4845
## image: your-image
4846
## imagePullPolicy: Always
4847
## command: ['sh', '-c', 'echo "hello world"']
4848
##
4849
initContainers: []
4850
## @param receiveDistributor.sidecars Extra containers running as sidecars to Thanos Receive Distributor pods
4851
## e.g:
4852
## sidecars:
4853
## - name: your-image-name
4854
## image: your-image
4855
## imagePullPolicy: Always
4856
## ports:
4857
## - name: portname
4858
## containerPort: 1234
4859
##
4860
sidecars: []
4861
## @param receiveDistributor.extraVolumes Extra volumes to add to Thanos Receive Distributor
4862
##
4863
extraVolumes: []
4864
## @param receiveDistributor.extraVolumeMounts Extra volume mounts to add to the receive distributor container
4865
##
4866
extraVolumeMounts: []
4867
## @param receiveDistributor.podAffinityPreset Thanos Receive pod affinity preset
4868
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
4869
## Allowed values: soft, hard
4870
##
4871
podAffinityPreset: ""
4872
## @param receiveDistributor.podAntiAffinityPreset Thanos Receive pod anti-affinity preset. Ignored if `receiveDistributor.affinity` is set. Allowed values: `soft` or `hard`
4873
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
4874
##
4875
podAntiAffinityPreset: soft
4876
## Thanos Receive node affinity preset
4877
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
4878
##
4879
nodeAffinityPreset:
4880
## @param receiveDistributor.nodeAffinityPreset.type Thanos Receive node affinity preset type. Ignored if `receiveDistributor.affinity` is set. Allowed values: `soft` or `hard`
4881
##
4882
type: ""
4883
## @param receiveDistributor.nodeAffinityPreset.key Thanos Receive node label key to match. Ignored if `receiveDistributor.affinity` is set.
4884
## e.g:
4885
## key: "kubernetes.io/e2e-az-name"
4886
##
4887
key: ""
4888
## @param receiveDistributor.nodeAffinityPreset.values Thanos Receive node label values to match. Ignored if `receiveDistributor.affinity` is set.
4889
## e.g:
4890
## values:
4891
## - e2e-az1
4892
## - e2e-az2
4893
##
4894
values: []
4895
## @param receiveDistributor.affinity Thanos Receive Distributor affinity for pod assignment
4896
## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
4897
## Note: receiveDistributor.podAffinityPreset, receiveDistributor.podAntiAffinityPreset, and receiveDistributor.nodeAffinityPreset will be ignored when it's set
4898
##
4899
affinity: {}
4900
## @param receiveDistributor.nodeSelector Thanos Receive Distributor node labels for pod assignment
4901
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
4902
##
4903
nodeSelector: {}
4904
## @param receiveDistributor.tolerations Thanos Receive Distributor tolerations for pod assignment
4905
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
4906
##
4907
tolerations: []
4908
## @param receiveDistributor.podLabels Thanos Receive Distributor pod labels
4909
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
4910
##
4911
podLabels: {}
4912
## @param receiveDistributor.podAnnotations Annotations for Thanos Receive Distributor pods
4913
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
4914
##
4915
podAnnotations: {}
4916
## @param receiveDistributor.dnsConfig Deployment pod DNS config
4917
## ref: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/
4918
## E.g.
4919
## dnsConfig:
4920
## options:
4921
## - name: ndots
4922
## value: "4"
4923
## - name: single-request-reopen
4924
##
4925
dnsConfig: {}
4926
## @param receiveDistributor.dnsPolicy Deployment pod DNS policy
4927
## ref: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/
4928
## E.g.
4929
## dnsPolicy: ClusterFirstWithHostNet
4930
##
4931
dnsPolicy: ""
4932
## @param receiveDistributor.hostAliases Deployment pod host aliases
4933
## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
4934
##
4935
hostAliases: []
4936
## @param receiveDistributor.lifecycleHooks for the Thanos Receive Distributor container(s) to automate configuration before or after startup
4937
##
4938
lifecycleHooks: {}
4939
## @param receiveDistributor.priorityClassName Thanos Receive Distributor priorityClassName
4940
## ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/
4941
##
4942
priorityClassName: ""
4943
## @param receiveDistributor.schedulerName Name of the k8s scheduler (other than default) for Thanos Receive Distributor pods
4944
## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
4945
##
4946
schedulerName: ""
4947
## @param receiveDistributor.topologySpreadConstraints Topology Spread Constraints for Thanos Receive Distributor pods assignment spread across your cluster among failure-domains
4948
## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/#spread-constraints-for-pods
4949
##
4950
topologySpreadConstraints: []
4951
## @param receiveDistributor.automountServiceAccountToken Enable/disable auto mounting of the service account token only for the deployment
4952
##
4953
automountServiceAccountToken: true
4954
## ServiceAccount configuration
4955
## @param receiveDistributor.serviceAccount.create Specifies whether a ServiceAccount should be created
4956
## @param receiveDistributor.serviceAccount.name Name of the service account to use. If not set and create is true, a name is generated using the fullname template.
4957
## @param receiveDistributor.serviceAccount.annotations Annotations for Thanos Receive Distributor Service Account
4958
## @param receiveDistributor.serviceAccount.automountServiceAccountToken Enable/disable auto mounting of the service account token
4959
##
4960
serviceAccount:
4961
create: true
4962
name: ""
4963
annotations: {}
4964
automountServiceAccountToken: false
4965
## Thanos Receive Distributor Autoscaling configuration
4966
## ref: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/
4967
## @param receiveDistributor.autoscaling.enabled Enable autoscaling for Thanos Receive Distributor
4968
## @param receiveDistributor.autoscaling.minReplicas Minimum number of Thanos Receive Distributor replicas
4969
## @param receiveDistributor.autoscaling.maxReplicas Maximum number of Thanos Receive Distributor replicas
4970
## @param receiveDistributor.autoscaling.targetCPU Target CPU utilization percentage
4971
## @param receiveDistributor.autoscaling.targetMemory Target Memory utilization percentage
4972
## @param receiveDistributor.autoscaling.behavior HPA Behavior
4973
## @param receiveDistributor.externalAutoscaler Specifies whether the Thanos Receive Distributor deployment is scaled by an external autoscaler
4974
##
4975
autoscaling:
4976
enabled: false
4977
minReplicas: ""
4978
maxReplicas: ""
4979
targetCPU: ""
4980
targetMemory: ""
4981
behavior: {}
4982
externalAutoscaler: false
4983
## Thanos Receive Distributor Pod Disruption Budget configuration
4984
## ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb
4985
## @param receiveDistributor.pdb.create Enable/disable a Pod Disruption Budget creation for Thanos Receive Distributor
4986
## @param receiveDistributor.pdb.minAvailable Minimum number/percentage of pods that should remain scheduled
4987
## @param receiveDistributor.pdb.maxUnavailable Maximum number/percentage of pods that may be made unavailable
4988
##
4989
pdb:
4990
create: true
4991
minAvailable: ""
4992
maxUnavailable: ""
4993
## @section Metrics parameters
4994
4995
## Prometheus metrics
4996
##
4997
metrics:
4998
## @param metrics.enabled Enable the export of Prometheus metrics
4999
##
5000
enabled: false
5001
## Prometheus Operator ServiceMonitor configuration
5002
##
5003
serviceMonitor:
5004
## @param metrics.serviceMonitor.enabled Specify if a ServiceMonitor will be deployed for Prometheus Operator
5005
##
5006
enabled: false
5007
## @param metrics.serviceMonitor.namespace Namespace in which Prometheus is running
5008
##
5009
namespace: ""
5010
## @param metrics.serviceMonitor.labels Extra labels for the ServiceMonitor
5011
##
5012
labels: {}
5013
## @param metrics.serviceMonitor.jobLabel The name of the label on the target service to use as the job name in Prometheus
5014
##
5015
jobLabel: ""
5016
## @param metrics.serviceMonitor.interval How frequently to scrape metrics
5017
## e.g:
5018
## interval: 10s
5019
##
5020
interval: ""
5021
## @param metrics.serviceMonitor.scrapeTimeout Timeout after which the scrape is ended
5022
## e.g:
5023
## scrapeTimeout: 10s
5024
##
5025
scrapeTimeout: ""
5026
## @param metrics.serviceMonitor.metricRelabelings [array] Specify additional relabeling of metrics
5027
##
5028
metricRelabelings: []
5029
## @param metrics.serviceMonitor.relabelings [array] Specify general relabeling
5030
##
5031
relabelings: []
5032
## @param metrics.serviceMonitor.selector Prometheus instance selector labels
5033
##
5034
selector: {}
5035
## @param metrics.serviceMonitor.extraParameters Any extra parameter to be added to the endpoint configured in the ServiceMonitor
5036
## (e.g. tlsConfig for further customization of the HTTPS behavior)
5037
## Note that the 'scheme' is automatically set to 'https' when the 'https.enabled' flag is used in this chart.
5038
## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#monitoring.coreos.com/v1.Endpoint
5039
##
5040
extraParameters: {}
5041
## PrometheusRule CRD configuration
5042
##
5043
prometheusRule:
5044
## @param metrics.prometheusRule.enabled If `true`, creates a Prometheus Operator PrometheusRule (also requires `metrics.enabled` to be `true`)
5045
##
5046
enabled: false
5047
## Configure prometheus rules
5048
##
5049
default:
5050
## @extra metrics.prometheusRule.default.absent_rules Enable absent_rules when metrics.prometheusRule.default.create is false (also requires `metrics.enabled` to be `true`)
5051
## @extra metrics.prometheusRule.default.compaction Enable compaction rules when metrics.prometheusRule.default.create is false (also requires `metrics.enabled` to be `true`)
5052
## @extra metrics.prometheusRule.default.query Enable query when metrics.prometheusRule.default.create is false (also requires `metrics.enabled` to be `true`)
5053
## @extra metrics.prometheusRule.default.receive Enable receive rules when metrics.prometheusRule.default.create is false (also requires `metrics.enabled` to be `true`)
5054
## @extra metrics.prometheusRule.default.replicate Enable replicate rules when metrics.prometheusRule.default.create is false (also requires `metrics.enabled` to be `true`)
5055
## @extra metrics.prometheusRule.default.ruler Enable ruler rules when metrics.prometheusRule.default.create is false (also requires `metrics.enabled` to be `true`)
5056
## @extra metrics.prometheusRule.default.sidecar Enable sidecar rules when metrics.prometheusRule.default.create is false (also requires `metrics.enabled` to be `true`)
5057
## @param metrics.prometheusRule.default.sidecarJobRegex Allows the customization of the thanos-sidecar job name to use in the sidecar prometheus alerts
5058
sidecarJobRegex: ".*thanos-sidecar.*"
5059
## @extra metrics.prometheusRule.default.store_gateway Enable store_gateway rules when metrics.prometheusRule.default.create is false (also requires `metrics.enabled` to be `true`)
5060
## @param metrics.prometheusRule.default.create would create all default prometheus alerts
5061
##
5062
create: false
5063
## @extra metrics.prometheusRule.default.disabled.ThanosCompactIsDown Disable ThanosCompactIsDown rule when metrics.prometheusRule.default.create or metrics.prometheusRule.default.absent_rules is true
5064
## @extra metrics.prometheusRule.default.disabled.ThanosQueryIsDown Disable ThanosQueryIsDown rule when metrics.prometheusRule.default.create or metrics.prometheusRule.default.absent_rules is true
5065
## @extra metrics.prometheusRule.default.disabled.ThanosReceiveIsDown Disable ThanosReceiveIsDown rule when metrics.prometheusRule.default.create or metrics.prometheusRule.default.absent_rules is true
5066
## @extra metrics.prometheusRule.default.disabled.ThanosRuleIsDown Disable ThanosRuleIsDown rule when metrics.prometheusRule.default.create or metrics.prometheusRule.default.absent_rules is true
5067
## @extra metrics.prometheusRule.default.disabled.ThanosSidecarIsDown Disable ThanosSidecarIsDown rule when metrics.prometheusRule.default.create or metrics.prometheusRule.default.absent_rules is true
5068
## @extra metrics.prometheusRule.default.disabled.ThanosStoreIsDown Disable ThanosStoreIsDown rule when metrics.prometheusRule.default.create or metrics.prometheusRule.default.absent_rules is true
5069
## @extra metrics.prometheusRule.default.disabled.ThanosCompactMultipleRunning Disable ThanosCompactMultipleRunning rule when metrics.prometheusRule.default.create or metrics.prometheusRule.default.compaction is true
5070
## @extra metrics.prometheusRule.default.disabled.ThanosCompactHalted Disable ThanosCompactMultipleRunning rule when metrics.prometheusRule.default.create or metrics.prometheusRule.default.compaction is true
5071
## @extra metrics.prometheusRule.default.disabled.ThanosCompactHighCompactionFailures Disable ThanosCompactMultipleRunning rule when metrics.prometheusRule.default.create or metrics.prometheusRule.default.compaction is true
5072
## @extra metrics.prometheusRule.default.disabled.ThanosCompactBucketHighOperationFailures Disable ThanosCompactMultipleRunning rule when metrics.prometheusRule.default.create or metrics.prometheusRule.default.compaction is true
5073
## @extra metrics.prometheusRule.default.disabled.ThanosCompactHasNotRun Disable ThanosCompactMultipleRunning rule when metrics.prometheusRule.default.create or metrics.prometheusRule.default.compaction is true
5074
## @extra metrics.prometheusRule.default.disabled.ThanosQueryHttpRequestQueryErrorRateHigh Disable ThanosQueryHttpRequestQueryErrorRateHigh rule when metrics.prometheusRule.default.create or metrics.prometheusRule.default.query is true
5075
## @extra metrics.prometheusRule.default.disabled.ThanosQueryHttpRequestQueryRangeErrorRateHigh Disable ThanosQueryHttpRequestQueryRangeErrorRateHigh rule when metrics.prometheusRule.default.create or metrics.prometheusRule.default.query is true
5076
## @extra metrics.prometheusRule.default.disabled.ThanosQueryGrpcServerErrorRate Disable ThanosQueryGrpcServerErrorRate rule when metrics.prometheusRule.default.create or metrics.prometheusRule.default.query is true
5077
## @extra metrics.prometheusRule.default.disabled.ThanosQueryGrpcClientErrorRate Disable ThanosQueryGrpcClientErrorRate rule when metrics.prometheusRule.default.create or metrics.prometheusRule.default.query is true
5078
## @extra metrics.prometheusRule.default.disabled.ThanosQueryHighDNSFailures Disable ThanosQueryHighDNSFailures rule when metrics.prometheusRule.default.create or metrics.prometheusRule.default.query is true
5079
## @extra metrics.prometheusRule.default.disabled.ThanosQueryInstantLatencyHigh Disable ThanosQueryInstantLatencyHigh rule when metrics.prometheusRule.default.create or metrics.prometheusRule.default.query is true
5080
## @extra metrics.prometheusRule.default.disabled.ThanosQueryRangeLatencyHigh Disable ThanosQueryRangeLatencyHigh rule when metrics.prometheusRule.default.create or metrics.prometheusRule.default.query is true
5081
## @extra metrics.prometheusRule.default.disabled.ThanosQueryOverload Disable ThanosQueryOverload rule when metrics.prometheusRule.default.create or metrics.prometheusRule.default.query is true
5082
## @extra metrics.prometheusRule.default.disabled.ThanosReceiveHttpRequestErrorRateHigh Disable ThanosReceiveHttpRequestErrorRateHigh rule when metrics.prometheusRule.default.create or metrics.prometheusRule.default.receive is true
5083
## @extra metrics.prometheusRule.default.disabled.ThanosReceiveHttpRequestLatencyHigh Disable ThanosReceiveHttpRequestLatencyHigh rule when metrics.prometheusRule.default.create or metrics.prometheusRule.default.receive is true
5084
## @extra metrics.prometheusRule.default.disabled.ThanosReceiveHighReplicationFailures Disable ThanosReceiveHighReplicationFailures rule when metrics.prometheusRule.default.create or metrics.prometheusRule.default.receive is true
5085
## @extra metrics.prometheusRule.default.disabled.ThanosReceiveHighForwardRequestFailures Disable ThanosReceiveHighForwardRequestFailures rule when metrics.prometheusRule.default.create or metrics.prometheusRule.default.receive is true
5086
## @extra metrics.prometheusRule.default.disabled.ThanosReceiveHighHashringFileRefreshFailures Disable ThanosReceiveHighHashringFileRefreshFailures rule when metrics.prometheusRule.default.create or metrics.prometheusRule.default.receive is true
5087
## @extra metrics.prometheusRule.default.disabled.ThanosReceiveConfigReloadFailure Disable ThanosReceiveConfigReloadFailure rule when metrics.prometheusRule.default.create or metrics.prometheusRule.default.receive is true
5088
## @extra metrics.prometheusRule.default.disabled.ThanosReceiveNoUpload Disable ThanosReceiveNoUpload rule when metrics.prometheusRule.default.create or metrics.prometheusRule.default.receive is true
5089
## @extra metrics.prometheusRule.default.disabled.ThanosReceiveTrafficBelowThreshold Disable ThanosReceiveTrafficBelowThreshold rule when metrics.prometheusRule.default.create or metrics.prometheusRule.default.receive is true
5090
## @extra metrics.prometheusRule.default.disabled.ThanosBucketReplicateErrorRate Disable ThanosBucketReplicateErrorRate rule when metrics.prometheusRule.default.create or metrics.prometheusRule.default.receive is true
5091
## @extra metrics.prometheusRule.default.disabled.ThanosBucketReplicateRunLatency Disable ThanosBucketReplicateRunLatency rule when metrics.prometheusRule.default.create or metrics.prometheusRule.default.receive is true
5092
## @extra metrics.prometheusRule.default.disabled.ThanosRuleQueueIsDroppingAlerts Disable ThanosRuleQueueIsDroppingAlerts rule when metrics.prometheusRule.default.create or metrics.prometheusRule.default.ruler is true
5093
## @extra metrics.prometheusRule.default.disabled.ThanosRuleSenderIsFailingAlerts Disable ThanosRuleSenderIsFailingAlerts rule when metrics.prometheusRule.default.create or metrics.prometheusRule.default.ruler is true
5094
## @extra metrics.prometheusRule.default.disabled.ThanosRuleHighRuleEvaluationFailures Disable ThanosRuleHighRuleEvaluationFailures rule when metrics.prometheusRule.default.create or metrics.prometheusRule.default.ruler is true
5095
## @extra metrics.prometheusRule.default.disabled.ThanosRuleHighRuleEvaluationWarnings Disable ThanosRuleHighRuleEvaluationWarnings rule when metrics.prometheusRule.default.create or metrics.prometheusRule.default.ruler is true
5096
## @extra metrics.prometheusRule.default.disabled.ThanosRuleRuleEvaluationLatencyHigh Disable ThanosRuleRuleEvaluationLatencyHigh rule when metrics.prometheusRule.default.create or metrics.prometheusRule.default.ruler is true
5097
## @extra metrics.prometheusRule.default.disabled.ThanosRuleGrpcErrorRate Disable ThanosRuleGrpcErrorRate rule when metrics.prometheusRule.default.create or metrics.prometheusRule.default.ruler is true
5098
## @extra metrics.prometheusRule.default.disabled.ThanosRuleConfigReloadFailure Disable ThanosRuleConfigReloadFailure rule when metrics.prometheusRule.default.create or metrics.prometheusRule.default.ruler is true
5099
## @extra metrics.prometheusRule.default.disabled.ThanosRuleQueryHighDNSFailures Disable ThanosRuleQueryHighDNSFailures rule when metrics.prometheusRule.default.create or metrics.prometheusRule.default.ruler is true
5100
## @extra metrics.prometheusRule.default.disabled.ThanosRuleAlertmanagerHighDNSFailures Disable ThanosRuleAlertmanagerHighDNSFailures rule when metrics.prometheusRule.default.create or metrics.prometheusRule.default.ruler is true
5101
## @extra metrics.prometheusRule.default.disabled.ThanosRuleNoEvaluationFor10Intervals Disable ThanosRuleNoEvaluationFor10Intervals rule when metrics.prometheusRule.default.create or metrics.prometheusRule.default.ruler is true
5102
## @extra metrics.prometheusRule.default.disabled.ThanosNoRuleEvaluations Disable ThanosNoRuleEvaluations rule when metrics.prometheusRule.default.create or metrics.prometheusRule.default.ruler is true
5103
## @extra metrics.prometheusRule.default.disabled.ThanosSidecarBucketOperationsFailed Disable ThanosSidecarBucketOperationsFailed rule when metrics.prometheusRule.default.create or metrics.prometheusRule.default.sidecar is true
5104
## @extra metrics.prometheusRule.default.disabled.ThanosSidecarNoConnectionToStartedPrometheus Disable ThanosSidecarNoConnectionToStartedPrometheus rule when metrics.prometheusRule.default.create or metrics.prometheusRule.default.sidecar is true
5105
## @extra metrics.prometheusRule.default.disabled.ThanosStoreGrpcErrorRate Disable ThanosSidecarNoConnectionToStartedPrometheus rule when metrics.prometheusRule.default.create or metrics.prometheusRule.default.store_gateway is true
5106
## @extra metrics.prometheusRule.default.disabled.ThanosStoreSeriesGateLatencyHigh Disable ThanosStoreSeriesGateLatencyHigh rule when metrics.prometheusRule.default.create or metrics.prometheusRule.default.store_gateway is true
5107
## @extra metrics.prometheusRule.default.disabled.ThanosStoreBucketHighOperationFailures Disable ThanosStoreBucketHighOperationFailures rule when metrics.prometheusRule.default.create or metrics.prometheusRule.default.store_gateway is true
5108
## @extra metrics.prometheusRule.default.disabled.ThanosStoreObjstoreOperationLatencyHigh Disable ThanosStoreObjstoreOperationLatencyHigh rule when metrics.prometheusRule.default.create or metrics.prometheusRule.default.store_gateway is true
5109
## @param metrics.prometheusRule.default.disabled disable one specific prometheus alert rule
5110
##
5111
disabled: {}
5112
## @param metrics.prometheusRule.runbookUrl Prefix for runbook URLs. Use this to override the first part of the runbookURLs that is common to all rules
5113
##
5114
runbookUrl: "https://github.com/thanos-io/thanos/tree/main/mixin/runbook.md#alert-name-"
5115
## @param metrics.prometheusRule.namespace Namespace in which the PrometheusRule CRD is created
5116
##
5117
namespace: ""
5118
## @param metrics.prometheusRule.additionalLabels Additional labels for the prometheusRule
5119
##
5120
additionalLabels: {}
5121
## @param metrics.prometheusRule.groups Prometheus Rule Groups for Thanos components
5122
## These are just examples rules, please adapt them to your needs.
5123
## groups:
5124
## - name: Compactor
5125
## rules:
5126
## - alert: ThanosCompactMultipleRunning
5127
## annotations:
5128
## description: No more than one Thanos Compact instance should be running at once. There are {{`{{`}}$value{{`}}`}} instances running.
5129
## runbook_url: {{ .Values.metrics.prometheusRule.runbookUrl }}thanoscompactmultiplerunning
5130
## summary: Thanos Compact has multiple instances running.
5131
## expr: sum by (job) (up{job=~"{{ template "common.names.fullname" . }}-compact.*"}) > 1
5132
## for: 5m
5133
## labels:
5134
## severity: warning
5135
groups: []
5136
## @section Volume Permissions parameters
5137
5138
## 'volumePermissions' init container parameters
5139
## Changes the owner and group of the persistent volume mount point to runAsUser:fsGroup values
5140
## based on the *podSecurityContext/*containerSecurityContext parameters
5141
##
5142
volumePermissions:
5143
## @param volumePermissions.enabled Enable init container that changes the owner/group of the PV mount point to `runAsUser:fsGroup`
5144
##
5145
enabled: false
5146
## @param volumePermissions.image.registry [default: REGISTRY_NAME] Init container volume-permissions image registry
5147
## @param volumePermissions.image.repository [default: REPOSITORY_NAME/os-shell] Init container volume-permissions image repository
5148
## @skip volumePermissions.image.tag Init container volume-permissions image tag
5149
## @param volumePermissions.image.digest Init container volume-permissions image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag
5150
## @param volumePermissions.image.pullPolicy Init container volume-permissions image pull policy
5151
## @param volumePermissions.image.pullSecrets Specify docker-registry secret names as an array
5152
##
5153
image:
5154
registry: cgr.dev
5155
repository: chainguard-private/os-shell-iamguarded
5156
tag: 1.0.0
5157
digest: ""
5158
## ref: https://kubernetes.io/docs/concepts/containers/images/#pre-pulled-images
5159
##
5160
pullPolicy: IfNotPresent
5161
## Optionally specify an array of imagePullSecrets.
5162
## Secrets must be manually created in the namespace.
5163
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
5164
## e.g:
5165
## pullSecrets:
5166
## - myRegistryKeySecretName
5167
##
5168
pullSecrets: []
5169
## @section MinIO&reg; chart parameters
5170
minio:
5171
## @param minio.enabled Enable/disable MinIO&reg; chart installation
5172
## to be used as an objstore for Thanos
5173
##
5174
enabled: false
5175
## MinIO&reg; authentication parameters
5176
##
5177
auth:
5178
## @param minio.auth.rootUser MinIO&reg; root username
5179
##
5180
rootUser: admin
5181
## @param minio.auth.rootPassword Password for MinIO&reg; root user
5182
##
5183
rootPassword: ""
5184
## @param minio.defaultBuckets Comma, semi-colon or space separated list of MinIO&reg; buckets to create
5185
##
5186
defaultBuckets: "thanos"
5187
## MinIO&reg; containers' resource requests and limits
5188
## ref: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
5189
## We usually recommend not to specify default resources and to leave this as a conscious
5190
## choice for the user. This also increases chances charts run on environments with little
5191
## resources, such as Minikube. If you do want to specify resources, uncomment the following
5192
## lines, adjust them as necessary, and remove the curly braces after 'resources:'.
5193
## @param minio.resourcesPreset Set container resources according to one common preset (allowed values: none, nano, small, medium, large, xlarge, 2xlarge). This is ignored if resources is set (resources is recommended for production).
5194
##
5195
resourcesPreset: "micro"
5196
## @param minio.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
5197
## Example:
5198
## resources:
5199
## requests:
5200
## cpu: 2
5201
## memory: 512Mi
5202
## limits:
5203
## cpu: 3
5204
## memory: 1024Mi
5205
##
5206
resources: {}
5207
image:
5208
registry: cgr.dev
5209
repository: chainguard-private/minio-iamguarded
5210
tag: 0.20261123.001037
5211
digest: ""
5212
clientImage:
5213
registry: cgr.dev
5214
repository: chainguard-private/minio-client-iamguarded
5215
tag: 0.20250813.083541
5216
digest: ""
5217
defaultInitContainers:
5218
volumePermissions:
5219
image:
5220
registry: cgr.dev
5221
repository: chainguard-private/os-shell-iamguarded
5222
tag: 1.0.0
5223
digest: ""
5224
## @param minio.console.enabled Enable MinIO&reg; Console
5225
##
5226
console:
5227
enabled: false
5228

The trusted source for open source

Talk to an expert
PrivacyTerms

Product

Chainguard ContainersChainguard LibrariesChainguard VMsChainguard OS PackagesChainguard ActionsChainguard Agent SkillsIntegrationsPricing
© 2026 Chainguard, Inc. All Rights Reserved.
Chainguard® and the Chainguard logo are registered trademarks of Chainguard, Inc. in the United States and/or other countries.
The other respective trademarks mentioned on this page are owned by the respective companies and use of them does not imply any affiliation or endorsement.