-
Notifications
You must be signed in to change notification settings - Fork 3.4k
BGP CP: Adds Support for Multi-Pool IPAM #27100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Thanks a lot for this contribution! Could you please also take a look at the |
@rastislavs thanks for the review. I'll update the PR with a component test that covers MP IPAM. |
@rastislavs integration tests have been added, PTAL. |
Thanks a lot @danehans - looks good to me now! However, we are planing for one more refactor of the BGP CP reconcilers that should land in the next few days, could we ask you to hold on a bit more with this PR and do one more rebase once it is in? I will ping you - and link to the refactoring PR here once it is open. (CC @ldelossa @YutaroHayakawa - FYI) |
@rastislavs no worries. I noticed the introduction of the |
6ca15ef
to
a38e60f
Compare
@christarazi @rastislavs This PR is passing CI and approved by all other reviewers. PTAL when you have a moment. |
334a81a
to
572b94b
Compare
CI run failed due to |
/test |
@rastislavs thanks for the review and guidance. Commit 572b94b resolves your review feedback, PTAL. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM now, thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM for my codeowners
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since maintainers-little-helper insists 🙄
LGTM
@christarazi I created #28177 to track this issue. I plan to address this in the next community meeting. |
/ci-clustermesh |
- Adds `PodIPPoolSelector` to `CiliumBGPVirtualRouter` for defining a label selector for advertising routes from allocated IPAM pools. - Adds `LocalCiliumNodeResource ` to the BGP CP `Controller` to provide a stream of events for changes to the local CiliumNode resource. - Adds `PodIPPoolAnnouncements` to `ServerWithConfig` for holding all the announced multi-pool IPAM CIDRs. - Adds `PodIPPoolReconciler` to advertise IPAM pool CIDRs of a matching CiliumBGPPeeringPolicy. - Updates BGP CP unit and integration tests. Signed-off-by: Daneyon Hansen <daneyon.hansen@solo.io>
572b94b
to
1471ac1
Compare
/test |
/ci-ipsec-e2e |
@christarazi @rastislavs @gandro @YutaroHayakawa all reviews are approved and all CI tests are passing. Is anything else needed to merge? |
@danehans You have to do nothing. This PR is already marked as ready-to-merge by the bot. Congrats! And thanks again for your great contribution! |
Adds Support for Multi-Pool IPAM:
PodIPPoolSelector
toCiliumBGPVirtualRouter
for defining a label selector for advertising routes from allocated IPAM pools.LocalCiliumNodeResource
to the BGP CPController
to provide a stream of events for changes to the local CiliumNode resource.PodIPPoolAnnouncements
toServerWithConfig
for holding all the announced multi-pool IPAM CIDRs.PodIPPoolReconciler
to advertise IPAM pool CIDRs of a matching CiliumBGPPeeringPolicy.Fixes: #26937