Files
observability/alertmanager/helm-values.yaml
Mayne0213 470a08f78a CHORE(repo): switch to emptyDir with sizeLimit
- Add sizeLimit 2Gi to loki emptyDir
- Add sizeLimit 2Gi to tempo emptyDir
- Change prometheus from PVC to emptyDir 5Gi
- Change alertmanager from PVC to emptyDir 500Mi
2026-01-09 21:42:35 +09:00

49 lines
1.0 KiB
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
# Use emptyDir instead of PVC (alert state is temporary)
persistence:
enabled: false
extraVolumes:
- name: storage
emptyDir:
sizeLimit: 500Mi
extraVolumeMounts:
- name: storage
mountPath: /alertmanager
resources:
requests:
cpu: 15m
memory: 100Mi
limits:
memory: 100Mi
# 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