FEAT(applications): enable HA with replica 2 and soft anti-affinity

- Add replicaCount: 2 to docusaurus, headlamp, homer, mas, umami
- Add soft pod anti-affinity for node distribution
- Enable high availability across multiple nodes
This commit is contained in:
2026-01-08 12:46:58 +09:00
parent 17cce6ed23
commit fd1548c70c
5 changed files with 57 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
# Headlamp Helm Values
replicaCount: 1
replicaCount: 2
image:
registry: ghcr.io
@@ -52,3 +52,14 @@ config:
name: headlamp-oidc
extraArgs:
- -oidc-skip-tls-verify
# Affinity - Soft Anti-Affinity to spread pods across nodes
affinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
podAffinityTerm:
labelSelector:
matchLabels:
app.kubernetes.io/name: headlamp
topologyKey: kubernetes.io/hostname