Repository navigation
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 |
|
Understood. Shouldn't this flag be removed from the agents altogether then? |
|
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. |
|
Great. I think we can close this then. |
Uh oh!
There was an error while loading. Please reload this page.
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=nonedoesn't work.--no-flannelis 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)
All reactions