Files
web-apps/jovies/helm-values.yaml
Mayne0213 4d67fb64f9 FEAT(web-apps): enable HA with replica 2 and soft anti-affinity
- Add replicaCount: 2 to all web applications
- Add soft pod anti-affinity for node distribution
- Update chart template to handle affinity correctly
- Configure affinity for todo, portfolio, jovies, jotion, joossam, joossam-dev, jaejadle, jaejadle-dev
2026-01-08 13:25:46 +09:00

73 lines
1.3 KiB
YAML

# Jovies Web App Helm Values
name: jovies
image:
registry: ghcr.io
repository: mayne0213/jovies
tag: latest # Updated by ArgoCD Image Updater
pullPolicy: Always
replicaCount: 2
containerPort: 3000
service:
enabled: true
type: ClusterIP
port: 80
ingress:
enabled: true
className: traefik
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
hosts:
- host: jovies.kro.kr
paths:
- path: /
pathType: Prefix
- host: www.jovies.kro.kr
paths:
- path: /
pathType: Prefix
tls:
- secretName: jovies-tls
hosts:
- jovies.kro.kr
- www.jovies.kro.kr
resources:
requests:
memory: 100Mi
cpu: 15m
limits:
memory: 150Mi
healthCheck:
enabled: true
path: /
startupProbe:
periodSeconds: 10
failureThreshold: 30
livenessProbe:
initialDelaySeconds: 0
periodSeconds: 10
readinessProbe:
initialDelaySeconds: 0
periodSeconds: 5
env:
- name: NODE_ENV
value: production
externalSecret:
enabled: false
# Affinity - Soft Anti-Affinity to spread pods across nodes
affinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
podAffinityTerm:
topologyKey: kubernetes.io/hostname