Skip to content

Option to use bird backend (iow BGP) for Calico when deploying cluster with Canal CNI plugin #5486

@agrevtsev

Description

@agrevtsev

Is your feature request related to a problem? Please describe.

I tried to use BGP to publish LoadBalancer service on RKE2 cluster, deployed with Canal CNI plugin. To achieve that i:

  1. Created Calico BGPConfiguration CR
  2. Created Calico BGPPeer CR
  3. Altered rke2-canal HelmChartConfig so Calico would use networkingBackend: bird

and then realised that such functionality were partially stripped out from hardened-calico docker image. And finally, after altering and rebuilding hardened-calico image, and altering calico-node ClusterRole, i managed to establish BGP peering.
My question - is such option stripped out on purpose? I like simplicity and robustness of Calico+Flannel solution, especially in multi-homed configuration, but in that case i also missed BGP peering option.

Describe the solution you'd like

Is it possible to add (IOW, return) such functionality into Canal CNI? Or am i overlooked something?

Describe alternatives you've considered

Probably MetalLB in BGP mode could help here, or migration to Cilium CNI.

Additional context

I prepared PRs which restores mentioned functionality.
rancher/image-build-calico#62
rancher/rke2-charts#412

Thank you!
Br, Alexey

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions