Hello all. I've been using flannel in a dev k3s de...
# k3s
m
Hello all. I've been using flannel in a dev k3s deployment (using host-gw backend) and encountered one "limitation". Is currently not possible to have flannel to pass additional routes to be added when delegating to the bridge plug-in? I see that it sends one route (my cluster-cidr) to the host-local ipam, but is it possible to define additional ones? The user case is when attaching additional networks to a pod, I would like to add my service-cidr also as a route to flannel gateway to have the pod still contact k3s services through the flannel network. I thought about filling an issue for "feature request" but i am unsure if its the expected approach. edit: managed to solve it. just in case someone stumbles in this message when searching for it. You can pass an "ipam" dict to flannel (not delegates) and flannel will use it as base. Since my setup is simple (its a dev one) it worked for me defining a route large enough in it.