Files
applications/umami/helm-values.yaml
Mayne0213 3bc0b76135 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 23:07:30 +09:00

73 lines
1.2 KiB
YAML

fullnameOverride: umami
image:
tag: postgresql-latest
# Disable PostgreSQL subchart (using external PostgreSQL)
postgresql:
enabled: false
# External database configuration
externalDatabase:
type: postgresql
hostname: postgresql-rw.postgresql.svc.cluster.local
port: 5432
auth:
database: umami
username: bluemayne
# Password is managed via External Secrets Operator (Vault)
# Use existing secret for sensitive data
database:
existingSecret: umami-password
# Environment variables from secret
envFrom:
- secretRef:
name: umami-password
# Disable login (using Authelia for authentication)
env:
DISABLE_LOGIN: "1"
ingress:
enabled: false # Will use our main ingress
service:
type: ClusterIP
port: 3000
resources:
requests:
cpu: 15m
memory: 384Mi
limits:
cpu: 23m
memory: 576Mi
replicaCount: 1
# Autoscaling
autoscaling:
enabled: false
minReplicas: 1
maxReplicas: 4
targetCPUUtilizationPercentage: 80
# Health checks
livenessProbe:
enabled: true
httpGet:
path: /api/heartbeat
port: 3000
initialDelaySeconds: 30
periodSeconds: 10
readinessProbe:
enabled: true
httpGet:
path: /api/heartbeat
port: 3000
initialDelaySeconds: 10
periodSeconds: 5