infra/k8s/operators/kube-prometheus/prometheus-patch.yaml

31 lines
627 B
YAML
Raw Permalink Normal View History

2024-11-02 01:03:24 +00:00
- op: add
path: /spec/storage
value:
volumeClaimTemplate:
spec:
resources:
requests:
storage: 50Gi
- op: add
path: /spec/additionalScrapeConfigs
value:
key: scrape-configs.yaml
name: additional-scrape-configs
optional: true
- op: add
path: /spec/externalUrl
value: https://prometheus.k8s.home.finn.io
- op: add
path: /spec/retention
value: 72h
- op: add
path: /spec/secrets
value: [scrape-secrets]
- op: add
path: /spec/thanos
value:
image: quay.io/thanos/thanos:v0.36.1
objectStorageConfig:
key: thanos.yaml
name: thanos-objstore