diff --git a/apps/base/forgejo/runner-deploy-arm64.yaml b/apps/base/forgejo/runner-deploy-arm64.yaml index d740c8a..0ee54ac 100644 --- a/apps/base/forgejo/runner-deploy-arm64.yaml +++ b/apps/base/forgejo/runner-deploy-arm64.yaml @@ -281,4 +281,17 @@ spec: persistentVolumeClaim: claimName: forgejo-runner-deploy-arm64-dind - name: dind-run - emptyDir: {} + # tmpfs on purpose, NOT the default disk-backed emptyDir: under Kata a + # disk emptyDir is a virtiofs share, and a unix socket created on + # virtiofs is visible to the other containers in the pod but + # unconnectable. Measured 2026-11-27: the runner crashlooped on + # `cannot ping the docker daemon ... unix:///var/run/docker.sock` + # although `ls -l` showed the socket `srw-rw---- root:1000`, while the + # dind sidecar's own `docker version` on the same path worked. A + # memory-backed emptyDir is a tmpfs inside the guest, so the socket is + # a real inode the runner and the job containers can both connect to, + # and the existing `-v /var/run/docker.sock` job option keeps working. + # 64Mi holds the socket, the `dind-ready` marker and nothing else. + emptyDir: + medium: Memory + sizeLimit: 64Mi