diff --git a/apps/base/farrisilk/metabase.yaml b/apps/base/farrisilk/metabase.yaml index 4cc9330..b8653e2 100644 --- a/apps/base/farrisilk/metabase.yaml +++ b/apps/base/farrisilk/metabase.yaml @@ -87,7 +87,8 @@ spec: cpu: 250m memory: 1Gi limits: - cpu: "2" + # Capped with the main Metabase: see apps/base/metabase/deployment.yaml + cpu: "1" memory: 2Gi --- apiVersion: v1 diff --git a/apps/base/forgejo/runner-amd64.yaml b/apps/base/forgejo/runner-amd64.yaml index 7fa6dba..459971e 100644 --- a/apps/base/forgejo/runner-amd64.yaml +++ b/apps/base/forgejo/runner-amd64.yaml @@ -117,6 +117,11 @@ spec: cpu: 200m memory: 512Mi limits: + # Hard ceiling on CI burst draw: siriussec is a laptop on a 15 W + # USB-C supply, and dind previously had no CPU limit, so one + # Android/x86_64 build could pin all 8 threads (~25 W package) + # and drain the battery faster than the adapter refills it. + cpu: 3 memory: 4Gi - name: runner image: code.forgejo.org/forgejo/runner:5.0.1 diff --git a/apps/base/metabase/deployment.yaml b/apps/base/metabase/deployment.yaml index d7c6fd2..2536dc6 100644 --- a/apps/base/metabase/deployment.yaml +++ b/apps/base/metabase/deployment.yaml @@ -79,5 +79,9 @@ spec: cpu: 250m memory: 1Gi limits: - cpu: "2" + # 2 → 1: two Metabase JVMs on the gateway node could together + # burst to 4 threads on a 15 W adapter. 1 core each keeps the + # node inside its power budget; UI latency is unaffected at this + # query volume. + cpu: "1" memory: 2Gi