#2554·flannel

Stale route accumulation

Author: aadarsh-mohtaCreated Sep 2, 2026Updated Sep 2, 2026

Hi folks trying to understand around one issue. If flannel is down on a node then it misses all events. So lets say if a peer node is deleted then flannel will miss removing its route from the route table. Now lets say when flannel comes back up it will process all node add events and then add the routes but the previous stale routes are not deleted. This can potentially create two routes for the same peer and also if the stale route clashes with cni0 then networking on the node is broken. Should there be some mechanism in flannel to clean the stale routes on startup ?