From b199b07a92865c1790b9d72be69b8e323174f2be Mon Sep 17 00:00:00 2001 From: claude-code Date: Wed, 19 Aug 2026 19:31:08 +0000 Subject: [PATCH] xslt-lab: chart 0.4.2 (backend resources) and a second backend replica MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- apps/xslt-lab/values.yaml | 5 ++++- argocd/applications/xslt-lab.yaml | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/apps/xslt-lab/values.yaml b/apps/xslt-lab/values.yaml index e163fb8..e7abae5 100644 --- a/apps/xslt-lab/values.yaml +++ b/apps/xslt-lab/values.yaml @@ -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: diff --git a/argocd/applications/xslt-lab.yaml b/argocd/applications/xslt-lab.yaml index 18bd5ea..c4fcc88 100644 --- a/argocd/applications/xslt-lab.yaml +++ b/argocd/applications/xslt-lab.yaml @@ -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: