infra/k8s/operators/kube-prometheus/prometheus-patch.yaml
Finn 7ec613d27f
All checks were successful
/ diff-and-deploy (push) Successful in 2m0s
set prom retention by size on disk
2024-11-01 18:03:24 -07:00

35 lines
723 B
YAML

- op: add
path: /spec/storage
value:
volumeClaimTemplate:
spec:
resources:
requests:
storage: 40Gi
- op: add
path: /spec/additionalScrapeConfigs
value:
key: scrape-configs.yaml
name: additional-scrape-configs
optional: true
- op: add
path: /spec/secrets
value: [scrape-secrets]
- op: add
path: /spec/externalUrl
value: https://prometheus.k8s.home.finn.io
- op: add
path: /spec/thanos
value:
image: quay.io/thanos/thanos:v0.36.0
objectStorageConfig:
key: thanos.yaml
name: thanos-objstore
- op: add
path: /spec/storage
value:
volumeClaimTemplate:
spec:
resources:
requests:
storage: 50Gi