-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Level rke2-flannel CNI plugin config with k3s #556
base: main-source
Are you sure you want to change the base?
Conversation
@rbrtbnfgl any concern? Mine is only with rke2-windows but it does not use the chart option for the config, so it should not affect it |
lgtm but there appear to be issues with the packageversion |
Happy to fix if I did the version bump wrong |
This change follows how k3s configures flannel mostly, including adding the `bandwidth` plugin, except for leaving the cni version the same. Most importantly and the main reason for this change, this adds `"forceAddress": true` to handle when the `cni0` interface, `/run/flannel/subnet.env`, and node's podCIDR don't match, without requiring an rke2 service restart/ manual `cni0` intervention.
@Apsu is it ok if we add this in the December release? We are already moving Flannel one minor version in the November release. I don't expect any problem but it's certainly a potential source of problems |
Oh no problem at all. Thanks for being cautious! |
I created an issue in RKE2 to track missing bandwidth plugin support: rancher/rke2#7244 |
This change follows how k3s configures flannel mostly, including adding the
bandwidth
plugin, except for leaving the cni version the same.Most importantly and the main reason for this change, this adds
"forceAddress": true
to handle when thecni0
interface,/run/flannel/subnet.env
, and node'spodCIDR
don't match, without requiring an rke2 service restart/manualcni0
intervention.Reference: https://github.com/k3s-io/k3s/blob/master/pkg/agent/flannel/setup_linux.go
Issue:
bandwidth
CNI plugin) does not work withcni: flannel
rke2#7244