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