From ed755d5f3e0ba58c6f7c73517fcd7cd6cdc5ec8e Mon Sep 17 00:00:00 2001 From: yangkaa <30614084+yangkaa@users.noreply.github.com> Date: Tue, 6 Jun 2023 11:41:43 +0800 Subject: [PATCH] fix: gateway unavailable in dind environment In a dind environment, if a Service of type LoadBalance is created, all gateway rules will not take effect. This is due to the servicelb hijacking traffic that comes with K3s. --- dind.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dind.conf b/dind.conf index f241fd1b8f..a3e03d66f4 100644 --- a/dind.conf +++ b/dind.conf @@ -12,7 +12,7 @@ [program:k3s] directory=/app/ -command=/usr/local/bin/k3s server --disable traefik --node-name node --data-dir /app/data/k3s --pause-image rainbond/mirrored-pause:3.1 +command=/usr/local/bin/k3s server --disable servicelb --disable traefik --node-name node --data-dir /app/data/k3s --pause-image rainbond/mirrored-pause:3.1 user=root autostart=false autorestart=true