Files
observability/alertmanager/helm-values.yaml
Mayne0213 7ed4d69c51 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
2026-01-09 21:41:52 +09:00

41 lines
888 B
YAML

# Alertmanager Helm Values
# Chart: https://github.com/prometheus-community/helm-charts/tree/main/charts/alertmanager
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
storageClass: local-path
resources:
requests:
cpu: 15m
memory: 100Mi
limits:
memory: 150Mi
# Disable default config - use secret instead
config:
enabled: false
# Mount config from ExternalSecret
extraSecretMounts:
- name: alertmanager-config
mountPath: /etc/alertmanager
secretName: alertmanager-config
readOnly: true