thanos fixes: set replica label and bump memory limits

This commit is contained in:
Finn 2024-09-01 19:57:31 -07:00
parent 5b210cd0cd
commit ac86495db7

View file

@ -27,9 +27,11 @@ spec:
- dnssrv+_grpc._tcp.prometheus-k8s-headless.monitoring.svc - dnssrv+_grpc._tcp.prometheus-k8s-headless.monitoring.svc
- --endpoint - --endpoint
- dnssrv+_grpc._tcp.thanos-store.monitoring.svc - dnssrv+_grpc._tcp.thanos-store.monitoring.svc
- --query.replica-label
- prometheus_replica
resources: resources:
limits: limits:
memory: "128Mi" memory: 512Mi
cpu: "500m" cpu: "500m"
ports: ports:
- containerPort: 9090 - containerPort: 9090
@ -142,7 +144,7 @@ spec:
periodSeconds: 5 periodSeconds: 5
resources: resources:
limits: limits:
memory: "128Mi" memory: 512Mi
cpu: "500m" cpu: "500m"
securityContext: securityContext:
allowPrivilegeEscalation: false allowPrivilegeEscalation: false
@ -275,7 +277,7 @@ spec:
resources: resources:
limits: limits:
cpu: 500m cpu: 500m
memory: 500Mi memory: 512Mi
requests: requests:
cpu: 200m cpu: 200m
memory: 100Mi memory: 100Mi