-
Notifications
You must be signed in to change notification settings - Fork 9.2k
/
values.yaml
5038 lines (5032 loc) · 234 KB
/
values.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# Copyright Broadcom, Inc. All Rights Reserved.
# SPDX-License-Identifier: APACHE-2.0
## @section Global parameters
## Global Docker image parameters
## Please, note that this will override the image parameters, including dependencies, configured to use the global value
## Current available global Docker image parameters: imageRegistry, imagePullSecrets and storageClass
## @param global.imageRegistry Global Docker image registry
## @param global.imagePullSecrets Global Docker registry secret names as an array
## @param global.defaultStorageClass Global default StorageClass for Persistent Volume(s)
## @param global.storageClass DEPRECATED: use global.defaultStorageClass instead
##
global:
imageRegistry: ""
## e.g:
## imagePullSecrets:
## - myRegistryKeySecretName
##
imagePullSecrets: []
defaultStorageClass: ""
storageClass: ""
## Compatibility adaptations for Kubernetes platforms
##
compatibility:
## Compatibility adaptations for Openshift
##
openshift:
## @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)
##
adaptSecurityContext: auto
## @section Common parameters
## @param kubeVersion Force target Kubernetes version (using Helm capabilities if not set)
##
kubeVersion: ""
## @param nameOverride String to partially override common.names.fullname template (will maintain the release name)
##
nameOverride: ""
## @param fullnameOverride String to fully override common.names.fullname template
##
fullnameOverride: ""
## @param commonLabels Add labels to all the deployed resources
##
commonLabels: {}
## @param commonAnnotations Add annotations to all the deployed resources
##
commonAnnotations: {}
## @param clusterDomain Kubernetes Cluster Domain
##
clusterDomain: cluster.local
## @param extraDeploy Array of extra objects to deploy with the release
##
extraDeploy: []
## @section Thanos common parameters
## Bitnami Thanos image
## ref: https://hub.docker.com/r/bitnami/thanos/tags/
## @param image.registry [default: REGISTRY_NAME] Thanos image registry
## @param image.repository [default: REPOSITORY_NAME/thanos] Thanos image repository
## @skip image.tag Thanos image tag (immutable tags are recommended)
## @param image.digest Thanos image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag
## @param image.pullPolicy Thanos image pull policy
## @param image.pullSecrets Specify docker-registry secret names as an array
##
image:
registry: docker.io
repository: bitnami/thanos
tag: 0.37.0-debian-12-r0
digest: ""
## ref: https://kubernetes.io/docs/concepts/containers/images/#pre-pulled-images
##
pullPolicy: IfNotPresent
## Optionally specify an array of imagePullSecrets.
## Secrets must be manually created in the namespace.
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
## e.g:
## pullSecrets:
## - myRegistryKeySecretName
##
pullSecrets: []
## @param objstoreConfig The [objstore configuration](https://thanos.io/tip/thanos/storage.md/)
## Specify content for objstore.yml
##
objstoreConfig: ""
## @param indexCacheConfig The [index cache configuration](https://thanos.io/tip/components/store.md/)
## Specify content for index-cache.yml
##
indexCacheConfig: ""
## @param bucketCacheConfig The [bucket cache configuration](https://thanos.io/tip/components/store.md/)
## Specify content for bucket-cache.yml
##
bucketCacheConfig: ""
## @param existingObjstoreSecret Secret with Objstore Configuration
## Note: This will override objstoreConfig
##
existingObjstoreSecret: ""
## @param existingObjstoreSecretItems Optional item list for specifying a custom Secret key. If so, path should be objstore.yml
##
existingObjstoreSecretItems: []
## @param httpConfig The [https and basic auth configuration](https://thanos.io/tip/operating/https.md/)
## If provided, overrides settings under https.* and auth.*
httpConfig: ""
## @param existingHttpConfigSecret Secret containing the HTTPS and Basic auth configuration
##
existingHttpConfigSecret: ""
## HTTPS configuration (Experimental)
## Ref: https://thanos.io/tip/operating/https.md/
##
https:
## @param https.enabled Set to true to enable HTTPS. Requires a secret containing the certificate and key.
##
enabled: false
## @param https.autoGenerated Create self-signed TLS certificates.
##
autoGenerated: false
## @param https.existingSecret Existing secret containing your own server key and certificate
##
existingSecret: ""
## @param https.certFilename
##
certFilename: "tls.crt"
## @param https.keyFilename
##
keyFilename: "tls.key"
## @param https.caFilename
##
caFilename: "ca.crt"
## @param https.key TLS Key for Thanos HTTPS - ignored if existingSecret is provided
## @param https.cert TLS Certificate for Thanos HTTPS - ignored if existingSecret is provided
## @param https.ca (Optional, used for client) CA Certificate for Thanos HTTPS - ignored if existingSecret is provided
##
key: ""
cert: ""
ca: ""
## @param https.clientAuthType Server policy for client authentication using certificates. Maps to ClientAuth Policies.
## For more detail on clientAuth options: https://golang.org/pkg/crypto/tls/#ClientAuthType
clientAuthType: ""
## @param https.extraTlsServerConfig Extra tls_server_config options
## For more detail on possible options: https://thanos.io/tip/operating/https.md
extraTlsServerConfig: {}
## Thanos Basic authentication (Experimental)
##
auth:
## @param auth.basicAuthUsers Object containing <user>:<passwords> key-value pairs for each user that will have access via basic authentication
## Note: Passwords will be later encrypted using bcrypt
basicAuthUsers: {}
## @section Thanos Query parameters
query:
## @param query.enabled Set to true to enable Thanos Query component
##
enabled: true
## @param query.logLevel Thanos Query log level
##
logLevel: info
## @param query.logFormat Thanos Query log format
##
logFormat: logfmt
## @param query.replicaLabel Replica indicator(s) along which data is de-duplicated
##
replicaLabel: [replica]
## Dynamically configure store APIs using DNS discovery
## @param query.dnsDiscovery.enabled Enable store APIs discovery via DNS
## @param query.dnsDiscovery.sidecarsService Sidecars service name to discover them using DNS discovery
## @param query.dnsDiscovery.sidecarsNamespace Sidecars namespace to discover them using DNS discovery
##
dnsDiscovery:
enabled: true
sidecarsService: ""
sidecarsNamespace: ""
## @param query.stores Statically configure store APIs to connect with Thanos Query
##
stores: []
## @param query.sdConfig Query Service Discovery Configuration
## Specify content for servicediscovery.yml
##
sdConfig: ""
## @param query.existingSDConfigmap Name of existing ConfigMap with Ruler configuration
## NOTE: This will override query.sdConfig
##
existingSDConfigmap: ""
## @param query.extraEnvVars Extra environment variables for Thanos Query container
## e.g:
## extraEnvVars:
## - name: FOO
## value: "bar"
##
extraEnvVars: []
## @param query.extraEnvVarsCM Name of existing ConfigMap containing extra env vars for Thanos Query nodes
##
extraEnvVarsCM: ""
## @param query.extraEnvVarsSecret Name of existing Secret containing extra env vars for Thanos Query nodes
##
extraEnvVarsSecret: ""
## @param query.extraFlags Extra Flags to passed to Thanos Query
##
extraFlags: []
## @param query.command Override default container command (useful when using custom images)
##
command: []
## @param query.args Override default container args (useful when using custom images)
##
args: []
## @param query.replicaCount Number of Thanos Query replicas to deploy
##
replicaCount: 1
## @param query.revisionHistoryLimit The number of old history to retain to allow rollback
##
revisionHistoryLimit: 10
## @param query.updateStrategy.type Update strategy type for Thanos Query replicas
##
updateStrategy:
type: RollingUpdate
## @param query.containerPorts.http HTTP container port
## @param query.containerPorts.grpc HTTP container port
##
containerPorts:
http: 10902
grpc: 10901
## K8s Pod Security Context for Thanos Query pods
## https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
## @param query.podSecurityContext.enabled Enable security context for the Thanos Query pods
## @param query.podSecurityContext.fsGroupChangePolicy Set filesystem group change policy
## @param query.podSecurityContext.sysctls Set kernel settings using the sysctl interface
## @param query.podSecurityContext.supplementalGroups Set filesystem extra groups
## @param query.podSecurityContext.fsGroup Group ID for the filesystem used by Thanos Query pods
##
podSecurityContext:
enabled: true
fsGroupChangePolicy: Always
sysctls: []
supplementalGroups: []
fsGroup: 1001
## K8s containers' Security Context for Thanos Query containers
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
## @param query.containerSecurityContext.enabled Enabled containers' Security Context
## @param query.containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in container
## @param query.containerSecurityContext.runAsUser Set containers' Security Context runAsUser
## @param query.containerSecurityContext.runAsGroup Set containers' Security Context runAsGroup
## @param query.containerSecurityContext.runAsNonRoot Set container's Security Context runAsNonRoot
## @param query.containerSecurityContext.privileged Set container's Security Context privileged
## @param query.containerSecurityContext.readOnlyRootFilesystem Set container's Security Context readOnlyRootFilesystem
## @param query.containerSecurityContext.allowPrivilegeEscalation Set container's Security Context allowPrivilegeEscalation
## @param query.containerSecurityContext.capabilities.drop List of capabilities to be dropped
## @param query.containerSecurityContext.seccompProfile.type Set container's Security Context seccomp profile
##
containerSecurityContext:
enabled: true
seLinuxOptions: {}
runAsUser: 1001
runAsGroup: 1001
runAsNonRoot: true
privileged: false
readOnlyRootFilesystem: true
allowPrivilegeEscalation: false
capabilities:
drop: ["ALL"]
seccompProfile:
type: "RuntimeDefault"
## Thanos Query containers' resource requests and limits
## ref: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
## @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).
## More information: https://github.com/bitnami/charts/blob/main/bitnami/common/templates/_resources.tpl#L15
##
resourcesPreset: "nano"
## @param query.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
## Example:
## resources:
## requests:
## cpu: 2
## memory: 512Mi
## limits:
## cpu: 3
## memory: 1024Mi
##
resources: {}
## Configure extra options for Thanos Query containers' liveness and readiness probes
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
## @param query.livenessProbe.enabled Enable livenessProbe on Thanos Query containers
## @param query.livenessProbe.initialDelaySeconds Initial delay seconds for livenessProbe
## @param query.livenessProbe.periodSeconds Period seconds for livenessProbe
## @param query.livenessProbe.timeoutSeconds Timeout seconds for livenessProbe
## @param query.livenessProbe.failureThreshold Failure threshold for livenessProbe
## @param query.livenessProbe.successThreshold Success threshold for livenessProbe
##
livenessProbe:
enabled: true
initialDelaySeconds: 30
timeoutSeconds: 30
periodSeconds: 10
successThreshold: 1
failureThreshold: 6
## @param query.readinessProbe.enabled Enable readinessProbe on Thanos Query containers
## @param query.readinessProbe.initialDelaySeconds Initial delay seconds for readinessProbe
## @param query.readinessProbe.periodSeconds Period seconds for readinessProbe
## @param query.readinessProbe.timeoutSeconds Timeout seconds for readinessProbe
## @param query.readinessProbe.failureThreshold Failure threshold for readinessProbe
## @param query.readinessProbe.successThreshold Success threshold for readinessProbe
##
readinessProbe:
enabled: true
initialDelaySeconds: 30
timeoutSeconds: 30
periodSeconds: 10
successThreshold: 1
failureThreshold: 6
## @param query.startupProbe.enabled Enable startupProbe on Thanos Query containers
## @param query.startupProbe.initialDelaySeconds Initial delay seconds for startupProbe
## @param query.startupProbe.periodSeconds Period seconds for startupProbe
## @param query.startupProbe.timeoutSeconds Timeout seconds for startupProbe
## @param query.startupProbe.failureThreshold Failure threshold for startupProbe
## @param query.startupProbe.successThreshold Success threshold for startupProbe
##
startupProbe:
enabled: false
initialDelaySeconds: 5
periodSeconds: 5
timeoutSeconds: 1
failureThreshold: 15
successThreshold: 1
## @param query.customLivenessProbe Custom livenessProbe that overrides the default one
##
customLivenessProbe: {}
## @param query.customReadinessProbe Custom readinessProbe that overrides the default one
##
customReadinessProbe: {}
## @param query.customStartupProbe Custom startupProbe that overrides the default one
##
customStartupProbe: {}
## @param query.initContainers Add additional init containers to the Thanos Query pods
## ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
## e.g:
## initContainers:
## - name: your-image-name
## image: your-image
## imagePullPolicy: Always
## command: ['sh', '-c', 'echo "hello world"']
##
initContainers: []
## @param query.sidecars Extra containers running as sidecars to Thanos Query pods
## e.g:
## sidecars:
## - name: your-image-name
## image: your-image
## imagePullPolicy: Always
## ports:
## - name: portname
## containerPort: 1234
##
sidecars: []
## @param query.extraVolumes Extra volumes to add to Thanos Query
##
extraVolumes: []
## @param query.extraVolumeMounts Extra volume mounts to add to the query container
##
extraVolumeMounts: []
## @param query.podAffinityPreset Thanos Query pod affinity preset
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
##
podAffinityPreset: ""
## @param query.podAntiAffinityPreset Thanos Query pod anti-affinity preset. Ignored if `query.affinity` is set. Allowed values: `soft` or `hard`
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
##
podAntiAffinityPreset: soft
## @param query.podAntiAffinityPresetTopologyKey Thanos Query pod anti-affinity topologyKey. Ignored if `query.affinity` is set.
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
##
podAntiAffinityPresetTopologyKey: ""
## Thanos Query node affinity preset
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
##
nodeAffinityPreset:
## @param query.nodeAffinityPreset.type Thanos Query node affinity preset type. Ignored if `query.affinity` is set. Allowed values: `soft` or `hard`
##
type: ""
## @param query.nodeAffinityPreset.key Thanos Query node label key to match Ignored if `query.affinity` is set.
## e.g:
## key: "kubernetes.io/e2e-az-name"
##
key: ""
## @param query.nodeAffinityPreset.values Thanos Query node label values to match. Ignored if `query.affinity` is set.
## e.g:
## values:
## - e2e-az1
## - e2e-az2
##
values: []
## @param query.affinity Thanos Query affinity for pod assignment
## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
## Note: query.podAffinityPreset, query.podAntiAffinityPreset, and query.nodeAffinityPreset will be ignored when it's set
##
affinity: {}
## @param query.nodeSelector Thanos Query node labels for pod assignment
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
##
nodeSelector: {}
## @param query.tolerations Thanos Query tolerations for pod assignment
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
##
tolerations: []
## @param query.podLabels Thanos Query pod labels
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
##
podLabels: {}
## @param query.podAnnotations Annotations for Thanos Query pods
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
##
podAnnotations: {}
## @param query.dnsConfig Deployment pod DNS config
## ref: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/
## E.g.
## dnsConfig:
## options:
## - name: ndots
## value: "4"
## - name: single-request-reopen
##
dnsConfig: {}
## @param query.dnsPolicy Deployment pod DNS policy
## ref: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/
## E.g.
## dnsPolicy: ClusterFirstWithHostNet
##
dnsPolicy: ""
## @param query.hostAliases Deployment pod host aliases
## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
##
hostAliases: []
## @param query.lifecycleHooks for the Thanos Query container(s) to automate configuration before or after startup
##
lifecycleHooks: {}
## @param query.priorityClassName Thanos Query priorityClassName
## ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/
##
priorityClassName: ""
## @param query.schedulerName Name of the k8s scheduler (other than default) for Thanos Query pods
## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
##
schedulerName: ""
## @param query.topologySpreadConstraints Topology Spread Constraints for Thanos Query pods assignment spread across your cluster among failure-domains
## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/#spread-constraints-for-pods
##
topologySpreadConstraints: []
## Thanos Query GRPC parameters
## ref: https://github.com/thanos-io/thanos/blob/master/docs/components/query.md#flags
##
grpc:
## GRPC server side
##
server:
## TLS configuration
## @param query.grpc.server.tls.enabled Enable TLS encryption in the GRPC server
## @param query.grpc.server.tls.autoGenerated Create self-signed TLS certificates. Currently only supports PEM certificates
## @param query.grpc.server.tls.cert TLS Certificate for GRPC server - ignored if existingSecret is provided
## @param query.grpc.server.tls.key TLS Key for GRPC server - ignored if existingSecret is provided
## @param query.grpc.server.tls.ca TLS CA to verify clients against - ignored if existingSecret is provided
## @param query.grpc.server.tls.clientAuthEnabled Enable TLS client verification against provided CA
## @param query.grpc.server.tls.existingSecret Existing secret containing your own TLS certificates
## e.g:
## existingSecret:
## name: foo
## keyMapping:
## ca-cert: ca.pem
## tls-cert: cert.pem
## tls-key: key.pem
##
tls:
enabled: false
autoGenerated: false
cert: ""
key: ""
ca: ""
clientAuthEnabled: true
existingSecret: {}
## GRPC client side
##
client:
## @param query.grpc.client.serverName Server name to verify the hostname on the returned GRPC certificates
##
serverName: ""
## TLS configuration
## @param query.grpc.client.tls.enabled Enable TLS encryption in the GRPC server
## @param query.grpc.client.tls.autoGenerated Create self-signed TLS certificates. Currently only supports PEM certificates
## @param query.grpc.client.tls.cert TLS Certificate for GRPC server - ignored if existingSecret is provided
## @param query.grpc.client.tls.key TLS Key for GRPC server - ignored if existingSecret is provided
## @param query.grpc.client.tls.ca TLS CA to verify clients against - ignored if existingSecret is provided
## @param query.grpc.client.tls.existingSecret Existing secret containing your own TLS certificates
## e.g:
## existingSecret:
## name: foo
## keyMapping:
## ca-cert: ca.pem
## tls-cert: cert.pem
## tls-key: key.pem
##
tls:
enabled: false
autoGenerated: false
cert: ""
key: ""
ca: ""
existingSecret: {}
## Network Policies
## Ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/
##
networkPolicy:
## @param query.networkPolicy.enabled Specifies whether a NetworkPolicy should be created
##
enabled: true
## @param query.networkPolicy.allowExternal Don't require client label for connections
## The Policy model to apply. When set to false, only pods with the correct
## client label will have network access to the ports the application is listening
## on. When true, the app will accept connections from any source
## (with the correct destination port).
##
allowExternal: true
## @param query.networkPolicy.allowExternalEgress Allow the pod to access any range of port and all destinations.
##
allowExternalEgress: true
## @param query.networkPolicy.extraIngress [array] Add extra ingress rules to the NetworkPolicy
## e.g:
## extraIngress:
## - ports:
## - port: 1234
## from:
## - podSelector:
## - matchLabels:
## - role: frontend
## - podSelector:
## - matchExpressions:
## - key: role
## operator: In
## values:
## - frontend
extraIngress: []
## @param query.networkPolicy.extraEgress [array] Add extra ingress rules to the NetworkPolicy
## e.g:
## extraEgress:
## - ports:
## - port: 1234
## to:
## - podSelector:
## - matchLabels:
## - role: frontend
## - podSelector:
## - matchExpressions:
## - key: role
## operator: In
## values:
## - frontend
##
extraEgress: []
## @param query.networkPolicy.ingressNSMatchLabels [object] Labels to match to allow traffic from other namespaces
## @param query.networkPolicy.ingressNSPodMatchLabels [object] Pod labels to match to allow traffic from other namespaces
##
ingressNSMatchLabels: {}
ingressNSPodMatchLabels: {}
## Service parameters
##
service:
## @param query.service.type Kubernetes service type
##
type: ClusterIP
## @param query.service.ports.http Thanos Query service HTTP port
##
ports:
http: 9090
## @param query.service.nodePorts.http Specify the Thanos Query HTTP nodePort value for the LoadBalancer and NodePort service types
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
##
nodePorts:
http: ""
## @param query.service.clusterIP Thanos Query service clusterIP IP
## e.g:
## clusterIP: None
##
clusterIP: ""
## @param query.service.loadBalancerIP Load balancer IP if service type is `LoadBalancer`
## Set the LoadBalancer service type to internal only
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
##
loadBalancerIP: ""
## @param query.service.loadBalancerSourceRanges Address that are allowed when service is LoadBalancer
## https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
## e.g:
## loadBalancerSourceRanges:
## - 10.10.10.0/24
##
loadBalancerSourceRanges: []
## @param query.service.externalTrafficPolicy Thanos Query service externalTrafficPolicy
## Denotes if this Service desires to route external traffic to node-local or cluster-wide endpoints
##
externalTrafficPolicy: Cluster
## @param query.service.labels Labels for Thanos Query service
##
labels: {}
## @param query.service.annotations Annotations for Thanos Query service
##
annotations: {}
## @param query.service.extraPorts Extra ports to expose in the Thanos Query service
##
extraPorts: []
## @param query.service.labelSelectorsOverride Selector for Thanos Query service
##
labelSelectorsOverride: {}
## @param query.service.additionalHeadless Additional Headless service
##
additionalHeadless: false
## Headless service properties
##
headless:
## @param query.service.headless.annotations Annotations for the headless service.
##
annotations: {}
## Service GRPC parameters
##
serviceGrpc:
## @param query.serviceGrpc.type Kubernetes service type
##
type: ClusterIP
## @param query.serviceGrpc.ports.grpc Thanos Query service GRPC port
##
ports:
grpc: 10901
## @param query.serviceGrpc.nodePorts.grpc Specify the Thanos Query GRPC nodePort value for the LoadBalancer and NodePort service types
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
##
nodePorts:
grpc: ""
## @param query.serviceGrpc.clusterIP Thanos Query service clusterIP IP
## e.g:
## clusterIP: None
##
clusterIP: ""
## @param query.serviceGrpc.loadBalancerIP Load balancer IP if service type is `LoadBalancer`
## Set the LoadBalancer service type to internal only
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
##
loadBalancerIP: ""
## @param query.serviceGrpc.loadBalancerSourceRanges Address that are allowed when service is LoadBalancer
## https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
## e.g:
## loadBalancerSourceRanges:
## - 10.10.10.0/24
##
loadBalancerSourceRanges: []
## @param query.serviceGrpc.externalTrafficPolicy Thanos Query service externalTrafficPolicy
## Denotes if this Service desires to route external traffic to node-local or cluster-wide endpoints
##
externalTrafficPolicy: Cluster
## @param query.serviceGrpc.labels Labels for Thanos Query service GRPC
##
labels: {}
## @param query.serviceGrpc.annotations Annotations for Thanos Query service
##
annotations: {}
## @param query.serviceGrpc.extraPorts Extra ports to expose in the Thanos Query service
##
extraPorts: []
## @param query.serviceGrpc.labelSelectorsOverride Selector for Thanos Query service
##
labelSelectorsOverride: {}
## @param query.serviceGrpc.additionalHeadless Additional Headless service
##
additionalHeadless: false
## Headless service properties
##
headless:
## @param query.serviceGrpc.headless.annotations Annotations for the headless service.
##
annotations: {}
## Autoscaling parameters
## @param query.automountServiceAccountToken Enable/disable auto mounting of the service account token only for the deployment
##
automountServiceAccountToken: true
## ServiceAccount configuration
## @param query.serviceAccount.create Specifies whether a ServiceAccount should be created
## @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.
## @param query.serviceAccount.annotations Annotations for Thanos Query Service Account
## @param query.serviceAccount.automountServiceAccountToken Enable/disable auto mounting of the service account token
##
serviceAccount:
create: true
name: ""
annotations: {}
automountServiceAccountToken: false
## RBAC configuration
##
rbac:
## @param query.rbac.create Create a ClusterRole and ClusterRoleBinding for the Thanos Query Service Account
##
create: false
## @param query.rbac.rules Custom RBAC rules to set
## e.g:
## rules:
## - apiGroups:
## - ""
## resources:
## - pods
## verbs:
## - get
## - list
##
rules: []
## @param query.pspEnabled Whether to create a PodSecurityPolicy for Thanos Query
## WARNING: PodSecurityPolicy is deprecated in Kubernetes v1.21 or later, unavailable in v1.25 or later
##
pspEnabled: false
## Thanos Query Autoscaling configuration
## ref: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/
## @param query.autoscaling.enabled Enable autoscaling for Thanos Query
## @param query.autoscaling.minReplicas Minimum number of Thanos Query replicas
## @param query.autoscaling.maxReplicas Maximum number of Thanos Query replicas
## @param query.autoscaling.targetCPU Target CPU utilization percentage
## @param query.autoscaling.targetMemory Target Memory utilization percentage
## @param query.autoscaling.targetPodMetrics [array] List of custom pod metrics name and averageValue to evaluate for scaling
## e.g.
## targetPodMetrics:
## - name: thanos_query_range_query_duration
## averageValue: 2
## - name: thanos_query_promql_duration_metric
## averageValue: 0.5
##
autoscaling:
enabled: false
minReplicas: ""
maxReplicas: ""
targetCPU: ""
targetMemory: ""
targetPodMetrics: []
## Thanos Query Pod Disruption Budget configuration
## ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb
## @param query.pdb.create Enable/disable a Pod Disruption Budget creation for Thanos Query
## @param query.pdb.minAvailable Minimum number/percentage of pods that should remain scheduled
## @param query.pdb.maxUnavailable Maximum number/percentage of pods that may be made unavailable
##
pdb:
create: true
minAvailable: ""
maxUnavailable: ""
## Configure the ingress resource that allows you to access Thanos Query
## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/
##
ingress:
## @param query.ingress.enabled Enable ingress controller resource
##
enabled: false
## @param query.ingress.hostname Default host for the ingress resource
##
hostname: thanos.local
## @param query.ingress.secretName Custom secretName for the ingress resource
## If query.ingress.secretName is not set, the secret will be named as follows: query.ingress.hostname-tls
secretName: ""
## @param query.ingress.ingressClassName IngressClass that will be be used to implement the Ingress (Kubernetes 1.18+)
## This is supported in Kubernetes 1.18+ and required if you have more than one IngressClass marked as the default for your cluster .
## ref: https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/
##
ingressClassName: ""
## @param query.ingress.annotations Additional annotations for the Ingress resource. To enable certificate autogeneration, place here your cert-manager annotations.
## For a full list of possible ingress annotations, please see
## ref: https://github.com/kubernetes/ingress-nginx/blob/main/docs/user-guide/nginx-configuration/annotations.md
## Use this parameter to set the required annotations for cert-manager, see
## ref: https://cert-manager.io/docs/usage/ingress/#supported-annotations
##
## e.g:
## annotations:
## kubernetes.io/ingress.class: nginx
## cert-manager.io/cluster-issuer: cluster-issuer-name
##
annotations: {}
## @param query.ingress.extraHosts The list of additional hostnames to be covered with this ingress record.
## Most likely the hostname above will be enough, but in the event more hosts are needed, this is an array
## extraHosts:
## - name: thanos.local
## path: /
## pathType: ImplementationSpecific
##
extraHosts: []
## @param query.ingress.extraTls The tls configuration for additional hostnames to be covered with this ingress record.
## see: https://kubernetes.io/docs/concepts/services-networking/ingress/#tls
## extraTls:
## - hosts:
## - thanos.local
## secretName: thanos.local-tls
##
extraTls: []
## @param query.ingress.secrets If you're providing your own certificates, please use this to add the certificates as secrets
## key and certificate should start with -----BEGIN CERTIFICATE----- or
## -----BEGIN RSA PRIVATE KEY-----
##
## name should line up with a tlsSecret set further up
## If you're using cert-manager, this is unneeded, as it will create the secret for you if it is not set
##
## It is also possible to create and manage the certificates outside of this helm chart
## Please see README.md for more information
## e.g:
## - name: thanos.local-tls
## key:
## certificate:
##
secrets: []
## @param query.ingress.extraRules Additional rules to be covered with this ingress record
## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/#ingress-rules
## e.g:
## extraRules:
## - host: example.local
## http:
## path: /
## backend:
## service:
## name: example-svc
## port:
## name: http
##
extraRules: []
## @param query.ingress.tls Enable TLS configuration for the hostname defined at `query.ingress.hostname` parameter
## TLS certificates will be retrieved from a TLS secret with name: `{{- printf "%s-tls" .Values.query.ingress.hostname }}`
## You can:
## - Use the `query.ingress.secrets` parameter to create this TLS secret
## - Rely on cert-manager to create it by setting the corresponding annotations
## - Rely on Helm to create self-signed certificates by setting `query.ingress.selfSigned=true`
##
tls: false
## @param query.ingress.selfSigned Create a TLS secret for this ingress record using self-signed certificates generated by Helm
##
selfSigned: false
## @param query.ingress.apiVersion Force Ingress API version (automatically detected if not set)
##
apiVersion: ""
## @param query.ingress.path Ingress path
##
path: /
## @param query.ingress.pathType Ingress path type
##
pathType: ImplementationSpecific
## Create an ingress object for the GRPC service. This requires an HTTP/2
## capable Ingress controller (eg. traefik using AWS NLB). Example annotations
## - ingress.kubernetes.io/protocol: h2c
## - service.beta.kubernetes.io/aws-load-balancer-type: nlb
## - service.beta.kubernetes.io/aws-load-balancer-backend-protocol: tcp
## For more information see https://kubernetes.io/docs/concepts/cluster-administration/cloud-providers/
## and also the documentation for your ingress controller.
##
## The options that are accepted are identical to the HTTP one listed above
##
grpc:
## @param query.ingress.grpc.enabled Enable ingress controller resource (GRPC)
##
enabled: false
## @param query.ingress.grpc.hostname Default host for the ingress resource (GRPC)
##
hostname: thanos-grpc.local
## @param query.ingress.grpc.secretName Custom secretName for the ingress resource (GRPC)
## If query.ingress.grpc.secretName is not set, the secret will be named as follows: query.ingress.grpc.hostname-tls
secretName: ""
## @param query.ingress.grpc.ingressClassName IngressClass that will be be used to implement the Ingress (Kubernetes 1.18+)
## This is supported in Kubernetes 1.18+ and required if you have more than one IngressClass marked as the default for your cluster .
## ref: https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/
##
ingressClassName: ""
## @param query.ingress.grpc.annotations Additional annotations for the Ingress resource (GRPC). To enable certificate autogeneration, place here your cert-manager annotations.
## For a full list of possible ingress annotations, please see
## ref: https://github.com/kubernetes/ingress-nginx/blob/main/docs/user-guide/nginx-configuration/annotations.md
## Use this parameter to set the required annotations for cert-manager, see
## ref: https://cert-manager.io/docs/usage/ingress/#supported-annotations
##
## Examples:
## kubernetes.io/ingress.class: nginx
## cert-manager.io/cluster-issuer: cluster-issuer-name
##
annotations: {}
## @param query.ingress.grpc.extraHosts The list of additional hostnames to be covered with this ingress record.
## Most likely the hostname above will be enough, but in the event more hosts are needed, this is an array
## extraHosts:
## - name: thanos-grpc.local
## path: /
##
extraHosts: []
## @param query.ingress.grpc.extraTls The tls configuration for additional hostnames to be covered with this ingress record.
## see: https://kubernetes.io/docs/concepts/services-networking/ingress/#tls
## extraTls:
## - hosts:
## - thanos-grpc.local
## secretName: thanos-grpc.local-tls
##
extraTls: []
## @param query.ingress.grpc.secrets If you're providing your own certificates, please use this to add the certificates as secrets
## key and certificate should start with -----BEGIN CERTIFICATE----- or
## -----BEGIN RSA PRIVATE KEY-----
##
## name should line up with a tlsSecret set further up
## If you're using cert-manager, this is unneeded, as it will create the secret for you if it is not set
##
## It is also possible to create and manage the certificates outside of this helm chart
## Please see README.md for more information
## e.g:
## - name: thanos-grpc.local-tls
## key:
## certificate:
##
secrets: []
## @param query.ingress.grpc.extraRules Additional rules to be covered with this ingress record
## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/#ingress-rules
## e.g:
## extraRules:
## - host: example.local
## http:
## path: /
## backend:
## service:
## name: example-svc
## port:
## name: http
##
extraRules: []
## @param query.ingress.grpc.tls Enable TLS configuration for the hostname defined at `query.ingress.grpc.hostname` parameter
## TLS certificates will be retrieved from a TLS secret with name: `{{- printf "%s-tls" .Values.query.ingress.grpc.hostname }}`
## You can:
## - Use the `query.ingress.grpc.secrets` parameter to create this TLS secret
## - Rely on cert-manager to create it by setting the corresponding annotations
## - Rely on Helm to create self-signed certificates by setting `query.ingress.grpc.selfSigned=true`
##
tls: false
## @param query.ingress.grpc.selfSigned Create a TLS secret for this ingress record using self-signed certificates generated by Helm
##
selfSigned: false
## @param query.ingress.grpc.apiVersion Override API Version (automatically detected if not set)
##
apiVersion: ""
## @param query.ingress.grpc.path Ingress Path
##
path: /
## @param query.ingress.grpc.pathType Ingress Path type
##
pathType: ImplementationSpecific
## @section Thanos Query Frontend parameters
queryFrontend:
## @param queryFrontend.enabled Enable/disable Thanos Query Frontend component
##
enabled: true
## @param queryFrontend.logLevel Thanos Query Frontend log level
##
logLevel: info
## @param queryFrontend.logFormat Thanos Query Frontend log format
##
logFormat: logfmt
## @param queryFrontend.config Thanos Query Frontend configuration
## Specify content for config.yml
##
config: ""
## @param queryFrontend.existingConfigmap Name of existing ConfigMap with Thanos Query Frontend configuration
## NOTE: This will override queryFrontend.config
##
existingConfigmap: ""
## @param queryFrontend.extraEnvVars Extra environment variables for Thanos Query Frontend container
## e.g:
## extraEnvVars:
## - name: FOO
## value: "bar"
##
extraEnvVars: []
## @param queryFrontend.extraEnvVarsCM Name of existing ConfigMap containing extra env vars for Thanos Query Frontend nodes
##
extraEnvVarsCM: ""
## @param queryFrontend.extraEnvVarsSecret Name of existing Secret containing extra env vars for Thanos Query Frontend nodes
##
extraEnvVarsSecret: ""
## @param queryFrontend.extraFlags Extra Flags to passed to Thanos Query Frontend
##
extraFlags: []
## @param queryFrontend.command Override default container command (useful when using custom images)
##
command: []
## @param queryFrontend.args Override default container args (useful when using custom images)
##
args: []
## @param queryFrontend.replicaCount Number of Thanos Query Frontend replicas to deploy
##
replicaCount: 1
## @param queryFrontend.revisionHistoryLimit The number of old history to retain to allow rollback
##
revisionHistoryLimit: 10
## @param queryFrontend.updateStrategy.type Update strategy type for Thanos Query Frontend replicas
##
updateStrategy:
type: RollingUpdate
## @param queryFrontend.containerPorts.http HTTP container port
##
containerPorts:
http: 9090
## K8s Pod Security Context for Thanos Query Frontend pods
## https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
## @param queryFrontend.podSecurityContext.enabled Enable security context for the Thanos Query Frontend pods
## @param queryFrontend.podSecurityContext.fsGroupChangePolicy Set filesystem group change policy
## @param queryFrontend.podSecurityContext.sysctls Set kernel settings using the sysctl interface
## @param queryFrontend.podSecurityContext.supplementalGroups Set filesystem extra groups
## @param queryFrontend.podSecurityContext.fsGroup Group ID for the filesystem used by Thanos Query Frontend pods
##
podSecurityContext:
enabled: true