kubespray icon indicating copy to clipboard operation
kubespray copied to clipboard

change the default of calico_network_backend to bird

Open weizhoublue opened this issue 2 years ago • 2 comments

Signed-off-by: [email protected] [email protected]

What type of PR is this? /kind bug

What this PR does / why we need it: fix communication issue when enable ipv6 vxlan of calico CNI

Which issue(s) this PR fixes: According to my test, when set calico_network_backend to be vxlan and enable dual-stack IP family, each node does not take effect the block route for pods of other nodes, so it fails to communicate the IPv6 address of pod on other nodes

if calico_network_backend set to be bird, seems every tunnel case works fine, including ipip and vxlan for IPv4 and IPv6

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

fails to communicate IPv6 address of pod  when enable calico ipv6 vxlan  

weizhoublue avatar Sep 22 '22 14:09 weizhoublue

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: weizhoublue Once this PR has been reviewed and has the lgtm label, please assign oomichi for approval by writing /assign @oomichi in a comment. For more information see:The Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment Approvers can cancel approval by writing /approve cancel in a comment

k8s-ci-robot avatar Sep 22 '22 14:09 k8s-ci-robot

Hi @weizhoublue. Thanks for your PR.

I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

k8s-ci-robot avatar Sep 22 '22 14:09 k8s-ci-robot

@cristicalin isn't vxlan the recommanded configuration by calico team as stated in https://github.com/kubernetes-sigs/kubespray/pull/8434 ?

floryut avatar Sep 22 '22 20:09 floryut

https://github.com/kubernetes-sigs/kubespray/pull/8434 mentioned to use vxlan tunnel, exactly, vxlan tunnel is actually a better configuration for most network environment, and my PR still keep vxlan tunnel "calico_vxlan_mode: Always".

I will test again and double-check , close the PR firstly

weizhoublue avatar Sep 22 '22 23:09 weizhoublue