mirror of
https://github.com/bitnami/charts.git
synced 2026-03-04 06:47:57 +08:00
feat(extraVolumes/Mounts): addition on all compoments (#6169)
This commit is contained in:
@@ -28,4 +28,4 @@ name: thanos
|
||||
sources:
|
||||
- https://github.com/bitnami/bitnami-docker-thanos
|
||||
- https://thanos.io
|
||||
version: 3.15.1
|
||||
version: 3.16.0
|
||||
|
||||
@@ -122,7 +122,9 @@ The following tables lists the configurable parameters of the Thanos chart and t
|
||||
| `query.stores` | Store APIs to connect with Thanos Query | `[]` |
|
||||
| `query.sdConfig` | Service Discovery configuration | `nil` |
|
||||
| `query.existingSDConfigmap` | Name of existing ConfigMap with Ruler configuration | `nil` |
|
||||
| `query.extraEnv` | Extra environment variables for Thanos query container | `[]` |
|
||||
| `query.extraEnv` | Extra environment variables for Thanos query container | `[]` |
|
||||
| `query.extraVolumes` | Extra volumes to add to Thanos Query | `[]` |
|
||||
| `query.extraVolumeMounts` | Extra volume mounts to add to the query container | `[]` |
|
||||
| `query.extraFlags` | Extra Flags to passed to Thanos Query | `[]` |
|
||||
| `query.replicaCount` | Number of Thanos Query replicas to deploy | `1` |
|
||||
| `query.strategyType` | Deployment Strategy Type | `RollingUpdate` |
|
||||
@@ -213,6 +215,8 @@ The following tables lists the configurable parameters of the Thanos chart and t
|
||||
| `queryFrontend.logLevel` | Thanos Query Frontend log level | `info` |
|
||||
| `queryFrontend.logFormat` | Thanos Query Frontend log format | `logfmt` |
|
||||
| `queryFrontend.extraEnv` | Extra environment variables for Thanos Query Frontend container | `[]` |
|
||||
| `queryFrontend.extraVolumes` | Extra volumes to add to Thanos Query Frontend | `[]` |
|
||||
| `queryFrontend.extraVolumeMounts` | Extra volume mounts to add to the query-frontend container | `[]` |
|
||||
| `queryFrontend.extraFlags` | Extra Flags to passed to Thanos Query Frontend | `[]` |
|
||||
| `queryFrontend.config` | Thanos Query Frontend cache configuration | `nil` |
|
||||
| `queryFrontend.hostAliases` | Add deployment host aliases | `[]` |
|
||||
@@ -282,6 +286,8 @@ The following tables lists the configurable parameters of the Thanos chart and t
|
||||
| `bucketweb.refresh` | Refresh interval to download metadata from remote storage | `30m` |
|
||||
| `bucketweb.timeout` | Timeout to download metadata from remote storage | `5m` |
|
||||
| `bucketweb.extraEnv` | Extra environment variables for Thanos Bucket Web container | `[]` |
|
||||
| `bucketweb.extraVolumes` | Extra volumes to add to Bucket Web | `[]` |
|
||||
| `bucketweb.extraVolumeMounts` | Extra volume mounts to add to the bucketweb container | `[]` |
|
||||
| `bucketweb.extraFlags` | Extra Flags to passed to Thanos Bucket Web | `[]` |
|
||||
| `bucketweb.hostAliases` | Add deployment host aliases | `[]` |
|
||||
| `bucketweb.replicaCount` | Number of Thanos Bucket Web replicas to deploy | `1` |
|
||||
@@ -345,6 +351,8 @@ The following tables lists the configurable parameters of the Thanos chart and t
|
||||
| `compactor.retentionResolution1h` | Resolution and Retention flag | `10y` |
|
||||
| `compactor.consistencyDelay` | Minimum age of fresh blocks before they are being processed | `30m` |
|
||||
| `compactor.extraEnv` | Extra environment variables for Thanos Compactor container | `[]` |
|
||||
| `compactor.extraVolumes` | Extra volumes to add to Thanos Compactor | `[]` |
|
||||
| `compactor.extraVolumeMounts` | Extra volume mounts to add to the compactor container | `[]` |
|
||||
| `compactor.extraFlags` | Extra Flags to passed to Thanos Compactor | `[]` |
|
||||
| `compactor.hostAliases` | Add deployment host aliases | `[]` |
|
||||
| `compactor.strategyType` | Deployment Strategy Type | `RollingUpdate` |
|
||||
@@ -389,7 +397,9 @@ The following tables lists the configurable parameters of the Thanos chart and t
|
||||
| `storegateway.enabled` | Enable/disable Thanos Store Gateway component | `false` |
|
||||
| `storegateway.logLevel` | Thanos Store Gateway log level | `info` |
|
||||
| `storegateway.logFormat` | Thanos Store Gateway log format | `logfmt` |
|
||||
| `storegateway.extraEnv` | Extra environment variables for Thanos Store Gateway container | `[]` |
|
||||
| `storegateway.extraEnv` | Extra environment variables for Thanos Store Gateway container | `[]` |
|
||||
| `storegateway.extraVolumes` | Extra volumes to add to Thanos Store Gateway | `[]` |
|
||||
| `storegateway.extraVolumeMounts` | Extra volume mounts to add to the storegateway container | `[]` |
|
||||
| `storegateway.extraFlags` | Extra Flags to passed to Thanos Store Gateway | `[]` |
|
||||
| `storegateway.grpc.tls.enabled` | Enable TLS for GRPC server | `false` |
|
||||
| `storegateway.grpc.tls.cert` | TLS Certificate for gRPC server - ignored if existingSecret is provided | `nil` |
|
||||
@@ -462,6 +472,8 @@ The following tables lists the configurable parameters of the Thanos chart and t
|
||||
| `ruler.evalInterval` | The default evaluation interval to use | `1m` |
|
||||
| `ruler.clusterName` | Used to set the 'ruler_cluster' label | `nil` |
|
||||
| `ruler.extraEnv` | Extra environment variables for Thanos Ruler container | `[]` |
|
||||
| `ruler.extraVolumes` | Extra volumes to add to Thanos Ruler | `[]` |
|
||||
| `ruler.extraVolumeMounts` | Extra volume mounts to add to the ruler container | `[]` |
|
||||
| `ruler.extraFlags` | Extra Flags to passed to Thanos Ruler | `[]` |
|
||||
| `ruler.config` | Ruler configuration | `nil` |
|
||||
| `ruler.existingConfigmap` | Name of existing ConfigMap with Ruler configuration | `nil` |
|
||||
@@ -535,6 +547,8 @@ The following tables lists the configurable parameters of the Thanos chart and t
|
||||
| `receive.replicaLabel` | Label to treat as a replica indicator along which data is deduplicated | `replica` |
|
||||
| `receive.alertmanagers` | Alermanager URLs array | `[]` |
|
||||
| `receive.extraEnv` | Extra environment variables for Thanos Receive container | `[]` |
|
||||
| `receive.extraVolumes` | Extra volumes to add to Thanos Receive | `[]` |
|
||||
| `receive.extraVolumeMounts` | Extra volume mounts to add to the receive container | `[]` |
|
||||
| `receive.extraFlags` | Extra Flags to passed to Thanos Receive | `[]` |
|
||||
| `receive.hostAliases` | Add deployment host aliases | `[]` |
|
||||
| `receive.config` | Receive Hashring configuration | `[{"endpoints": [ "127.0.0.1:10901"]}]` |
|
||||
|
||||
@@ -96,6 +96,9 @@ spec:
|
||||
volumeMounts:
|
||||
- name: objstore-config
|
||||
mountPath: /conf
|
||||
{{- if .Values.bucketweb.extraVolumeMounts }}
|
||||
{{- include "common.tplvalues.render" (dict "value" .Values.bucketweb.extraVolumeMounts "context" $) | nindent 12 }}
|
||||
{{- end }}
|
||||
volumes:
|
||||
- name: objstore-config
|
||||
secret:
|
||||
@@ -103,4 +106,7 @@ spec:
|
||||
{{- if .Values.existingObjstoreSecretItems }}
|
||||
items: {{- toYaml .Values.existingObjstoreSecretItems | nindent 14 }}
|
||||
{{- end }}
|
||||
{{- if .Values.bucketweb.extraVolumes }}
|
||||
{{- include "common.tplvalues.render" (dict "value" .Values.bucketweb.extraVolumes "context" $) | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
@@ -116,6 +116,9 @@ spec:
|
||||
mountPath: /conf
|
||||
- name: data
|
||||
mountPath: /data
|
||||
{{- if .Values.compactor.extraVolumeMounts }}
|
||||
{{- include "common.tplvalues.render" (dict "value" .Values.compactor.extraVolumeMounts "context" $) | nindent 12 }}
|
||||
{{- end }}
|
||||
volumes:
|
||||
- name: objstore-config
|
||||
secret:
|
||||
@@ -130,4 +133,7 @@ spec:
|
||||
{{- else }}
|
||||
emptyDir: {}
|
||||
{{- end }}
|
||||
{{- if .Values.compactor.extraVolumes }}
|
||||
{{- include "common.tplvalues.render" (dict "value" .Values.compactor.extraVolumes "context" $) | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
@@ -98,10 +98,17 @@ spec:
|
||||
- name: cache-config
|
||||
mountPath: /conf/cache
|
||||
{{- end }}
|
||||
{{- if .Values.queryFrontend.extraVolumeMounts }}
|
||||
{{- include "common.tplvalues.render" (dict "value" .Values.queryFrontend.extraVolumeMounts "context" $) | nindent 12 }}
|
||||
{{- end }}
|
||||
volumes:
|
||||
{{- if or .Values.queryFrontend.config .Values.queryFrontend.existingConfigmap }}
|
||||
- name: cache-config
|
||||
configMap:
|
||||
name: {{ include "thanos.queryFrontend.configmapName" . }}
|
||||
{{- end }}
|
||||
{{- if .Values.queryFrontend.extraVolumes }}
|
||||
{{- include "common.tplvalues.render" (dict "value" .Values.queryFrontend.extraVolumes "context" $) | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
|
||||
@@ -154,6 +154,9 @@ spec:
|
||||
- name: tls-client
|
||||
mountPath: /tls/client
|
||||
{{- end }}
|
||||
{{- if .Values.query.extraVolumeMounts }}
|
||||
{{- include "common.tplvalues.render" (dict "value" .Values.query.extraVolumeMounts "context" $) | nindent 12 }}
|
||||
{{- end }}
|
||||
volumes:
|
||||
{{- if or (include "thanos.query.createSDConfigmap" .) $query.existingSDConfigmap }}
|
||||
- name: sd-config
|
||||
@@ -170,4 +173,8 @@ spec:
|
||||
secret:
|
||||
secretName: {{ include "common.secrets.name" (dict "existingSecret" .Values.query.grpcTLS.client.existingSecret "defaultNameSuffix" "query-tls-client" "context" $) }}
|
||||
{{- end }}
|
||||
{{- if .Values.query.extraVolumes }}
|
||||
{{- include "common.tplvalues.render" (dict "value" .Values.query.extraVolumes "context" $) | nindent 8 }}
|
||||
{{- end }}
|
||||
|
||||
{{- end }}
|
||||
|
||||
@@ -130,10 +130,16 @@ spec:
|
||||
mountPath: /var/lib/thanos-receive
|
||||
- name: data
|
||||
mountPath: /var/thanos/receive
|
||||
{{- if .Values.receive.extraVolumeMounts }}
|
||||
{{- include "common.tplvalues.render" (dict "value" .Values.receive.extraVolumeMounts "context" $) | nindent 12 }}
|
||||
{{- end }}
|
||||
volumes:
|
||||
- name: hashring-config
|
||||
configMap:
|
||||
name: {{ include "common.names.fullname" . }}-receive
|
||||
{{- if .Values.receive.extraVolumes }}
|
||||
{{- include "common.tplvalues.render" (dict "value" .Values.receive.extraVolumes "context" $) | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- if and .Values.receive.persistence.enabled .Values.receive.persistence.existingClaim }}
|
||||
- name: data
|
||||
persistentVolumeClaim:
|
||||
|
||||
@@ -139,6 +139,9 @@ spec:
|
||||
mountPath: /conf/objstore
|
||||
- name: data
|
||||
mountPath: /data
|
||||
{{- if .Values.ruler.extraVolumeMounts }}
|
||||
{{- include "common.tplvalues.render" (dict "value" .Values.ruler.extraVolumeMounts "context" $) | nindent 12 }}
|
||||
{{- end }}
|
||||
volumes:
|
||||
- name: ruler-config
|
||||
configMap:
|
||||
@@ -149,6 +152,9 @@ spec:
|
||||
{{- if .Values.existingObjstoreSecretItems }}
|
||||
items: {{- toYaml .Values.existingObjstoreSecretItems | nindent 14 }}
|
||||
{{- end }}
|
||||
{{- if .Values.ruler.extraVolumes }}
|
||||
{{- include "common.tplvalues.render" (dict "value" .Values.ruler.extraVolumes "context" $) | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- if and .Values.ruler.persistence.enabled .Values.ruler.persistence.existingClaim }}
|
||||
- name: data
|
||||
persistentVolumeClaim:
|
||||
|
||||
@@ -142,6 +142,9 @@ spec:
|
||||
- name: tls-server
|
||||
mountPath: /certs
|
||||
{{- end }}
|
||||
{{- if .Values.storegateway.extraVolumeMounts }}
|
||||
{{- include "common.tplvalues.render" (dict "value" .Values.storegateway.extraVolumeMounts "context" $) | nindent 12 }}
|
||||
{{- end }}
|
||||
volumes:
|
||||
- name: objstore-config
|
||||
secret:
|
||||
@@ -149,6 +152,9 @@ spec:
|
||||
{{- if .Values.existingObjstoreSecretItems }}
|
||||
items: {{- toYaml .Values.existingObjstoreSecretItems | nindent 14 }}
|
||||
{{- end }}
|
||||
{{- if .Values.storegateway.extraVolumes }}
|
||||
{{- include "common.tplvalues.render" (dict "value" .Values.storegateway.extraVolumes "context" $) | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- if or .Values.storegateway.config .Values.storegateway.existingConfigmap }}
|
||||
- name: cache-config
|
||||
configMap:
|
||||
|
||||
@@ -138,6 +138,14 @@ query:
|
||||
##
|
||||
extraEnv: []
|
||||
|
||||
## Extra volumes to add to Thanos Query
|
||||
##
|
||||
extraVolumes: []
|
||||
|
||||
## Extra volume mounts to add to the query container
|
||||
##
|
||||
extraVolumeMounts: []
|
||||
|
||||
## Extra Flags to passed to Thanos Query
|
||||
##
|
||||
extraFlags: []
|
||||
@@ -542,6 +550,16 @@ queryFrontend:
|
||||
##
|
||||
extraEnv: []
|
||||
|
||||
## Extra volumes to add to the Query Frontend
|
||||
##
|
||||
extraVolumes: []
|
||||
|
||||
## Extra volume mounts to add to the query-frontend container
|
||||
##
|
||||
extraVolumeMounts: []
|
||||
|
||||
## Extra Flags to passed to Thanos Query Frontend
|
||||
##
|
||||
extraFlags: []
|
||||
|
||||
## Thanos Query Frontend Cache Configuration
|
||||
@@ -856,6 +874,14 @@ bucketweb:
|
||||
##
|
||||
extraEnv: []
|
||||
|
||||
## Extra volumes to add to Bucket Web
|
||||
##
|
||||
extraVolumes: []
|
||||
|
||||
## Extra volume mounts to add to the bucketweb container
|
||||
##
|
||||
extraVolumeMounts: []
|
||||
|
||||
## Extra Flags to passed to Bucket Web
|
||||
##
|
||||
extraFlags: []
|
||||
@@ -1148,6 +1174,14 @@ compactor:
|
||||
##
|
||||
extraEnv: []
|
||||
|
||||
## Extra volumes to add to Thanos Compactor
|
||||
##
|
||||
extraVolumes: []
|
||||
|
||||
## Extra volume mounts to add to the compactor container
|
||||
##
|
||||
extraVolumeMounts: []
|
||||
|
||||
## Extra Flags to passed to Thanos Compactor
|
||||
##
|
||||
extraFlags: []
|
||||
@@ -1367,6 +1401,14 @@ storegateway:
|
||||
##
|
||||
extraEnv: []
|
||||
|
||||
## Extra volumes to add to Thanos Store Gateway
|
||||
##
|
||||
extraVolumes: []
|
||||
|
||||
## Extra volume mounts to add to the storegateway container
|
||||
##
|
||||
extraVolumeMounts: []
|
||||
|
||||
## Extra Flags to passed to Thanos Store Gateway
|
||||
##
|
||||
extraFlags: []
|
||||
@@ -1688,6 +1730,14 @@ ruler:
|
||||
##
|
||||
extraEnv: []
|
||||
|
||||
## Extra volumes to add to Thanos Ruler
|
||||
##
|
||||
extraVolumes: []
|
||||
|
||||
## Extra volume mounts to add to the ruler container
|
||||
##
|
||||
extraVolumeMounts: []
|
||||
|
||||
## Extra Flags to passed to Thanos Ruler
|
||||
##
|
||||
extraFlags: []
|
||||
@@ -2034,6 +2084,14 @@ receive:
|
||||
##
|
||||
extraEnv: []
|
||||
|
||||
## Extra volumes to add to Thanos Receive
|
||||
##
|
||||
extraVolumes: []
|
||||
|
||||
## Extra volume mounts to add to the receive container
|
||||
##
|
||||
extraVolumeMounts: []
|
||||
|
||||
## Extra Flags to passed to Thanos Receive
|
||||
##
|
||||
extraFlags: []
|
||||
|
||||
Reference in New Issue
Block a user