digitalocean / k8s-staticroute-operator

Create static routes for your k8s nodes using CRDs.
52 stars 11 forks source link

Multipath routing support #18

Open v-ctiutiu opened 2 years ago

v-ctiutiu commented 2 years ago

Background

By using multipath routing, one can specify multiple next hops for a given destination. This setup requires at least 2 gateways.

In theory, this approach has two advantages:

  1. Resiliency to failure. If one gateway goes down, the other should take its place.
  2. Increased bandwidth requirements.
  3. Some kind of load balancing effect at the network level.

I think that multipath routing was created mostly to achieve some kind of traffic balancing over 2 different network interfaces on the same system (machine). Need to check first and see if it's applicable for our use case.

Proposal

Good reference to study first is available here. Next, check Pyroute2 library multipath support.

moovs commented 1 year ago

really waiting for this guys..

Jayd603 commented 9 months ago

Bump - same here. Ability to add multiple destinations for the same route and set weights would be nice. I have a work around for my application but it took some work and it's still not as solid as if it were done within this operator.