PERF(observability): add HA for Loki and Tempo

- Loki: replicas 1→2 with soft anti-affinity
- Tempo: replicas 1→2 with soft anti-affinity
- Thanos/Prometheus: keep replica 1

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-10 13:46:02 +09:00
parent 395c79ad9e
commit c3084225b7
3 changed files with 26 additions and 2 deletions

View File

@@ -45,10 +45,20 @@ loki:
deploymentMode: SingleBinary
singleBinary:
replicas: 1
replicas: 2
# Disable PVC - use emptyDir for WAL (data stored in MinIO)
persistence:
enabled: false
# Soft anti-affinity for HA
affinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
podAffinityTerm:
labelSelector:
matchLabels:
app.kubernetes.io/name: loki
topologyKey: kubernetes.io/hostname
extraVolumes:
- name: data
emptyDir: