prometheus: tweak retention and update thanos
All checks were successful
/ diff-and-deploy (push) Successful in 2m2s

This commit is contained in:
Finn 2024-11-07 11:53:02 -08:00
parent 33ad79e646
commit 677c1ac165
3 changed files with 24 additions and 32 deletions

View file

@ -9,9 +9,6 @@ resources:
- thanos.yaml
- alerts-longhorn.yaml
- matrix-alertmanager-receiver.yaml
images:
- name: quay.io/thanos/thanos
newTag: v0.36.1
secretGenerator:
- name: additional-scrape-configs
options:

View file

@ -18,7 +18,7 @@ spec:
spec:
containers:
- name: thanos-querier
image: quay.io/thanos/thanos:latest
image: quay.io/thanos/thanos:v0.36.1
args:
- query
- --http-address
@ -120,7 +120,7 @@ spec:
valueFrom:
fieldRef:
fieldPath: status.hostIP
image: quay.io/thanos/thanos:latest
image: quay.io/thanos/thanos:v0.36.1
livenessProbe:
failureThreshold: 8
httpGet:

View file

@ -1,30 +1,3 @@
- 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:
@ -33,3 +6,25 @@
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