Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Newly joined nodes don't receive all routes when using RR mode #676
On an already existing kubernetes cluster with kube-router successfully running in route reflector mode (
for each new node:
Turns out the nodes previously joined to the cluster will receive routes for all the new nodes, but the new nodes will only receive routes for the "old" nodes. Restarting kube-router on the route reflector nodes solved this issue.
My troubleshooting suggested that whenever a new node joins, the rr server kube-router daemons will peer with that node right away, even before the
So the new nodes, assumed to be forming full-mesh, don't get advertisements about other new nodes.
To fix this, kube-router should watch for annotation changes on nodes, and update its internal information about which nodes are forming full-mesh, and which are joined to a RR cluster.