Files
gitops/apps/xslt-lab/values.yaml
T
claude-code b199b07a92 xslt-lab: chart 0.4.2 (backend resources) and a second backend replica
The chart now declares resources for the backend container, which runs three
JVMs adding up to 512 MB of heap: it had been living on a manual kubectl patch
of 256Mi and was OOMKilled five times a day. minReplicas goes to 2 for the same
reason the frontend did — a restarting pod should not be the whole service.
2026-08-19 19:31:08 +00:00

61 lines
1.7 KiB
YAML

adsTxt: "google.com, pub-1549720748100858, DIRECT, f08c47fec0942fa0"
firebase:
enabled: false
frontend:
backendUrl: https://backend.xsltplayground.com
clarityId: wbgumqnbrz
feedbackWebhookUrl: https://n8n.alexandre-vazquez.cloud/webhook/xslt-feedback
googleAnalyticsId: G-SHRCV4WZP8
image:
backend:
repository: ghcr.io/alexandrev/xslt-playground-backend
tag: latest
pullPolicy: Always
frontend:
repository: ghcr.io/alexandrev/xslt-playground-frontend
tag: latest
pullPolicy: Always
replicaCount:
backend: 1
frontend: 1
hpa:
backend:
enabled: true
# Same reasoning as the frontend below: one backend pod is a SPOF, and this
# one was being OOMKilled several times a day, so "the only replica is
# restarting" was not hypothetical.
minReplicas: 2
maxReplicas: 5
targetCPUUtilizationPercentage: 80
frontend:
enabled: true
# Two replicas minimum: a single frontend pod is a SPOF and took the site
# down with 503s once. This lived only as a manual kubectl edit, so every
# ArgoCD sync reverted it — keep it here.
minReplicas: 2
maxReplicas: 5
targetCPUUtilizationPercentage: 80
ingress:
enabled: true
className: public
annotations:
external-dns.alpha.kubernetes.io/target: 192.168.1.10
nginx.ingress.kubernetes.io/use-forwarded-headers: "true"
hosts:
- host: xsltplayground.com
paths:
- path: /
pathType: Prefix
storage:
# Enables saved fiddles (short share links with revision history). The same
# shared Postgres that Umami uses; credentials in pass: homelab/xsltfiddle-db-password.
enabled: true
databaseUrl: postgres://xsltfiddle:qRLQl52IZp5GOfqAAtCiAHnb6v6f@192.168.1.29:5432/xsltfiddle?sslmode=disable