Replies: 4 comments
-
Like other cluster-wide configuration variables (cluster-cidr, pod-cidr, etc) the flannel configuration is set server-side and propagated to agents. If you set Ref: k3s/pkg/agent/config/config.go Line 420 in 136dddc k3s/pkg/agent/config/config.go Lines 495 to 496 in 136dddc |
Beta Was this translation helpful? Give feedback.
-
Understood. Shouldn't this flag be removed from the agents altogether then? |
Beta Was this translation helpful? Give feedback.
-
It's deprecated (and documented as such) but not removed so that folks that started using it before we refactored the logic don't see agents crash due to invalid CLI flags when they upgrade. |
Beta Was this translation helpful? Give feedback.
-
Great. I think we can close this then. |
Beta Was this translation helpful? Give feedback.
-
Environmental Info:
K3s Version: 1.21.0+k3s1
Node(s) CPU architecture, OS, and Version:
x86_64, NixOS 21.11
Cluster Configuration:
3 servers, 83 agents
Describe the bug:
--flannel-backend=none
doesn't work.--no-flannel
is deprecated but works.Steps To Reproduce:
Expected behavior:
Actual behavior:
The non-deprecated flag doesn't work, but the deprecated one does.
cc @rissson @lportemo (my fellow colleagues)
Beta Was this translation helpful? Give feedback.
All reactions