update thanos

This commit is contained in:
2024-06-10 00:01:57 +02:00
parent 3c71ac8411
commit 806b42874c
4 changed files with 19 additions and 42 deletions

View File

@@ -4,7 +4,7 @@ metadata:
name: prometheus
---
apiVersion: rbac.authorization.k8s.io/v1
knd: ClusterRole
kind: ClusterRole
metadata:
name: prometheus
rules:
@@ -52,26 +52,17 @@ spec:
requests:
memory: 400Mi
retention: 730d
retentionSize: 50Gi
retentionSize: 3GiB
serviceAccountName: prometheus
enableAdminAPI: false
serviceMonitorNamespaceSelector: {}
serviceMonitorSelector: {}
thanos:
version: v0.33.0
version: v0.34.1
objectStorageConfig:
# loads the config from a secret named thanos-objstore-config in the same namespace
key: thanos.yaml
name: thanos-objstore-config
volumeClaimTemplate:
metadata:
name: prometheus-data
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 50Gi
---
apiVersion: v1
kind: Service