Hey folks! I'm diving into Cilium and could really use some advice on best practices for BGP peering. In a typical setup, do you usually peer your routers or switches with all Kubernetes nodes, just the control plane nodes, or only the worker nodes? I've come across a variety of tutorials and they all seem to suggest different approaches. To give you more context, I'm working with a small 9-node k3s cluster that has 3 server nodes and 6 agent nodes, all in the same rack, and I'm trying to set this up with a single router. Any insights you can share would be greatly appreciated!
1 Answer
It might be better to peer with the LoadBalancer instead of individual nodes, right? I mean, using MetalLB could be an option, but since you’re already using Cilium, you might as well utilize their BGP peering feature too!
Totally! I'm already using Cilium for BGP peering and it's acting as my LoadBalancer. I’m just trying to figure out which k8s nodes I should be peering with. Currently, I’ve set up peering with all nodes (9 total), but I wonder if it’s more common to only connect with the worker nodes since that’s where the traffic comes in and goes out.