From ac86495db7aece0354fcf698ef03cc18400dd4c5 Mon Sep 17 00:00:00 2001 From: Finn Date: Sun, 1 Sep 2024 19:57:31 -0700 Subject: [PATCH] thanos fixes: set replica label and bump memory limits --- k8s/monitoring/thanos.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/k8s/monitoring/thanos.yaml b/k8s/monitoring/thanos.yaml index bd25b79..0ab4e2f 100644 --- a/k8s/monitoring/thanos.yaml +++ b/k8s/monitoring/thanos.yaml @@ -27,9 +27,11 @@ spec: - dnssrv+_grpc._tcp.prometheus-k8s-headless.monitoring.svc - --endpoint - dnssrv+_grpc._tcp.thanos-store.monitoring.svc + - --query.replica-label + - prometheus_replica resources: limits: - memory: "128Mi" + memory: 512Mi cpu: "500m" ports: - containerPort: 9090 @@ -142,7 +144,7 @@ spec: periodSeconds: 5 resources: limits: - memory: "128Mi" + memory: 512Mi cpu: "500m" securityContext: allowPrivilegeEscalation: false @@ -275,7 +277,7 @@ spec: resources: limits: cpu: 500m - memory: 500Mi + memory: 512Mi requests: cpu: 200m memory: 100Mi