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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user