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

@@ -26,7 +26,7 @@ resources:
cpu: 15m cpu: 15m
memory: 100Mi memory: 100Mi
limits: limits:
memory: 150Mi memory: 100Mi
# Disable default config - use secret instead # Disable default config - use secret instead
config: config:

View File

@@ -11,7 +11,7 @@ dashboard:
cpu: 15m cpu: 15m
memory: 100Mi memory: 100Mi
limits: limits:
memory: 150Mi memory: 100Mi
service: service:
type: ClusterIP type: ClusterIP
@@ -54,7 +54,7 @@ controller:
cpu: 15m cpu: 15m
memory: 100Mi memory: 100Mi
limits: limits:
memory: 150Mi memory: 100Mi
# Enable VPA recommendations for all namespaces # Enable VPA recommendations for all namespaces
# Set to false to only monitor namespaces with the label: goldilocks.fairwinds.com/enabled=true # Set to false to only monitor namespaces with the label: goldilocks.fairwinds.com/enabled=true

View File

@@ -12,7 +12,7 @@ resources:
cpu: 15m cpu: 15m
memory: 100Mi memory: 100Mi
limits: limits:
memory: 150Mi memory: 100Mi
# Schedule on control-plane node # Schedule on control-plane node
nodeSelector: nodeSelector:

View File

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

View File

@@ -11,7 +11,7 @@ resources:
cpu: 15m cpu: 15m
memory: 64Mi memory: 64Mi
limits: limits:
memory: 96Mi memory: 64Mi
service: service:
type: ClusterIP type: ClusterIP

View File

@@ -28,7 +28,7 @@ resources:
cpu: 25m cpu: 25m
memory: 64Mi memory: 64Mi
limits: limits:
memory: 256Mi memory: 64Mi
# ============================================================================= # =============================================================================
# Tolerations (run on all nodes including master) # Tolerations (run on all nodes including master)

View File

@@ -86,7 +86,7 @@ prometheus:
cpu: 50m cpu: 50m
memory: 512Mi memory: 512Mi
limits: limits:
memory: 768Mi memory: 512Mi
# ServiceMonitor 자동 발견 - 모든 ServiceMonitor 선택 # ServiceMonitor 자동 발견 - 모든 ServiceMonitor 선택
serviceMonitorSelectorNilUsesHelmValues: false serviceMonitorSelectorNilUsesHelmValues: false

View File

@@ -23,7 +23,7 @@ resources:
cpu: 50m cpu: 50m
memory: 128Mi memory: 128Mi
limits: limits:
memory: 512Mi memory: 128Mi
# ============================================================================= # =============================================================================
# Tempo Configuration # Tempo Configuration

View File

@@ -56,7 +56,7 @@ query:
cpu: 15m cpu: 15m
memory: 128Mi memory: 128Mi
limits: limits:
memory: 256Mi memory: 128Mi
# ============================================================================= # =============================================================================
# Query Frontend - Caching layer for Query (optional, disabled for small cluster) # Query Frontend - Caching layer for Query (optional, disabled for small cluster)
@@ -84,7 +84,7 @@ storegateway:
cpu: 15m cpu: 15m
memory: 128Mi memory: 128Mi
limits: limits:
memory: 512Mi memory: 128Mi
persistence: persistence:
enabled: true enabled: true
@@ -115,7 +115,7 @@ compactor:
cpu: 15m cpu: 15m
memory: 128Mi memory: 128Mi
limits: limits:
memory: 512Mi memory: 128Mi
persistence: persistence:
enabled: true enabled: true

View File

@@ -11,7 +11,7 @@ recommender:
cpu: 15m cpu: 15m
memory: 128Mi memory: 128Mi
limits: limits:
memory: 192Mi memory: 128Mi
# Schedule on control-plane node # Schedule on control-plane node
nodeSelector: nodeSelector: