Closed dynastini1 closed 2 months ago
cc @manuelbuil
By looking at calico's code, it seems IP_AUTODETECTION_METHOD
is ignored when not using the tigera operator. Canal is not using the operator. However, canal is using the flannel interface for inter-node communication, so it does not really matter what interface calico picks because it will not use it. The Calico part of Canal only takes care of the intra-node communication. You can observe in the routes that you posted:
10.42.1.0/24 via 10.42.1.0 dev flannel.1 onlink
10.42.2.0/24 via 10.42.2.0 dev flannel.1 onlink
As soon as traffic is destined to a pod in another node, it will use the flannel inteface.
I guess we should remove the variable from the chart's values because it can confuse users
This repository uses a bot to automatically label issues which have not had any activity (commit/comment/label) for 45 days. This helps us manage the community issues better. If the issue is still relevant, please add a comment to the issue so the bot can remove the label and we know it is still valid. If it is no longer relevant (or possibly fixed in the latest release), the bot will automatically close the issue in 14 days. Thank you for your contributions.
Environmental Info: RKE2 Version: v1.28.9+rke2r1
Node(s) CPU architecture, OS, and Version: Linux prod-master-1 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Cluster Configuration: 3 servers, master
My servers have 2 interfaces: eth0 (public) and enp7s0 (private, 10.0.0.0/8)
Describe the bug: I what to use private iface in calico. Flannel is ok, but calico always use eth0 (cali ifaces use if2 - eth0):
I try to use this config:
And canal pod get IP_AUTODETECTION_METHOD after that config: rke2-canal-\<pod> env:
and it's doesn't helped:
Also, server ip routes:
Expected behavior: I'm using rke2-canal csi on new and empty cluster How can I change calico to use enp7s0 ifaces on cali? Thx