From 455797745cd7459a568841543118bb1f4ff38aee Mon Sep 17 00:00:00 2001 From: Will Anderson Date: Tue, 24 Mar 2026 13:20:44 -0500 Subject: [PATCH] fix: runner container network=host for k8s DNS resolution Job containers use bridge network by default, so they can't resolve gitea.git.svc.cluster.local. host network inherits k3s host routing which can reach cluster service IPs directly. --- servers/legion/apps/gitea-runner.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/legion/apps/gitea-runner.yaml b/servers/legion/apps/gitea-runner.yaml index 2f4d1c0..5e0227e 100644 --- a/servers/legion/apps/gitea-runner.yaml +++ b/servers/legion/apps/gitea-runner.yaml @@ -35,7 +35,7 @@ spec: envs: {} timeout: 3h container: - network: bridge + network: host docker_host: "unix:///var/run/docker.sock" force_pull: false EOF