Update prometheus

This commit is contained in:
Jonny Ervine 2026-04-16 21:34:09 +08:00
parent 8ed80bfe6b
commit b8a4d13e3d

View File

@ -3294,7 +3294,7 @@ prometheus:
prometheusSpec: prometheusSpec:
## If true, pass --storage.tsdb.max-block-duration=2h to prometheus. This is already done if using Thanos ## If true, pass --storage.tsdb.max-block-duration=2h to prometheus. This is already done if using Thanos
## ##
disableCompaction: false disableCompaction: true
## APIServerConfig ## APIServerConfig
## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#apiserverconfig ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#apiserverconfig
## ##
@ -3394,7 +3394,9 @@ prometheus:
## External labels to add to any time series or alerts when communicating with external systems ## External labels to add to any time series or alerts when communicating with external systems
## ##
externalLabels: {} externalLabels:
cluster: home
prometheus: kube-prometheus-stack
## enable --web.enable-remote-write-receiver flag on prometheus-server ## enable --web.enable-remote-write-receiver flag on prometheus-server
## ##
@ -3827,7 +3829,11 @@ prometheus:
## This is experimental and may change significantly without backward compatibility in any release. ## This is experimental and may change significantly without backward compatibility in any release.
## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#thanosspec ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#thanosspec
## ##
thanos: {} thanos:
objectStorageConfig:
existingSecret:
name: thanos-objstore
key: objstore.yaml
# secretProviderClass: # secretProviderClass:
# provider: gcp # provider: gcp
# parameters: # parameters: