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.
This commit is contained in:
2026-08-19 19:31:08 +00:00
parent a21b4a1ff2
commit b199b07a92
2 changed files with 5 additions and 2 deletions
+4 -1
View File
@@ -26,7 +26,10 @@ replicaCount:
hpa:
backend:
enabled: true
minReplicas: 1
# 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:
+1 -1
View File
@@ -8,7 +8,7 @@ spec:
sources:
- repoURL: https://xsltplayground.com/blog
chart: xslt-playground
targetRevision: 0.4.1
targetRevision: 0.4.2
helm:
releaseName: lab
valueFiles: