From f82fc1252cba38f5e305ddfc2ee08bf64f63fa5c Mon Sep 17 00:00:00 2001 From: Ryan Moon Date: Fri, 3 Apr 2026 07:23:43 -0500 Subject: [PATCH] fix: move dind wait into runner container command to fix init deadlock --- runner/deployment.yaml | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/runner/deployment.yaml b/runner/deployment.yaml index 85a367c..b72715d 100644 --- a/runner/deployment.yaml +++ b/runner/deployment.yaml @@ -21,18 +21,10 @@ spec: - ip: 10.245.189.80 hostnames: - git.lunarfront.tech - initContainers: - - name: wait-for-dind - image: docker:cli - command: ["sh", "-c", "until docker info > /dev/null 2>&1; do echo 'waiting for dind...'; sleep 2; done"] - env: - - name: DOCKER_HOST - value: tcp://localhost:2375 - - name: DOCKER_TLS_VERIFY - value: "0" containers: - name: runner image: gitea/act_runner:latest + command: ["sh", "-c", "until docker info > /dev/null 2>&1; do echo 'waiting for dind...'; sleep 2; done && exec /usr/local/bin/act_runner daemon"] resources: requests: cpu: 100m