Files
web-apps/jotion/helm-values.yaml
Mayne0213 8efe4bf338 PERF(repo): apply CPU/Memory limits based on VPA
- Set CPU request to VPA recommendation
- Set CPU limit to VPA × 1.5 for burst allowance
- Set Memory limit to VPA × 1.5 to prevent OOM
- Prevent cascading failure on node failure
2026-01-07 22:58:48 +09:00

83 lines
1.4 KiB
YAML

# Jotion Web App Helm Values
name: jotion
image:
registry: ghcr.io
repository: mayne0213/jotion
tag: latest
pullPolicy: Always
imagePullSecrets:
- name: ghcr-secret
replicaCount: 1
containerPort: 3000
service:
enabled: true
type: ClusterIP
port: 80
ingress:
enabled: true
className: traefik
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
hosts:
- host: jotion0213.kro.kr
paths:
- path: /
pathType: Prefix
- host: www.jotion0213.kro.kr
paths:
- path: /
pathType: Prefix
tls:
- secretName: jotion-tls
hosts:
- jotion0213.kro.kr
- www.jotion0213.kro.kr
resources:
requests:
memory: 128Mi
cpu: 15m
limits:
memory: 192Mi
cpu: 23m
healthCheck:
enabled: true
path: /api/health
livenessProbe:
initialDelaySeconds: 30
periodSeconds: 10
readinessProbe:
initialDelaySeconds: 5
periodSeconds: 5
env:
- name: NODE_ENV
value: production
- name: DATABASE_URL
valueFrom:
secretKeyRef:
name: jotion-secrets
key: database-url
externalSecret:
enabled: true
refreshInterval: 1h
secretStoreRef:
name: vault-backend
kind: ClusterSecretStore
target:
creationPolicy: Owner
deletionPolicy: Retain
data:
- secretKey: database-url
remoteRef:
key: jotion
property: DATABASE_URL