CHORE(resources): set memory limits equal to memory requests

Align memory limits with memory requests for guaranteed QoS class.
- prometheus, thanos (query, storegateway, compactor)
- alertmanager, tempo, goldilocks (dashboard, controller)
- node-exporter, opentelemetry-collector, vpa, kube-state-metrics
This commit is contained in:
2026-01-09 14:05:54 +09:00
parent fd6c1952ad
commit 5089e8607d
10 changed files with 22 additions and 24 deletions

View File

@@ -20,9 +20,9 @@ loki:
ruler: loki
admin: loki
# Single binary mode with 2 replicas
# Single binary mode with 1 replica
commonConfig:
replication_factor: 2
replication_factor: 1
# Schema config
schemaConfig:
@@ -49,18 +49,16 @@ loki:
deploymentMode: SingleBinary
singleBinary:
replicas: 2
replicas: 1
persistence:
enabled: false
affinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
podAffinityTerm:
labelSelector:
matchLabels:
app.kubernetes.io/name: loki
topologyKey: kubernetes.io/hostname
# Run on master node for stability (consistent with Thanos/Tempo)
tolerations:
- key: node-role.kubernetes.io/control-plane
operator: Exists
effect: NoSchedule
nodeSelector:
node-role.kubernetes.io/control-plane: "true"
extraEnvFrom:
- secretRef:
name: minio-s3-credentials