1# This file has been modified by Chainguard, Inc.
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
7# Copyright Broadcom, Inc. All Rights Reserved.
8# SPDX-License-Identifier: APACHE-2.0
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
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)
25 ## - myRegistryKeySecretName
28 defaultStorageClass: ""
29 ## Security parameters
32 ## @param global.security.allowInsecureImages Allows skipping image verification
33 allowInsecureImages: false
34 ## Compatibility adaptations for Kubernetes platforms
37 ## Compatibility adaptations for 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)
42 adaptSecurityContext: auto
44## @section Common parameters
46## @param kubeVersion Force target Kubernetes version (using Helm capabilities if not set)
49## @param nameOverride String to partially override common.names.fullname template (will maintain the release name)
52## @param fullnameOverride String to fully override common.names.fullname template
55## @param commonLabels Add labels to all the deployed resources
58## @param commonAnnotations Add annotations to all the deployed resources
61## @param clusterDomain Kubernetes Cluster Domain
63clusterDomain: cluster.local
64## @param extraDeploy Array of extra objects to deploy with the release
67## @section Thanos common parameters
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
79 repository: chainguard-private/thanos-iamguarded
82 ## ref: https://kubernetes.io/docs/concepts/containers/images/#pre-pulled-images
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/
90 ## - myRegistryKeySecretName
93## @param objstoreConfig The [objstore configuration](https://thanos.io/tip/thanos/storage.md/)
94## Specify content for objstore.yml
97## @param indexCacheConfig The [index cache configuration](https://thanos.io/tip/components/store.md/)
98## Specify content for index-cache.yml
101## @param bucketCacheConfig The [bucket cache configuration](https://thanos.io/tip/components/store.md/)
102## Specify content for bucket-cache.yml
105## @param existingObjstoreSecret Secret with Objstore Configuration
106## Note: This will override objstoreConfig
108existingObjstoreSecret: ""
109## @param existingObjstoreSecretItems Optional item list for specifying a custom Secret key. If so, path should be objstore.yml
111existingObjstoreSecretItems: []
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.*
115## @param existingHttpConfigSecret Secret containing the HTTPS and Basic auth configuration
117existingHttpConfigSecret: ""
118## HTTPS configuration (Experimental)
119## Ref: https://thanos.io/tip/operating/https.md/
122 ## @param https.enabled Set to true to enable HTTPS. Requires a secret containing the certificate and key.
125 ## @param https.autoGenerated Create self-signed TLS certificates.
128 ## @param https.existingSecret Existing secret containing your own server key and certificate
131 ## @param https.certFilename
133 certFilename: "tls.crt"
134 ## @param https.keyFilename
136 keyFilename: "tls.key"
137 ## @param https.caFilename
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
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
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)
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
159## @section Thanos Query parameters
161 ## @param query.enabled Set to true to enable Thanos Query component
164 ## @param query.logLevel Thanos Query log level
167 ## @param query.logFormat Thanos Query log format
170 ## @param query.replicaLabel Replica indicator(s) along which data is de-duplicated
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
181 sidecarsNamespace: ""
182 ## @param query.stores Statically configure store APIs to connect with Thanos Query
185 ## @param query.sdConfig Query Service Discovery Configuration
186 ## Specify content for servicediscovery.yml
189 ## @param query.existingSDConfigmap Name of existing ConfigMap with Ruler configuration
190 ## NOTE: This will override query.sdConfig
192 existingSDConfigmap: ""
193 ## @param query.extraEnvVars Extra environment variables for Thanos Query container
200 ## @param query.extraEnvVarsCM Name of existing ConfigMap containing extra env vars for Thanos Query nodes
203 ## @param query.extraEnvVarsSecret Name of existing Secret containing extra env vars for Thanos Query nodes
205 extraEnvVarsSecret: ""
206 ## @param query.extraFlags Extra Flags to passed to Thanos Query
209 ## @param query.command Override default container command (useful when using custom images)
212 ## @param query.args Override default container args (useful when using custom images)
215 ## @param query.replicaCount Number of Thanos Query replicas to deploy
218 ## @param query.revisionHistoryLimit The number of old history to retain to allow rollback
220 revisionHistoryLimit: 10
221 ## @param query.updateStrategy.type Update strategy type for Thanos Query replicas
225 ## @param query.containerPorts.http HTTP container port
226 ## @param query.containerPorts.grpc HTTP container port
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
241 fsGroupChangePolicy: Always
243 supplementalGroups: []
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
258 containerSecurityContext:
265 readOnlyRootFilesystem: true
266 allowPrivilegeEscalation: false
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).
275 resourcesPreset: "nano"
276 ## @param query.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
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
298 initialDelaySeconds: 30
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
312 initialDelaySeconds: 30
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
326 initialDelaySeconds: 5
331 ## @param query.customLivenessProbe Custom livenessProbe that overrides the default one
333 customLivenessProbe: {}
334 ## @param query.customReadinessProbe Custom readinessProbe that overrides the default one
336 customReadinessProbe: {}
337 ## @param query.customStartupProbe Custom startupProbe that overrides the default one
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/
344 ## - name: your-image-name
346 ## imagePullPolicy: Always
347 ## command: ['sh', '-c', 'echo "hello world"']
350 ## @param query.sidecars Extra containers running as sidecars to Thanos Query pods
353 ## - name: your-image-name
355 ## imagePullPolicy: Always
358 ## containerPort: 1234
361 ## @param query.extraVolumes Extra volumes to add to Thanos Query
364 ## @param query.extraVolumeMounts Extra volume mounts to add to the query container
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
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
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
378 podAntiAffinityPresetTopologyKey: ""
379 ## Thanos Query node affinity preset
380 ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
383 ## @param query.nodeAffinityPreset.type Thanos Query node affinity preset type. Ignored if `query.affinity` is set. Allowed values: `soft` or `hard`
386 ## @param query.nodeAffinityPreset.key Thanos Query node label key to match Ignored if `query.affinity` is set.
388 ## key: "kubernetes.io/e2e-az-name"
391 ## @param query.nodeAffinityPreset.values Thanos Query node label values to match. Ignored if `query.affinity` is set.
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
403 ## @param query.nodeSelector Thanos Query node labels for pod assignment
404 ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
407 ## @param query.tolerations Thanos Query tolerations for pod assignment
408 ## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
411 ## @param query.podLabels Thanos Query pod labels
412 ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
415 ## @param query.podAnnotations Annotations for Thanos Query pods
416 ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
419 ## @param query.dnsConfig Deployment pod DNS config
420 ## ref: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/
426 ## - name: single-request-reopen
429 ## @param query.dnsPolicy Deployment pod DNS policy
430 ## ref: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/
432 ## dnsPolicy: ClusterFirstWithHostNet
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/
439 ## @param query.lifecycleHooks for the Thanos Query container(s) to automate configuration before or after startup
442 ## @param query.priorityClassName Thanos Query priorityClassName
443 ## ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/
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/
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
453 topologySpreadConstraints: []
454 ## Thanos Query GRPC parameters
455 ## ref: https://github.com/thanos-io/thanos/blob/master/docs/components/query.md#flags
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
474 ## tls-cert: cert.pem
483 clientAuthEnabled: true
488 ## @param query.grpc.client.serverName Server name to verify the hostname on the returned GRPC certificates
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
503 ## tls-cert: cert.pem
514 ## Ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/
517 ## @param query.networkPolicy.enabled Specifies whether a NetworkPolicy should be created
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).
527 ## @param query.networkPolicy.allowExternalEgress Allow the pod to access any range of port and all destinations.
529 allowExternalEgress: true
530 ## @param query.networkPolicy.extraIngress [array] Add extra ingress rules to the NetworkPolicy
540 ## - matchExpressions:
546 ## @param query.networkPolicy.extraEgress [array] Add extra ingress rules to the NetworkPolicy
556 ## - matchExpressions:
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
566 ingressNSMatchLabels: {}
567 ingressNSPodMatchLabels: {}
568 ## Service parameters
571 ## @param query.service.type Kubernetes service type
574 ## @param query.service.ports.http Thanos Query service HTTP port
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
583 ## @param query.service.clusterIP Thanos Query service clusterIP IP
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
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
596 ## loadBalancerSourceRanges:
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
603 externalTrafficPolicy: Cluster
604 ## @param query.service.labels Labels for Thanos Query service
607 ## @param query.service.annotations Annotations for Thanos Query service
610 ## @param query.service.extraPorts Extra ports to expose in the Thanos Query service
613 ## @param query.service.labelSelectorsOverride Selector for Thanos Query service
615 labelSelectorsOverride: {}
616 ## @param query.service.additionalHeadless Additional Headless service
618 additionalHeadless: false
619 ## Headless service properties
622 ## @param query.service.headless.annotations Annotations for the headless service.
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).
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".
631 ## Service GRPC parameters
634 ## @param query.serviceGrpc.type Kubernetes service type
637 ## @param query.serviceGrpc.ports.grpc Thanos Query service GRPC port
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
646 ## @param query.serviceGrpc.clusterIP Thanos Query service clusterIP IP
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
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
659 ## loadBalancerSourceRanges:
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
666 externalTrafficPolicy: Cluster
667 ## @param query.serviceGrpc.labels Labels for Thanos Query service GRPC
670 ## @param query.serviceGrpc.annotations Annotations for Thanos Query service
673 ## @param query.serviceGrpc.extraPorts Extra ports to expose in the Thanos Query service
676 ## @param query.serviceGrpc.labelSelectorsOverride Selector for Thanos Query service
678 labelSelectorsOverride: {}
679 ## @param query.serviceGrpc.additionalHeadless Additional Headless service
681 additionalHeadless: false
682 ## Headless service properties
685 ## @param query.serviceGrpc.headless.annotations Annotations for the headless service.
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).
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".
694 ## Autoscaling parameters
695 ## @param query.automountServiceAccountToken Enable/disable auto mounting of the service account token only for the deployment
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
708 automountServiceAccountToken: false
709 ## RBAC configuration
712 ## @param query.rbac.create Create a ClusterRole and ClusterRoleBinding for the Thanos Query Service Account
715 ## @param query.rbac.rules Custom RBAC rules to set
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
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
743 ## - name: thanos_query_range_query_duration
745 ## - name: thanos_query_promql_duration_metric
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
767 ## Configure the ingress resource that allows you to access Thanos Query
768 ## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/
771 ## @param query.ingress.enabled Enable ingress controller resource
774 ## @param query.ingress.hostname Default host for the ingress resource
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
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/
785 ## @param query.ingress.labels Additional label for the Ingress resource.
786 ## Use this parameter to set the required labels for your needs
789 ## dns-managed-by-external-dns: 'true'
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
800 ## kubernetes.io/ingress.class: nginx
801 ## cert-manager.io/cluster-issuer: cluster-issuer-name
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
807 ## - name: thanos.local
809 ## pathType: ImplementationSpecific
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
817 ## secretName: thanos.local-tls
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-----
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
827 ## It is also possible to create and manage the certificates outside of this helm chart
828 ## Please see README.md for more information
830 ## - name: thanos.local-tls
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
839 ## - host: example.local
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 }}`
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`
857 ## @param query.ingress.selfSigned Create a TLS secret for this ingress record using self-signed certificates generated by Helm
860 ## @param query.ingress.apiVersion Force Ingress API version (automatically detected if not set)
863 ## @param query.ingress.path Ingress path
866 ## @param query.ingress.pathType Ingress path type
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.
877 ## The options that are accepted are identical to the HTTP one listed above
880 ## @param query.ingress.grpc.enabled Enable ingress controller resource (GRPC)
883 ## @param query.ingress.grpc.hostname Default host for the ingress resource (GRPC)
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
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/
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
901 ## kubernetes.io/ingress.class: nginx
902 ## cert-manager.io/cluster-issuer: cluster-issuer-name
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
908 ## - name: thanos-grpc.local
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
916 ## - thanos-grpc.local
917 ## secretName: thanos-grpc.local-tls
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-----
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
927 ## It is also possible to create and manage the certificates outside of this helm chart
928 ## Please see README.md for more information
930 ## - name: thanos-grpc.local-tls
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
939 ## - host: example.local
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 }}`
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`
957 ## @param query.ingress.grpc.selfSigned Create a TLS secret for this ingress record using self-signed certificates generated by Helm
960 ## @param query.ingress.grpc.apiVersion Override API Version (automatically detected if not set)
963 ## @param query.ingress.grpc.path Ingress Path
966 ## @param query.ingress.grpc.pathType Ingress Path type
968 pathType: ImplementationSpecific
969## @section Thanos Query Frontend parameters
971 ## @param queryFrontend.enabled Enable/disable Thanos Query Frontend component
974 ## @param queryFrontend.logLevel Thanos Query Frontend log level
977 ## @param queryFrontend.logFormat Thanos Query Frontend log format
980 ## @param queryFrontend.config Thanos Query Frontend configuration
981 ## Specify content for config.yml
984 ## @param queryFrontend.existingConfigmap Name of existing ConfigMap with Thanos Query Frontend configuration
985 ## NOTE: This will override queryFrontend.config
987 existingConfigmap: ""
988 ## @param queryFrontend.extraEnvVars Extra environment variables for Thanos Query Frontend container
995 ## @param queryFrontend.extraEnvVarsCM Name of existing ConfigMap containing extra env vars for Thanos Query Frontend nodes
998 ## @param queryFrontend.extraEnvVarsSecret Name of existing Secret containing extra env vars for Thanos Query Frontend nodes
1000 extraEnvVarsSecret: ""
1001 ## @param queryFrontend.extraFlags Extra Flags to passed to Thanos Query Frontend
1004 ## @param queryFrontend.command Override default container command (useful when using custom images)
1007 ## @param queryFrontend.args Override default container args (useful when using custom images)
1010 ## @param queryFrontend.replicaCount Number of Thanos Query Frontend replicas to deploy
1013 ## @param queryFrontend.revisionHistoryLimit The number of old history to retain to allow rollback
1015 revisionHistoryLimit: 10
1016 ## @param queryFrontend.updateStrategy.type Update strategy type for Thanos Query Frontend replicas
1020 ## @param queryFrontend.containerPorts.http HTTP container port
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
1034 fsGroupChangePolicy: Always
1036 supplementalGroups: []
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
1051 containerSecurityContext:
1058 readOnlyRootFilesystem: true
1059 allowPrivilegeEscalation: false
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).
1068 resourcesPreset: "nano"
1069 ## @param queryFrontend.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
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
1091 initialDelaySeconds: 30
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
1105 initialDelaySeconds: 30
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
1119 initialDelaySeconds: 5
1122 failureThreshold: 15
1124 ## @param queryFrontend.customLivenessProbe Custom livenessProbe that overrides the default one
1126 customLivenessProbe: {}
1127 ## @param queryFrontend.customReadinessProbe Custom readinessProbe that overrides the default one
1129 customReadinessProbe: {}
1130 ## @param queryFrontend.customStartupProbe Custom startupProbe that overrides the default one
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/
1137 ## - name: your-image-name
1138 ## image: your-image
1139 ## imagePullPolicy: Always
1140 ## command: ['sh', '-c', 'echo "hello world"']
1143 ## @param queryFrontend.sidecars Extra containers running as sidecars to Thanos Query Frontend pods
1146 ## - name: your-image-name
1147 ## image: your-image
1148 ## imagePullPolicy: Always
1151 ## containerPort: 1234
1154 ## @param queryFrontend.extraVolumes Extra volumes to add to Thanos Query Frontend
1157 ## @param queryFrontend.extraVolumeMounts Extra volume mounts to add to the query-frontend container
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
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
1167 podAntiAffinityPreset: soft
1168 ## Thanos Query Frontend node affinity preset
1169 ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
1172 ## @param queryFrontend.nodeAffinityPreset.type Thanos Query Frontend node affinity preset type. Ignored if `queryFrontend.affinity` is set. Allowed values: `soft` or `hard`
1175 ## @param queryFrontend.nodeAffinityPreset.key Thanos Query Frontend node label key to match. Ignored if `queryFrontend.affinity` is set.
1177 ## key: "kubernetes.io/e2e-az-name"
1180 ## @param queryFrontend.nodeAffinityPreset.values Thanos Query Frontend node label values to match. Ignored if `queryFrontend.affinity` is set.
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
1192 ## @param queryFrontend.nodeSelector Thanos Query Frontend node labels for pod assignment
1193 ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
1196 ## @param queryFrontend.tolerations Thanos Query Frontend tolerations for pod assignment
1197 ## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
1200 ## @param queryFrontend.podLabels Thanos Query Frontend pod labels
1201 ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
1204 ## @param queryFrontend.podAnnotations Annotations for Thanos Query Frontend pods
1205 ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
1208 ## @param queryFrontend.dnsConfig Deployment pod DNS config
1209 ## ref: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/
1215 ## - name: single-request-reopen
1218 ## @param queryFrontend.dnsPolicy Deployment pod DNS policy
1219 ## ref: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/
1221 ## dnsPolicy: ClusterFirstWithHostNet
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/
1228 ## @param queryFrontend.lifecycleHooks for the Thanos Query Frontend container(s) to automate configuration before or after startup
1231 ## @param queryFrontend.priorityClassName Thanos Query Frontend priorityClassName
1232 ## ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/
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/
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
1242 topologySpreadConstraints: []
1244 ## Ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/
1247 ## @param queryFrontend.networkPolicy.enabled Specifies whether a NetworkPolicy should be created
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).
1257 ## @param queryFrontend.networkPolicy.allowExternalEgress Allow the pod to access any range of port and all destinations.
1259 allowExternalEgress: true
1260 ## @param queryFrontend.networkPolicy.extraIngress [array] Add extra ingress rules to the NetworkPolicy
1270 ## - matchExpressions:
1276 ## @param queryFrontend.networkPolicy.extraEgress [array] Add extra ingress rules to the NetworkPolicy
1286 ## - matchExpressions:
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
1296 ingressNSMatchLabels: {}
1297 ingressNSPodMatchLabels: {}
1298 ## Service parameters
1301 ## @param queryFrontend.service.type Kubernetes service type
1304 ## @param queryFrontend.service.ports.http Thanos Query Frontend service HTTP port
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
1313 ## @param queryFrontend.service.clusterIP Thanos Query Frontend service clusterIP IP
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
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
1326 ## loadBalancerSourceRanges:
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
1333 externalTrafficPolicy: Cluster
1334 ## @param queryFrontend.service.annotations Annotations for Thanos Query Frontend service
1337 ## @param queryFrontend.service.labels Labels for Thanos Query Frontend service
1340 ## @param queryFrontend.service.extraPorts Extra ports to expose in the Thanos Query Frontend service
1343 ## @param queryFrontend.service.labelSelectorsOverride Selector for Thanos Query service
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).
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".
1352 ## @param queryFrontend.automountServiceAccountToken Enable/disable auto mounting of the service account token only for the deployment
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
1365 automountServiceAccountToken: false
1366 ## RBAC configuration
1369 ## @param queryFrontend.rbac.create Create a ClusterRole and ClusterRoleBinding for the Thanos Query Frontend Service Account
1372 ## @param queryFrontend.rbac.rules Custom RBAC rules to set
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
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
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
1416 ## Configure the ingress resource that allows you to access Thanos Query Frontend
1417 ## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/
1420 ## @param queryFrontend.ingress.enabled Enable ingress controller resource
1423 ## @param queryFrontend.ingress.hostname Default host for the ingress resource
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
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/
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
1439 ## dns-managed-by-external-dns: 'true'
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
1450 ## kubernetes.io/ingress.class: nginx
1451 ## cert-manager.io/cluster-issuer: cluster-issuer-name
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
1457 ## - name: thanos.local
1459 ## pathType: ImplementationSpecific
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
1467 ## secretName: thanos.local-tls
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-----
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
1477 ## It is also possible to create and manage the certificates outside of this helm chart
1478 ## Please see README.md for more information
1480 ## - name: thanos.local-tls
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
1489 ## - host: example.local
1494 ## name: example-svc
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 }}`
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`
1507 ## @param queryFrontend.ingress.selfSigned Create a TLS secret for this ingress record using self-signed certificates generated by Helm
1510 ## @param queryFrontend.ingress.apiVersion Force Ingress API version (automatically detected if not set)
1513 ## @param queryFrontend.ingress.path Ingress path
1516 ## @param queryFrontend.ingress.pathType Ingress path type
1518 pathType: ImplementationSpecific
1519## @section Thanos Bucket Web parameters
1521 ## @param bucketweb.enabled Enable/disable Thanos Bucket Web component
1524 ## @param bucketweb.logLevel Thanos Bucket Web log level
1527 ## @param bucketweb.logFormat Thanos Bucket Web log format
1530 ## @param bucketweb.refresh Refresh interval to download metadata from remote storage
1533 ## @param bucketweb.timeout Timeout to download metadata from remote storage
1536 ## @param bucketweb.extraEnvVars Extra environment variables for Thanos Bucket Web container
1543 ## @param bucketweb.extraEnvVarsCM Name of existing ConfigMap containing extra env vars for Thanos Bucket Web nodes
1546 ## @param bucketweb.extraEnvVarsSecret Name of existing Secret containing extra env vars for Thanos Bucket Web nodes
1548 extraEnvVarsSecret: ""
1549 ## @param bucketweb.extraFlags Extra Flags to passed to Thanos Bucket Web
1552 ## @param bucketweb.command Override default container command (useful when using custom images)
1555 ## @param bucketweb.args Override default container args (useful when using custom images)
1558 ## @param bucketweb.replicaCount Number of Thanos Bucket Web replicas to deploy
1561 ## @param bucketweb.revisionHistoryLimit The number of old history to retain to allow rollback
1563 revisionHistoryLimit: 10
1564 ## @param bucketweb.updateStrategy.type Update strategy type for Thanos Bucket Web replicas
1568 ## @param bucketweb.containerPorts.http HTTP container port
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
1582 fsGroupChangePolicy: Always
1584 supplementalGroups: []
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
1599 containerSecurityContext:
1606 readOnlyRootFilesystem: true
1607 allowPrivilegeEscalation: false
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).
1616 resourcesPreset: "nano"
1617 ## @param bucketweb.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
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
1639 initialDelaySeconds: 30
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
1653 initialDelaySeconds: 30
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
1667 initialDelaySeconds: 5
1670 failureThreshold: 15
1672 ## @param bucketweb.customLivenessProbe Custom livenessProbe that overrides the default one
1674 customLivenessProbe: {}
1675 ## @param bucketweb.customReadinessProbe Custom readinessProbe that overrides the default one
1677 customReadinessProbe: {}
1678 ## @param bucketweb.customStartupProbe Custom startupProbe that overrides the default one
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/
1685 ## - name: your-image-name
1686 ## image: your-image
1687 ## imagePullPolicy: Always
1688 ## command: ['sh', '-c', 'echo "hello world"']
1691 ## @param bucketweb.sidecars Extra containers running as sidecars to Thanos Bucket Web pods
1694 ## - name: your-image-name
1695 ## image: your-image
1696 ## imagePullPolicy: Always
1699 ## containerPort: 1234
1702 ## @param bucketweb.extraVolumes Extra volumes to add to Bucket Web
1705 ## @param bucketweb.extraVolumeMounts Extra volume mounts to add to the bucketweb container
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
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
1715 podAntiAffinityPreset: soft
1716 ## Thanos Bucket Web node affinity preset
1717 ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
1720 ## @param bucketweb.nodeAffinityPreset.type Thanos Bucket Web node affinity preset type. Ignored if `bucketweb.affinity` is set. Allowed values: `soft` or `hard`
1723 ## @param bucketweb.nodeAffinityPreset.key Thanos Bucket Web node label key to match. Ignored if `bucketweb.affinity` is set.
1725 ## key: "kubernetes.io/e2e-az-name"
1728 ## @param bucketweb.nodeAffinityPreset.values Thanos Bucket Web node label values to match. Ignored if `bucketweb.affinity` is set.
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
1740 ## @param bucketweb.nodeSelector Thanos Bucket Web node labels for pod assignment
1741 ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
1744 ## @param bucketweb.tolerations Thanos Bucket Web tolerations for pod assignment
1745 ## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
1748 ## @param bucketweb.podLabels Thanos Bucket Web pod labels
1749 ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
1752 ## @param bucketweb.podAnnotations Annotations for Thanos Bucket Web pods
1753 ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
1756 ## @param bucketweb.dnsConfig Deployment pod DNS config
1757 ## ref: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/
1763 ## - name: single-request-reopen
1766 ## @param bucketweb.dnsPolicy Deployment pod DNS policy
1767 ## ref: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/
1769 ## dnsPolicy: ClusterFirstWithHostNet
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/
1776 ## @param bucketweb.lifecycleHooks for the Thanos Bucket Web container(s) to automate configuration before or after startup
1779 ## @param bucketweb.priorityClassName Thanos Bucket Web priorityClassName
1780 ## ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/
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/
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
1790 topologySpreadConstraints: []
1792 ## Ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/
1795 ## @param bucketweb.networkPolicy.enabled Specifies whether a NetworkPolicy should be created
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).
1805 ## @param bucketweb.networkPolicy.allowExternalEgress Allow the pod to access any range of port and all destinations.
1807 allowExternalEgress: true
1808 ## @param bucketweb.networkPolicy.extraIngress [array] Add extra ingress rules to the NetworkPolicy
1818 ## - matchExpressions:
1824 ## @param bucketweb.networkPolicy.extraEgress [array] Add extra ingress rules to the NetworkPolicy
1834 ## - matchExpressions:
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
1844 ingressNSMatchLabels: {}
1845 ingressNSPodMatchLabels: {}
1846 ## Service parameters
1849 ## @param bucketweb.service.type Kubernetes service type
1852 ## @param bucketweb.service.ports.http Thanos Bucket Web service HTTP port
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
1861 ## @param bucketweb.service.clusterIP Thanos Bucket Web service clusterIP IP
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
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
1873 ## loadBalancerSourceRanges:
1876 loadBalancerSourceRanges: []
1877 ## @param bucketweb.service.externalTrafficPolicy Thanos Bucket Web service externalTrafficPolicy
1879 externalTrafficPolicy: Cluster
1880 ## @param bucketweb.service.labels Extra labels for Thanos Bucket Web service
1883 ## @param bucketweb.service.annotations Annotations for Thanos Bucket Web service
1886 ## @param bucketweb.service.extraPorts Extra ports to expose in the Thanos Bucket Web service
1889 ## @param bucketweb.service.labelSelectorsOverride Selector for Thanos Query service
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).
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".
1898 ## @param bucketweb.automountServiceAccountToken Enable/disable auto mounting of the service account token only for the deployment
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
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
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
1940 ## Configure the ingress resource that allows you to access Thanos Bucketweb
1941 ## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/
1944 ## @param bucketweb.ingress.enabled Enable ingress controller resource
1947 ## @param bucketweb.ingress.hostname Default host for the ingress resource
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/
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
1959 ## dns-managed-by-external-dns: 'true'
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
1970 ## kubernetes.io/ingress.class: nginx
1971 ## cert-manager.io/cluster-issuer: cluster-issuer-name
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
1977 ## - name: thanos-bucketweb.local
1979 ## pathType: ImplementationSpecific
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
1986 ## - thanos-bucketweb.local
1987 ## secretName: thanos-bucketweb.local-tls
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-----
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
1997 ## It is also possible to create and manage the certificates outside of this helm chart
1998 ## Please see README.md for more information
2000 ## - name: thanos-bucketweb.local-tls
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
2009 ## - host: example.local
2014 ## name: example-svc
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 }}`
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`
2027 ## @param bucketweb.ingress.selfSigned Create a TLS secret for this ingress record using self-signed certificates generated by Helm
2030 ## @param bucketweb.ingress.apiVersion Force Ingress API version (automatically detected if not set)
2033 ## @param bucketweb.ingress.path Ingress path
2036 ## @param bucketweb.ingress.pathType Ingress path type
2038 pathType: ImplementationSpecific
2039## @section Thanos Compactor parameters
2041 ## @param compactor.enabled Enable/disable Thanos Compactor component
2044 ## @param compactor.logLevel Thanos Compactor log level
2047 ## @param compactor.logFormat Thanos Compactor log format
2050 ## @param compactor.dataDir Thanos Compactor data directory
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
2058 retentionResolutionRaw: 30d
2059 retentionResolution5m: 30d
2060 retentionResolution1h: 10y
2061 ## @param compactor.concurrency Number of goroutines to use when compacting groups.
2063 ## @param compactor.consistencyDelay Minimum age of fresh (non-compacted) blocks before they are being processed
2065 consistencyDelay: 30m
2066 ## @param compactor.extraEnvVars Extra environment variables for Thanos Compactor container
2073 ## @param compactor.extraEnvVarsCM Name of existing ConfigMap containing extra env vars for Thanos Compactor nodes
2076 ## @param compactor.extraEnvVarsSecret Name of existing Secret containing extra env vars for Thanos Compactor nodes
2078 extraEnvVarsSecret: ""
2079 ## @param compactor.extraFlags Extra Flags to passed to Thanos Compactor
2082 ## @param compactor.command Override default container command (useful when using custom images)
2085 ## @param compactor.args Override default container args (useful when using custom images)
2088 ## @param compactor.revisionHistoryLimit The number of old history to retain to allow rollback
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
2106 schedule: "0 */6 * * *"
2108 startingDeadlineSeconds: ""
2109 concurrencyPolicy: Forbid
2111 successfulJobsHistoryLimit: ""
2112 failedJobsHistoryLimit: ""
2114 ttlSecondsAfterFinished: ""
2115 ## @param compactor.restartPolicy Compactor container restart policy.
2116 ## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy
2119 ## @param compactor.updateStrategy.type Update strategy type for Thanos Compactor replicas
2123 ## @param compactor.containerPorts.http HTTP container port
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
2137 fsGroupChangePolicy: Always
2139 supplementalGroups: []
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
2154 containerSecurityContext:
2161 readOnlyRootFilesystem: true
2162 allowPrivilegeEscalation: false
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).
2171 resourcesPreset: "nano"
2172 ## @param compactor.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
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
2194 initialDelaySeconds: 30
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
2208 initialDelaySeconds: 30
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
2222 initialDelaySeconds: 5
2225 failureThreshold: 15
2227 ## @param compactor.customLivenessProbe Custom livenessProbe that overrides the default one
2229 customLivenessProbe: {}
2230 ## @param compactor.customReadinessProbe Custom readinessProbe that overrides the default one
2232 customReadinessProbe: {}
2233 ## @param compactor.customStartupProbe Custom startupProbe that overrides the default one
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/
2240 ## - name: your-image-name
2241 ## image: your-image
2242 ## imagePullPolicy: Always
2243 ## command: ['sh', '-c', 'echo "hello world"']
2246 ## @param compactor.sidecars Extra containers running as sidecars to Thanos Compactor pods
2249 ## - name: your-image-name
2250 ## image: your-image
2251 ## imagePullPolicy: Always
2254 ## containerPort: 1234
2257 ## @param compactor.extraVolumes Extra volumes to add to Thanos Compactor
2260 ## @param compactor.extraVolumeMounts Extra volume mounts to add to the compactor container
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
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
2270 podAntiAffinityPreset: soft
2271 ## Thanos Compactor node affinity preset
2272 ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
2275 ## @param compactor.nodeAffinityPreset.type Thanos Compactor node affinity preset type. Ignored if `compactor.affinity` is set. Allowed values: `soft` or `hard`
2278 ## @param compactor.nodeAffinityPreset.key Thanos Compactor node label key to match. Ignored if `compactor.affinity` is set.
2280 ## key: "kubernetes.io/e2e-az-name"
2283 ## @param compactor.nodeAffinityPreset.values Thanos Compactor node label values to match. Ignored if `compactor.affinity` is set.
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
2295 ## @param compactor.nodeSelector Thanos Compactor node labels for pod assignment
2296 ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
2299 ## @param compactor.tolerations Thanos Compactor tolerations for pod assignment
2300 ## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
2303 ## @param compactor.podLabels Thanos Compactor pod labels
2304 ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
2307 ## @param compactor.podAnnotations Annotations for Thanos Compactor pods
2308 ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
2311 ## @param compactor.deploymentAnnotations Thanos Compactor deployment annotations
2312 ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
2314 deploymentAnnotations: {}
2315 ## @param compactor.dnsConfig Deployment pod DNS config
2316 ## ref: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/
2322 ## - name: single-request-reopen
2325 ## @param compactor.dnsPolicy Deployment pod DNS policy
2326 ## ref: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/
2328 ## dnsPolicy: ClusterFirstWithHostNet
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/
2335 ## @param compactor.lifecycleHooks for the Thanos Compactor container(s) to automate configuration before or after startup
2338 ## @param compactor.priorityClassName Thanos Compactor priorityClassName
2339 ## ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/
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/
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
2349 topologySpreadConstraints: []
2351 ## Ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/
2354 ## @param compactor.networkPolicy.enabled Specifies whether a NetworkPolicy should be created
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).
2364 ## @param compactor.networkPolicy.allowExternalEgress Allow the pod to access any range of port and all destinations.
2366 allowExternalEgress: true
2367 ## @param compactor.networkPolicy.extraIngress [array] Add extra ingress rules to the NetworkPolicy
2377 ## - matchExpressions:
2383 ## @param compactor.networkPolicy.extraEgress [array] Add extra ingress rules to the NetworkPolicy
2393 ## - matchExpressions:
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
2403 ingressNSMatchLabels: {}
2404 ingressNSPodMatchLabels: {}
2405 ## Service parameters
2408 ## @param compactor.service.type Kubernetes service type
2411 ## @param compactor.service.ports.http Thanos Compactor service HTTP port
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
2420 ## @param compactor.service.clusterIP Thanos Compactor service clusterIP IP
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
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
2433 ## loadBalancerSourceRanges:
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
2440 externalTrafficPolicy: Cluster
2441 ## @param compactor.service.labels Labels for Thanos Compactor service
2444 ## @param compactor.service.annotations Annotations for Thanos Compactor service
2447 ## @param compactor.service.extraPorts Extra ports to expose in the Thanos Compactor service
2450 ## @param compactor.service.labelSelectorsOverride Selector for Thanos Query service
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).
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".
2459 ## @param compactor.automountServiceAccountToken Enable/disable auto mounting of the service account token only for the deployment
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
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/
2477 ## @param compactor.ingress.enabled Enable ingress controller resource
2480 ## @param compactor.ingress.hostname Default host for the ingress resource
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/
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
2492 ## dns-managed-by-external-dns: 'true'
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
2503 ## kubernetes.io/ingress.class: nginx
2504 ## cert-manager.io/cluster-issuer: cluster-issuer-name
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
2510 ## - name: thanos.local
2512 ## pathType: ImplementationSpecific
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
2520 ## secretName: thanos.local-tls
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-----
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
2530 ## It is also possible to create and manage the certificates outside of this helm chart
2531 ## Please see README.md for more information
2533 ## - name: thanos.local-tls
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
2542 ## - host: example.local
2547 ## name: example-svc
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 }}`
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`
2560 ## @param compactor.ingress.selfSigned Create a TLS secret for this ingress record using self-signed certificates generated by Helm
2563 ## @param compactor.ingress.apiVersion Force Ingress API version (automatically detected if not set)
2566 ## @param compactor.ingress.path Ingress path
2569 ## @param compactor.ingress.pathType Ingress path type
2571 pathType: ImplementationSpecific
2572 ## Persistence parameters
2575 ## @param compactor.persistence.enabled Enable data persistence using PVC(s) on Thanos Compactor pods
2578 ## @param compactor.persistence.ephemeral Use ephemeral volume for data persistence using PVC(s) on Thanos Compactor pods
2581 ## @param compactor.persistence.defaultEmptyDir Defaults to emptyDir if persistence is disabled.
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.
2591 ## @param compactor.persistence.accessModes PVC Access Modes for data volume
2595 ## @param compactor.persistence.size PVC Storage Request for data volume
2598 ## @param compactor.persistence.labels Labels for the PVC
2601 ## @param compactor.persistence.annotations Annotations for the PVC
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
2608## @section Thanos Store Gateway parameters
2610 ## @param storegateway.enabled Enable/disable Thanos Store Gateway component
2613 ## @param storegateway.logLevel Thanos Store Gateway log level
2616 ## @param storegateway.logFormat Thanos Store Gateway log format
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
2622 useEndpointGroup: false
2623 ## @param storegateway.config Thanos Store Gateway configuration
2624 ## Specify content for config.yml
2627 ## @param storegateway.existingConfigmap Name of existing ConfigMap with Thanos Store Gateway configuration
2628 ## NOTE: This will override storegateway.config
2630 existingConfigmap: ""
2631 ## Thanos Store Gateway GRPC parameters
2632 ## ref: https://github.com/thanos-io/thanos/blob/master/docs/components/store.md#flags
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
2651 ## tls-cert: cert.pem
2656 autoGenerated: false
2660 clientAuthEnabled: true
2662 ## @param storegateway.extraEnvVars Extra environment variables for Thanos Store Gateway container
2669 ## @param storegateway.extraEnvVarsCM Name of existing ConfigMap containing extra env vars for Thanos Store Gateway nodes
2672 ## @param storegateway.extraEnvVarsSecret Name of existing Secret containing extra env vars for Thanos Store Gateway nodes
2674 extraEnvVarsSecret: ""
2675 ## @param storegateway.extraFlags Extra Flags to passed to Thanos Store Gateway
2678 ## @param storegateway.command Override default container command (useful when using custom images)
2681 ## @param storegateway.args Override default container args (useful when using custom images)
2684 ## @param storegateway.replicaCount Number of Thanos Store Gateway replicas to deploy
2687 ## @param storegateway.revisionHistoryLimit The number of old history to retain to allow rollback
2689 revisionHistoryLimit: 10
2690 ## @param storegateway.updateStrategy.type Update strategy type for Thanos Store Gateway replicas
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
2697 podManagementPolicy: OrderedReady
2698 ## @param storegateway.containerPorts.http HTTP container port
2699 ## @param storegateway.containerPorts.grpc GRPC container port
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
2714 fsGroupChangePolicy: Always
2716 supplementalGroups: []
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
2731 containerSecurityContext:
2738 readOnlyRootFilesystem: true
2739 allowPrivilegeEscalation: false
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).
2748 resourcesPreset: "nano"
2749 ## @param storegateway.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
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
2771 initialDelaySeconds: 30
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
2785 initialDelaySeconds: 30
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
2799 initialDelaySeconds: 5
2802 failureThreshold: 15
2804 ## @param storegateway.customLivenessProbe Custom livenessProbe that overrides the default one
2806 customLivenessProbe: {}
2807 ## @param storegateway.customReadinessProbe Custom readinessProbe that overrides the default one
2809 customReadinessProbe: {}
2810 ## @param storegateway.customStartupProbe Custom startupProbe that overrides the default one
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/
2817 ## - name: your-image-name
2818 ## image: your-image
2819 ## imagePullPolicy: Always
2820 ## command: ['sh', '-c', 'echo "hello world"']
2823 ## @param storegateway.sidecars Extra containers running as sidecars to Thanos Store Gateway pods
2826 ## - name: your-image-name
2827 ## image: your-image
2828 ## imagePullPolicy: Always
2831 ## containerPort: 1234
2834 ## @param storegateway.extraVolumes Extra volumes to add to Thanos Store Gateway
2837 ## @param storegateway.extraVolumeMounts Extra volume mounts to add to the storegateway container
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
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
2847 podAntiAffinityPreset: soft
2848 ## Thanos Store Gateway node affinity preset
2849 ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
2852 ## @param storegateway.nodeAffinityPreset.type Thanos Store Gateway node affinity preset type. Ignored if `storegateway.affinity` is set. Allowed values: `soft` or `hard`
2855 ## @param storegateway.nodeAffinityPreset.key Thanos Store Gateway node label key to match. Ignored if `storegateway.affinity` is set.
2857 ## key: "kubernetes.io/e2e-az-name"
2860 ## @param storegateway.nodeAffinityPreset.values Thanos Store Gateway node label values to match. Ignored if `storegateway.affinity` is set.
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
2872 ## @param storegateway.nodeSelector Thanos Store Gateway node labels for pod assignment
2873 ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
2876 ## @param storegateway.tolerations Thanos Store Gateway tolerations for pod assignment
2877 ## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
2880 ## @param storegateway.podLabels Thanos Store Gateway pod labels
2881 ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
2884 ## @param storegateway.podAnnotations Annotations for Thanos Store Gateway pods
2885 ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
2888 ## @param storegateway.statefulsetLabels Thanos Store Gateway statefulset labels
2889 ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
2891 statefulsetLabels: {}
2892 ## @param storegateway.statefulsetAnnotations Thanos Store Gateway statefulset annotations
2893 ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
2895 statefulsetAnnotations: {}
2896 ## @param storegateway.dnsConfig Deployment pod DNS config
2897 ## ref: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/
2903 ## - name: single-request-reopen
2906 ## @param storegateway.dnsPolicy Deployment pod DNS policy
2907 ## ref: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/
2909 ## dnsPolicy: ClusterFirstWithHostNet
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/
2916 ## @param storegateway.lifecycleHooks for the Thanos Store Gateway container(s) to automate configuration before or after startup
2919 ## @param storegateway.priorityClassName Thanos Store Gateway priorityClassName
2920 ## ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/
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
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/
2932 ## Ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/
2935 ## @param storegateway.networkPolicy.enabled Specifies whether a NetworkPolicy should be created
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).
2945 ## @param storegateway.networkPolicy.allowExternalEgress Allow the pod to access any range of port and all destinations.
2947 allowExternalEgress: true
2948 ## @param storegateway.networkPolicy.extraIngress [array] Add extra ingress rules to the NetworkPolicy
2958 ## - matchExpressions:
2964 ## @param storegateway.networkPolicy.extraEgress [array] Add extra ingress rules to the NetworkPolicy
2974 ## - matchExpressions:
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
2984 ingressNSMatchLabels: {}
2985 ingressNSPodMatchLabels: {}
2986 ## Service parameters
2989 ## @param storegateway.service.type Kubernetes service type
2992 ## @param storegateway.service.ports.http Thanos Store Gateway service HTTP port
2993 ## @param storegateway.service.ports.grpc Thanos Store Gateway service GRPC port
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
3005 ## @param storegateway.service.clusterIP Thanos Store Gateway service clusterIP IP
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
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
3018 ## loadBalancerSourceRanges:
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
3025 externalTrafficPolicy: Cluster
3026 ## @param storegateway.service.labels Extra labels for Thanos Store Gateway service
3029 ## @param storegateway.service.annotations Annotations for Thanos Store Gateway service
3032 ## @param storegateway.service.extraPorts Extra ports to expose in the Thanos Store Gateway service
3035 ## @param storegateway.service.labelSelectorsOverride Selector for Thanos Query service
3037 labelSelectorsOverride: {}
3038 ## @param storegateway.service.additionalHeadless Additional Headless service
3040 additionalHeadless: false
3041 ## Headless service properties
3044 ## @param storegateway.service.headless.annotations Annotations for the headless service.
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).
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".
3053 ## Persistence parameters
3056 ## @param storegateway.persistence.enabled Enable data persistence using PVC(s) on Thanos Store Gateway pods
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.
3066 ## @param storegateway.persistence.accessModes PVC Access Modes for data volume
3070 ## @param storegateway.persistence.size PVC Storage Request for data volume
3073 ## @param storegateway.persistence.labels Labels for the PVC
3076 ## @param storegateway.persistence.annotations Annotations for the PVC
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
3083 ## Persistent Volume Claim Retention Policy
3084 ## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#persistentvolumeclaim-retention
3086 persistentVolumeClaimRetentionPolicy:
3087 ## @param storegateway.persistentVolumeClaimRetentionPolicy.enabled Enable Persistent volume retention policy for Thanos Store Gateway Statefulset
3090 ## @param storegateway.persistentVolumeClaimRetentionPolicy.whenScaled Volume retention behavior when the replica count of the StatefulSet is reduced
3093 ## @param storegateway.persistentVolumeClaimRetentionPolicy.whenDeleted Volume retention behavior that applies when the StatefulSet is deleted
3096 ## @param storegateway.automountServiceAccountToken Enable/disable auto mounting of the service account token only for the sts
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
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
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
3138 ## Configure the ingress resource that allows you to access Thanos Query Frontend
3139 ## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/
3142 ## @param storegateway.ingress.enabled Enable ingress controller resource
3145 ## @param storegateway.ingress.hostname Default host for the ingress resource
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/
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
3157 ## dns-managed-by-external-dns: 'true'
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
3168 ## kubernetes.io/ingress.class: nginx
3169 ## cert-manager.io/cluster-issuer: cluster-issuer-name
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
3175 ## - name: thanos.local
3177 ## pathType: ImplementationSpecific
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
3185 ## secretName: thanos.local-tls
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-----
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
3195 ## It is also possible to create and manage the certificates outside of this helm chart
3196 ## Please see README.md for more information
3198 ## - name: thanos.local-tls
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
3207 ## - host: example.local
3212 ## name: example-svc
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 }}`
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`
3225 ## @param storegateway.ingress.selfSigned Create a TLS secret for this ingress record using self-signed certificates generated by Helm
3228 ## @param storegateway.ingress.apiVersion Force Ingress API version (automatically detected if not set)
3231 ## @param storegateway.ingress.path Ingress path
3234 ## @param storegateway.ingress.pathType Ingress path type
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.
3245 ## The options that are accepted are identical to the HTTP one listed above
3248 ## @param storegateway.ingress.grpc.enabled Enable ingress controller resource (GRPC)
3251 ## @param storegateway.ingress.grpc.hostname Default host for the ingress resource (GRPC)
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/
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
3266 ## kubernetes.io/ingress.class: nginx
3267 ## cert-manager.io/cluster-issuer: cluster-issuer-name
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
3273 ## - name: thanos-grpc.local
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
3281 ## - thanos-grpc.local
3282 ## secretName: thanos-grpc.local-tls
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-----
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
3292 ## It is also possible to create and manage the certificates outside of this helm chart
3293 ## Please see README.md for more information
3295 ## - name: thanos-grpc.local-tls
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
3304 ## - host: example.local
3309 ## name: example-svc
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 }}`
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`
3322 ## @param storegateway.ingress.grpc.selfSigned Create a TLS secret for this ingress record using self-signed certificates generated by Helm
3325 ## @param storegateway.ingress.grpc.apiVersion Override API Version (automatically detected if not set)
3328 ## @param storegateway.ingress.grpc.path Ingress Path
3331 ## @param storegateway.ingress.grpc.pathType Ingress Path type
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
3339 ## extraRelabelingConfigs:
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
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
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
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
3369 extraRelabelingConfigs: []
3380## @section Thanos Ruler parameters
3382 ## @param ruler.enabled Enable/disable Thanos Ruler component
3385 ## @param ruler.logLevel Thanos Ruler log level
3388 ## @param ruler.logFormat Thanos Ruler log format
3391 ## @param ruler.replicaLabel Label to treat as a replica indicator along which data is de-duplicated
3393 replicaLabel: replica
3394 ## @param ruler.dnsDiscovery.enabled Dynamically configure Query APIs using DNS discovery
3398 ## @param ruler.queryURL Thanos query/query-frontend URL to link in Ruler UI.
3401 ## @param ruler.alertmanagers Alert managers URLs array
3402 ## NOTE: This is only used when ruler.alertmanagersConfig is not set
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
3409 ## alertmanagersConfig:
3413 ## username: some_user
3414 ## password: some_pass
3416 ## - alertmanager.thanos.io
3421 alertmanagersConfig: {}
3422 ## @param ruler.evalInterval The default evaluation interval to use
3425 ## @param ruler.clusterName Used to set the 'ruler_cluster' label
3428 ## @param ruler.ruleFile Change the location Thanos checks for rule files
3430 ruleFile: "/conf/rules/*.yml"
3431 ## @param ruler.config Ruler configuration
3432 ## Specify content for ruler.yml
3435 ## @param ruler.dataPath Path to the data directory
3439 ## @param ruler.existingConfigmap Name of existing ConfigMap with Ruler configuration
3440 ## NOTE: This will override ruler.config
3442 existingConfigmap: ""
3443 ## @param ruler.extraEnvVars Extra environment variables for Thanos Ruler container
3450 ## @param ruler.extraEnvVarsCM Name of existing ConfigMap containing extra env vars for Thanos Ruler nodes
3453 ## @param ruler.extraEnvVarsSecret Name of existing Secret containing extra env vars for Thanos Ruler nodes
3455 extraEnvVarsSecret: ""
3456 ## @param ruler.extraFlags Extra Flags to passed to Thanos Ruler
3459 ## @param ruler.command Override default container command (useful when using custom images)
3462 ## @param ruler.args Override default container args (useful when using custom images)
3465 ## @param ruler.replicaCount Number of Thanos Ruler replicas to deploy
3468 ## @param ruler.revisionHistoryLimit The number of old history to retain to allow rollback
3470 revisionHistoryLimit: 10
3471 ## @param ruler.updateStrategy.type Update strategy type for Thanos Ruler replicas
3475 ## @param ruler.podManagementPolicy Statefulset Pod Management Policy Type
3476 ## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#pod-management-policies
3478 podManagementPolicy: OrderedReady
3479 ## @param ruler.containerPorts.http HTTP container port
3480 ## @param ruler.containerPorts.grpc GRPC container port
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
3495 fsGroupChangePolicy: Always
3497 supplementalGroups: []
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
3512 containerSecurityContext:
3519 readOnlyRootFilesystem: true
3520 allowPrivilegeEscalation: false
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).
3529 resourcesPreset: "nano"
3530 ## @param ruler.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
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
3552 initialDelaySeconds: 30
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
3566 initialDelaySeconds: 30
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
3580 initialDelaySeconds: 5
3583 failureThreshold: 15
3585 ## @param ruler.customLivenessProbe Custom livenessProbe that overrides the default one
3587 customLivenessProbe: {}
3588 ## @param ruler.customReadinessProbe Custom readinessProbe that overrides the default one
3590 customReadinessProbe: {}
3591 ## @param ruler.customStartupProbe Custom startupProbe that overrides the default one
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/
3598 ## - name: your-image-name
3599 ## image: your-image
3600 ## imagePullPolicy: Always
3601 ## command: ['sh', '-c', 'echo "hello world"']
3604 ## @param ruler.sidecars Extra containers running as sidecars to Thanos Ruler pods
3607 ## - name: your-image-name
3608 ## image: your-image
3609 ## imagePullPolicy: Always
3612 ## containerPort: 1234
3615 ## @param ruler.extraVolumes Extra volumes to add to Thanos Ruler
3618 ## @param ruler.extraVolumeMounts Extra volume mounts to add to the ruler container
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
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
3628 podAntiAffinityPreset: soft
3629 ## Thanos Ruler node affinity preset
3630 ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
3633 ## @param ruler.nodeAffinityPreset.type Thanos Ruler node affinity preset type. Ignored if `ruler.affinity` is set. Allowed values: `soft` or `hard`
3636 ## @param ruler.nodeAffinityPreset.key Thanos Ruler node label key to match. Ignored if `ruler.affinity` is set.
3638 ## key: "kubernetes.io/e2e-az-name"
3641 ## @param ruler.nodeAffinityPreset.values Thanos Ruler node label values to match. Ignored if `ruler.affinity` is set.
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
3653 ## @param ruler.nodeSelector Thanos Ruler node labels for pod assignment
3654 ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
3657 ## @param ruler.tolerations Thanos Ruler tolerations for pod assignment
3658 ## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
3661 ## @param ruler.podLabels Thanos Ruler pod labels
3662 ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
3665 ## @param ruler.podAnnotations Annotations for Thanos Ruler pods
3666 ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
3669 ## @param ruler.statefulsetLabels Thanos Ruler statefulset labels
3670 ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
3672 statefulsetLabels: {}
3673 ## @param ruler.statefulsetAnnotations Thanos Ruler statefulset annotations
3674 ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
3676 statefulsetAnnotations: {}
3677 ## @param ruler.dnsConfig Deployment pod DNS config
3678 ## ref: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/
3684 ## - name: single-request-reopen
3687 ## @param ruler.dnsPolicy Deployment pod DNS policy
3688 ## ref: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/
3690 ## dnsPolicy: ClusterFirstWithHostNet
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/
3697 ## @param ruler.lifecycleHooks for the Thanos Ruler container(s) to automate configuration before or after startup
3700 ## @param ruler.priorityClassName Thanos Ruler priorityClassName
3701 ## ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/
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/
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
3711 topologySpreadConstraints: []
3713 ## Ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/
3716 ## @param ruler.networkPolicy.enabled Specifies whether a NetworkPolicy should be created
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).
3726 ## @param ruler.networkPolicy.allowExternalEgress Allow the pod to access any range of port and all destinations.
3728 allowExternalEgress: true
3729 ## @param ruler.networkPolicy.extraIngress [array] Add extra ingress rules to the NetworkPolicy
3739 ## - matchExpressions:
3745 ## @param ruler.networkPolicy.extraEgress [array] Add extra ingress rules to the NetworkPolicy
3755 ## - matchExpressions:
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
3765 ingressNSMatchLabels: {}
3766 ingressNSPodMatchLabels: {}
3767 ## Service parameters
3770 ## @param ruler.service.type Kubernetes service type
3773 ## @param ruler.service.ports.http Thanos Ruler service HTTP port
3774 ## @param ruler.service.ports.grpc Thanos Ruler service GRPC port
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
3786 ## @param ruler.service.clusterIP Thanos Ruler service clusterIP IP
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
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
3799 ## loadBalancerSourceRanges:
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
3806 externalTrafficPolicy: Cluster
3807 ## @param ruler.service.labels Extra labels for Thanos Ruler service
3810 ## @param ruler.service.annotations Annotations for Thanos Ruler service
3813 ## @param ruler.service.extraPorts Extra ports to expose in the Thanos Ruler service
3816 ## @param ruler.service.labelSelectorsOverride Selector for Thanos Query service
3818 labelSelectorsOverride: {}
3819 ## @param ruler.service.additionalHeadless Additional Headless service
3821 additionalHeadless: false
3822 ## Headless service properties
3825 ## @param ruler.service.headless.annotations Annotations for the headless service.
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).
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".
3834 ## Persistence parameters
3837 ## @param ruler.persistence.enabled Enable data persistence using PVC(s) on Thanos Ruler pods
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.
3847 ## @param ruler.persistence.accessModes PVC Access Modes for data volume
3851 ## @param ruler.persistence.size PVC Storage Request for data volume
3854 ## @param ruler.persistence.annotations Annotations for the PVC
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
3861 ## Persistent Volume Claim Retention Policy
3862 ## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#persistentvolumeclaim-retention
3864 persistentVolumeClaimRetentionPolicy:
3865 ## @param ruler.persistentVolumeClaimRetentionPolicy.enabled Enable Persistent volume retention policy for Thanos Ruler Statefulset
3868 ## @param ruler.persistentVolumeClaimRetentionPolicy.whenScaled Volume retention behavior when the replica count of the StatefulSet is reduced
3871 ## @param ruler.persistentVolumeClaimRetentionPolicy.whenDeleted Volume retention behavior that applies when the StatefulSet is deleted
3874 ## @param ruler.automountServiceAccountToken Enable/disable auto mounting of the service account token only for the sts
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
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
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
3916 ## Configure the ingress resource that allows you to access Thanos Ruler
3917 ## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/
3920 ## @param ruler.ingress.enabled Enable ingress controller resource
3923 ## @param ruler.ingress.hostname Default host for the ingress resource
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/
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
3935 ## dns-managed-by-external-dns: 'true'
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
3946 ## kubernetes.io/ingress.class: nginx
3947 ## cert-manager.io/cluster-issuer: cluster-issuer-name
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
3953 ## - name: thanos.local
3955 ## pathType: ImplementationSpecific
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
3963 ## secretName: thanos.local-tls
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-----
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
3973 ## It is also possible to create and manage the certificates outside of this helm chart
3974 ## Please see README.md for more information
3976 ## - name: thanos.local-tls
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
3985 ## - host: example.local
3990 ## name: example-svc
3995 ## @param ruler.ingress.apiVersion Force Ingress API version (automatically detected if not set)
3998 ## @param ruler.ingress.path Ingress path
4001 ## @param ruler.ingress.pathType Ingress path type
4003 pathType: ImplementationSpecific
4004## @section Thanos Receive parameters
4006 ## @param receive.enabled Enable/disable Thanos Receive component
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.
4014 ## @param receive.logLevel Thanos Receive log level
4017 ## @param receive.logFormat Thanos Receive log format
4020 ## @param receive.tsdbRetention Thanos Receive TSDB retention period
4023 ## @param receive.replicationProtocol Thanos Receive replication-protocol
4024 ## ref: https://thanos.io/tip/components/receive.md/#replication-protocols
4026 replicationProtocol: capnproto
4027 ## @param receive.replicationFactor Thanos Receive replication-factor
4029 replicationFactor: 1
4030 ## @param receive.config Receive Hashring configuration
4031 ## Note: json formatted string and yaml allowed.
4035 ## - "127.0.0.1:10901"
4038 ## @param receive.tsdbPath Thanos Receive path to the time series database
4040 ## e.g.: /var/thanos/receive
4042 ## @param receive.existingConfigmap Name of existing ConfigMap with Thanos Receive Hashring configuration
4043 ## NOTE: This will override receive.config
4045 existingConfigmap: ""
4046 ## @param receive.replicaLabel Label to treat as a replica indicator along which data is de-duplicated
4048 replicaLabel: replica
4049 ## Thanos Receive parameters
4050 ## ref: https://github.com/thanos-io/thanos/blob/master/docs/components/receive.md#flags
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
4069 ## tls-cert: cert.pem
4074 autoGenerated: false
4078 clientAuthEnabled: true
4080 ## @param receive.extraEnvVars Extra environment variables for Thanos Receive container
4087 ## @param receive.extraEnvVarsCM Name of existing ConfigMap containing extra env vars for Thanos Receive nodes
4090 ## @param receive.extraEnvVarsSecret Name of existing Secret containing extra env vars for Thanos Receive nodes
4092 extraEnvVarsSecret: ""
4093 ## @param receive.extraFlags Extra Flags to passed to Thanos Receive
4096 ## @param receive.command Override default container command (useful when using custom images)
4099 ## @param receive.args Override default container args (useful when using custom images)
4102 ## @param receive.replicaCount Number of Thanos Receive replicas to deploy
4105 ## @param receive.revisionHistoryLimit The number of old history to retain to allow rollback
4107 revisionHistoryLimit: 10
4108 ## @param receive.updateStrategy.type Update strategy type for Thanos Receive replicas
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
4116 podManagementPolicy: OrderedReady
4117 ## @param receive.minReadySeconds How many seconds a pod needs to be ready before killing the next, during update
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
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
4140 fsGroupChangePolicy: Always
4142 supplementalGroups: []
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
4157 containerSecurityContext:
4164 readOnlyRootFilesystem: true
4165 allowPrivilegeEscalation: false
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).
4174 resourcesPreset: "nano"
4175 ## @param receive.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
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
4197 initialDelaySeconds: 30
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
4211 initialDelaySeconds: 30
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
4225 initialDelaySeconds: 5
4228 failureThreshold: 15
4230 ## @param receive.customLivenessProbe Custom livenessProbe that overrides the default one
4232 customLivenessProbe: {}
4233 ## @param receive.customReadinessProbe Custom readinessProbe that overrides the default one
4235 customReadinessProbe: {}
4236 ## @param receive.customStartupProbe Custom startupProbe that overrides the default one
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/
4243 ## - name: your-image-name
4244 ## image: your-image
4245 ## imagePullPolicy: Always
4246 ## command: ['sh', '-c', 'echo "hello world"']
4249 ## @param receive.sidecars Extra containers running as sidecars to Thanos Receive pods
4252 ## - name: your-image-name
4253 ## image: your-image
4254 ## imagePullPolicy: Always
4257 ## containerPort: 1234
4260 ## @param receive.extraVolumes Extra volumes to add to Thanos Receive
4263 ## @param receive.extraVolumeMounts Extra volume mounts to add to the receive container
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
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
4274 podAntiAffinityPreset: soft
4275 ## Thanos Receive node affinity preset
4276 ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
4279 ## @param receive.nodeAffinityPreset.type Thanos Receive node affinity preset type. Ignored if `receive.affinity` is set. Allowed values: `soft` or `hard`
4282 ## @param receive.nodeAffinityPreset.key Thanos Receive node label key to match. Ignored if `receive.affinity` is set.
4284 ## key: "kubernetes.io/e2e-az-name"
4287 ## @param receive.nodeAffinityPreset.values Thanos Receive node label values to match. Ignored if `receive.affinity` is set.
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
4299 ## @param receive.nodeSelector Thanos Receive node labels for pod assignment
4300 ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
4303 ## @param receive.tolerations Thanos Receive tolerations for pod assignment
4304 ## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
4307 ## @param receive.statefulsetLabels Thanos Receive statefulset labels
4308 ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
4310 statefulsetLabels: {}
4311 ## @param receive.statefulsetAnnotations Thanos Receive statefulset annotations
4312 ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
4314 statefulsetAnnotations: {}
4315 ## @param receive.podLabels Thanos Receive pod labels
4316 ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
4319 ## @param receive.podAnnotations Annotations for Thanos Receive pods
4320 ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
4323 ## @param receive.dnsConfig Deployment pod DNS config
4324 ## ref: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/
4330 ## - name: single-request-reopen
4333 ## @param receive.dnsPolicy Deployment pod DNS policy
4334 ## ref: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/
4336 ## dnsPolicy: ClusterFirstWithHostNet
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/
4343 ## @param receive.terminationGracePeriodSeconds for the Thanos Receive containers(s) to extend the grace period
4345 terminationGracePeriodSeconds: ""
4346 ## @param receive.lifecycleHooks for the Thanos Receive container(s) to automate configuration before or after startup
4349 ## @param receive.priorityClassName Thanos Receive priorityClassName
4350 ## ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/
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/
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
4360 topologySpreadConstraints: []
4362 ## Ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/
4365 ## @param receive.networkPolicy.enabled Specifies whether a NetworkPolicy should be created
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).
4375 ## @param receive.networkPolicy.allowExternalEgress Allow the pod to access any range of port and all destinations.
4377 allowExternalEgress: true
4378 ## @param receive.networkPolicy.extraIngress [array] Add extra ingress rules to the NetworkPolicy
4388 ## - matchExpressions:
4394 ## @param receive.networkPolicy.extraEgress [array] Add extra ingress rules to the NetworkPolicy
4404 ## - matchExpressions:
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
4414 ingressNSMatchLabels: {}
4415 ingressNSPodMatchLabels: {}
4416 ## Service parameters
4419 ## @param receive.service.type Kubernetes service type
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
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
4443 ## @param receive.service.clusterIP Thanos Receive service clusterIP IP
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
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
4455 ## loadBalancerSourceRanges:
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
4462 externalTrafficPolicy: Cluster
4463 ## @param receive.service.labels Extra labels for Thanos Receive service
4466 ## @param receive.service.annotations Annotations for Thanos Receive service
4469 ## @param receive.service.extraPorts Extra ports to expose in the Thanos Receive service
4472 ## @param receive.service.labelSelectorsOverride Selector for Thanos receive service
4474 labelSelectorsOverride: {}
4475 ## @param receive.service.additionalHeadless Additional Headless service
4477 additionalHeadless: false
4478 ## Headless service properties
4481 ## @param receive.service.headless.annotations Annotations for the headless service.
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).
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".
4490 ## @param receive.automountServiceAccountToken Enable/disable auto mounting of the service account token only for the sts
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
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
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
4532 ## Persistence parameters
4535 ## @param receive.persistence.enabled Enable data persistence using PVC(s) on Thanos Receive pods
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.
4545 ## @param receive.persistence.accessModes PVC Access Modes for data volume
4549 ## @param receive.persistence.size PVC Storage Request for data volume
4552 ## @param receive.persistence.labels Labels for the PVC
4555 ## @param receive.persistence.annotations Annotations for the PVC
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
4562 ## Persistent Volume Claim Retention Policy
4563 ## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#persistentvolumeclaim-retention
4565 persistentVolumeClaimRetentionPolicy:
4566 ## @param receive.persistentVolumeClaimRetentionPolicy.enabled Enable Persistent volume retention policy for Thanos Receive Statefulset
4569 ## @param receive.persistentVolumeClaimRetentionPolicy.whenScaled Volume retention behavior when the replica count of the StatefulSet is reduced
4572 ## @param receive.persistentVolumeClaimRetentionPolicy.whenDeleted Volume retention behavior that applies when the StatefulSet is deleted
4575 ## Configure the ingress resource that allows you to access Thanos Receive
4576 ## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/
4579 ## @param receive.ingress.enabled Set to true to enable ingress record generation
4582 ## @param receive.ingress.hostname When the ingress is enabled, a host pointing to this will be created
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/
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
4594 ## dns-managed-by-external-dns: 'true'
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
4605 ## kubernetes.io/ingress.class: nginx
4606 ## cert-manager.io/cluster-issuer: cluster-issuer-name
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
4612 ## - name: thanos.local
4614 ## pathType: ImplementationSpecific
4615 ## portName: "http" # or "remote"
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
4623 ## secretName: thanos.local-tls
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-----
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
4633 ## It is also possible to create and manage the certificates outside of this helm chart
4634 ## Please see README.md for more information
4636 ## - name: thanos.local-tls
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
4645 ## - host: example.local
4650 ## name: example-svc
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 }}`
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`
4663 ## @param receive.ingress.selfSigned Create a TLS secret for this ingress record using self-signed certificates generated by Helm
4666 ## @param receive.ingress.apiVersion Override API Version (automatically detected if not set)
4669 ## @param receive.ingress.path Ingress Path
4672 ## @param receive.ingress.pathType Ingress Path type
4674 pathType: ImplementationSpecific
4675## @section Thanos Receive Distributor parameters
4677 ## @param receiveDistributor.enabled Enable/disable Thanos Receive Distributor component
4680 ## @param receiveDistributor.logLevel Thanos Receive Distributor log level
4683 ## @param receiveDistributor.logFormat Thanos Receive Distributor log format
4686 ## @param receiveDistributor.replicaLabel Label to treat as a replica indicator along which data is de-duplicated
4688 replicaLabel: replica
4689 ## @param receiveDistributor.replicationProtocol Thanos Receive Distributor replication-protocol
4690 ## ref: https://thanos.io/tip/components/receive.md/#replication-protocols
4692 replicationProtocol: capnproto
4693 ## @param receiveDistributor.replicationFactor Thanos Receive Distributor replication-factor
4695 replicationFactor: 1
4696 ## @param receiveDistributor.extraEnvVars Extra environment variables for Thanos Receive Distributor container
4703 ## @param receiveDistributor.extraEnvVarsCM Name of existing ConfigMap containing extra env vars for Thanos Receive Distributor nodes
4706 ## @param receiveDistributor.extraEnvVarsSecret Name of existing Secret containing extra env vars for Thanos Receive Distributor nodes
4708 extraEnvVarsSecret: ""
4709 ## @param receiveDistributor.extraFlags Extra Flags to passed to Thanos Receive Distributor
4712 ## @param receiveDistributor.command Override default container command (useful when using custom images)
4715 ## @param receiveDistributor.args Override default container args (useful when using custom images)
4718 ## @param receiveDistributor.replicaCount Number of Thanos Receive Distributor replicas to deploy
4721 ## @param receiveDistributor.revisionHistoryLimit The number of old history to retain to allow rollback
4723 revisionHistoryLimit: 10
4724 ## @param receiveDistributor.updateStrategy.type Update strategy type for Thanos Receive Distributor replicas
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
4738 fsGroupChangePolicy: Always
4740 supplementalGroups: []
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
4755 containerSecurityContext:
4762 readOnlyRootFilesystem: true
4763 allowPrivilegeEscalation: false
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).
4772 resourcesPreset: "nano"
4773 ## @param receiveDistributor.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
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
4795 initialDelaySeconds: 30
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
4809 initialDelaySeconds: 30
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
4823 initialDelaySeconds: 5
4826 failureThreshold: 15
4828 ## @param receiveDistributor.customLivenessProbe Custom livenessProbe that overrides the default one
4830 customLivenessProbe: {}
4831 ## @param receiveDistributor.customReadinessProbe Custom readinessProbe that overrides the default one
4833 customReadinessProbe: {}
4834 ## @param receiveDistributor.customStartupProbe Custom startupProbe that overrides the default one
4836 customStartupProbe: {}
4837 ## @param receiveDistributor.terminationGracePeriodSeconds for the Thanos Receive containers(s) to extend the grace period
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/
4844 ## - name: your-image-name
4845 ## image: your-image
4846 ## imagePullPolicy: Always
4847 ## command: ['sh', '-c', 'echo "hello world"']
4850 ## @param receiveDistributor.sidecars Extra containers running as sidecars to Thanos Receive Distributor pods
4853 ## - name: your-image-name
4854 ## image: your-image
4855 ## imagePullPolicy: Always
4858 ## containerPort: 1234
4861 ## @param receiveDistributor.extraVolumes Extra volumes to add to Thanos Receive Distributor
4864 ## @param receiveDistributor.extraVolumeMounts Extra volume mounts to add to the receive distributor container
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
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
4875 podAntiAffinityPreset: soft
4876 ## Thanos Receive node affinity preset
4877 ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
4880 ## @param receiveDistributor.nodeAffinityPreset.type Thanos Receive node affinity preset type. Ignored if `receiveDistributor.affinity` is set. Allowed values: `soft` or `hard`
4883 ## @param receiveDistributor.nodeAffinityPreset.key Thanos Receive node label key to match. Ignored if `receiveDistributor.affinity` is set.
4885 ## key: "kubernetes.io/e2e-az-name"
4888 ## @param receiveDistributor.nodeAffinityPreset.values Thanos Receive node label values to match. Ignored if `receiveDistributor.affinity` is set.
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
4900 ## @param receiveDistributor.nodeSelector Thanos Receive Distributor node labels for pod assignment
4901 ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
4904 ## @param receiveDistributor.tolerations Thanos Receive Distributor tolerations for pod assignment
4905 ## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
4908 ## @param receiveDistributor.podLabels Thanos Receive Distributor pod labels
4909 ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
4912 ## @param receiveDistributor.podAnnotations Annotations for Thanos Receive Distributor pods
4913 ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
4916 ## @param receiveDistributor.dnsConfig Deployment pod DNS config
4917 ## ref: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/
4923 ## - name: single-request-reopen
4926 ## @param receiveDistributor.dnsPolicy Deployment pod DNS policy
4927 ## ref: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/
4929 ## dnsPolicy: ClusterFirstWithHostNet
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/
4936 ## @param receiveDistributor.lifecycleHooks for the Thanos Receive Distributor container(s) to automate configuration before or after startup
4939 ## @param receiveDistributor.priorityClassName Thanos Receive Distributor priorityClassName
4940 ## ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/
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/
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
4950 topologySpreadConstraints: []
4951 ## @param receiveDistributor.automountServiceAccountToken Enable/disable auto mounting of the service account token only for the deployment
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
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
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
4993## @section Metrics parameters
4995## Prometheus metrics
4998 ## @param metrics.enabled Enable the export of Prometheus metrics
5001 ## Prometheus Operator ServiceMonitor configuration
5004 ## @param metrics.serviceMonitor.enabled Specify if a ServiceMonitor will be deployed for Prometheus Operator
5007 ## @param metrics.serviceMonitor.namespace Namespace in which Prometheus is running
5010 ## @param metrics.serviceMonitor.labels Extra labels for the ServiceMonitor
5013 ## @param metrics.serviceMonitor.jobLabel The name of the label on the target service to use as the job name in Prometheus
5016 ## @param metrics.serviceMonitor.interval How frequently to scrape metrics
5021 ## @param metrics.serviceMonitor.scrapeTimeout Timeout after which the scrape is ended
5023 ## scrapeTimeout: 10s
5026 ## @param metrics.serviceMonitor.metricRelabelings [array] Specify additional relabeling of metrics
5028 metricRelabelings: []
5029 ## @param metrics.serviceMonitor.relabelings [array] Specify general relabeling
5032 ## @param metrics.serviceMonitor.selector Prometheus instance selector labels
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
5041 ## PrometheusRule CRD configuration
5044 ## @param metrics.prometheusRule.enabled If `true`, creates a Prometheus Operator PrometheusRule (also requires `metrics.enabled` to be `true`)
5047 ## Configure prometheus rules
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
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
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
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
5118 ## @param metrics.prometheusRule.additionalLabels Additional labels for the prometheusRule
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.
5124 ## - name: Compactor
5126 ## - alert: ThanosCompactMultipleRunning
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
5134 ## severity: warning
5136## @section Volume Permissions parameters
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
5143 ## @param volumePermissions.enabled Enable init container that changes the owner/group of the PV mount point to `runAsUser:fsGroup`
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
5155 repository: chainguard-private/os-shell-iamguarded
5158 ## ref: https://kubernetes.io/docs/concepts/containers/images/#pre-pulled-images
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/
5166 ## - myRegistryKeySecretName
5169## @section MinIO® chart parameters
5171 ## @param minio.enabled Enable/disable MinIO® chart installation
5172 ## to be used as an objstore for Thanos
5175 ## MinIO® authentication parameters
5178 ## @param minio.auth.rootUser MinIO® root username
5181 ## @param minio.auth.rootPassword Password for MinIO® root user
5184 ## @param minio.defaultBuckets Comma, semi-colon or space separated list of MinIO® buckets to create
5186 defaultBuckets: "thanos"
5187 ## MinIO® 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).
5195 resourcesPreset: "micro"
5196 ## @param minio.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
5209 repository: chainguard-private/minio-iamguarded
5210 tag: 0.20261123.001037
5214 repository: chainguard-private/minio-client-iamguarded
5215 tag: 0.20250813.083541
5217 defaultInitContainers:
5221 repository: chainguard-private/os-shell-iamguarded
5224 ## @param minio.console.enabled Enable MinIO® Console