Skip to content

Commit

Permalink
fix: gateway unavailable in dind environment
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
yangkaa committed Jun 6, 2023
1 parent 25e0240 commit ed755d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dind.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ed755d5

Please sign in to comment.