PERF(alertmanager): add HA with 2 replicas

- Increase replicaCount from 1 to 2
- Add soft pod anti-affinity to spread across nodes
- Improve availability during node failures
This commit is contained in:
2026-01-08 18:48:09 +09:00
parent 4511fd5b2e
commit 7ed4d69c51

View File

@@ -3,6 +3,19 @@
fullnameOverride: alertmanager
replicaCount: 2
# Soft anti-affinity to spread pods across nodes
affinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
podAffinityTerm:
labelSelector:
matchLabels:
app.kubernetes.io/name: alertmanager
topologyKey: kubernetes.io/hostname
persistence:
enabled: true
size: 1Gi