Merge pull request #80 from wt/t_8aa4af50-kata-tmpfs into master

This commit is contained in:
sirius 2026-11-27 07:14:45 +00:00
commit 8956ee362d

View file

@ -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