From a3a2c600d61cae2d5311a98165c19b4fd5699ee2 Mon Sep 17 00:00:00 2001 From: Sirius DevOps Date: Sat, 12 Sep 2026 01:25:51 -0400 Subject: [PATCH] forgejo amd64 runner: capacity 1 and dockerd --mtu=1420 Two concurrent x86_64 builds on the dind daemon made the second one's egress fail (apt looping on Ign: for Debian InRelease) while a single build on the same daemon succeeded. Serialize the amd64 runner, and match the docker bridge MTU to the pod's 1420 so containers stop assuming a 1500-byte path. --- apps/base/forgejo/runner-amd64.yaml | 2 +- apps/base/forgejo/runner-configmap.yaml | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/apps/base/forgejo/runner-amd64.yaml b/apps/base/forgejo/runner-amd64.yaml index b6384af..54813f6 100644 --- a/apps/base/forgejo/runner-amd64.yaml +++ b/apps/base/forgejo/runner-amd64.yaml @@ -76,7 +76,7 @@ spec: - sh - -c - | - dockerd --host=unix:///var/run/docker.sock --tls=false & + dockerd --host=unix:///var/run/docker.sock --tls=false --mtu=1420 & pid=$! i=0 while [ "$i" -lt 30 ]; do diff --git a/apps/base/forgejo/runner-configmap.yaml b/apps/base/forgejo/runner-configmap.yaml index 8cfa3bd..e11e3c1 100644 --- a/apps/base/forgejo/runner-configmap.yaml +++ b/apps/base/forgejo/runner-configmap.yaml @@ -28,7 +28,11 @@ data: level: info runner: file: /data/runner.ini - capacity: 2 + # capacity 1: the dind daemon on this runner holds the release/CI build + # containers and images. Two concurrent x86_64 builds on it made the + # *second* build's egress fail (apt looping on "Ign:" for Debian + # InRelease) while a single build on the same daemon succeeded. + capacity: 1 timeout: 1h cache: /data/cache cache: