-
Notifications
You must be signed in to change notification settings - Fork 296
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
✨ Add implementation of Node IPAM support #1666
Conversation
Hi @tylerschultz. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/ok-to-test |
c8ec99e
to
18faa82
Compare
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.
Did an initial pass, bunch of nits apart from setting the Conditions on the VSphereVM object. Need to fully review the reconcileIPAddresses
function once, but the changes overall look good.
bb30246
to
2f8ed9e
Compare
/retest-required |
2f8ed9e
to
d9bc3d6
Compare
c22fdf9
to
9ab673d
Compare
9ab673d
to
8e11add
Compare
Apologies, the conversations were folded and I didn't see several items! All should be resolved 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 apart from a few nits.
/approve
/hold
8e11add
to
0559756
Compare
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.
Very clean, well done!
Just two small things, otherwise
/lgtm
I didn't look at tests in detail though.
0559756
to
ef3ece3
Compare
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.
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: srm09, yastij The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
lgtm pending answers to the question above |
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.
/hold
ef3ece3
to
1034ef5
Compare
- Adds `addressesFromPools` to the VSphereVM network device spec - Creates IPAddressClaims when AddressesFromPools is specified - IP addresses created by IPAM providers are assigned to vSphere machines via the VM metadata - IPv4 Gateways from IPAddresses (created by IPAM providers) are assigned to the Gateway4 field - IPv6 Gateways from IPAddresses (created by IPAM providers) are assigned to the Gateway6 field - All gateways in the same IP family assigned to a VSphereVM network device must be the same. - This implementation expects that an appropriate gateway for the IP family exists for every IPAddress that comes from an IPAM provider. - Adds the `IPAddressClaimed` Condition to provide visibility of the status of IP address acquisition - Adds the finalizer to prevent IPAMClaims from being deleted early - IPAddressClaims have an OwnerReference to VSphereVMs to ensure they are garbage-collected when the VM is deleted. Co-authored-by: Tyler Schultz <[email protected]> Co-authored-by: Christian Ang <[email protected]> Co-authored-by: Edwin Xie <[email protected]>
1034ef5
to
606f6d5
Compare
@tylerschultz: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
/unhold |
/lgtm |
Thanks all! |
What this PR does / why we need it:
addressesFromPools
to the VSphereVM network device specIPAddressClaimed
Condition to provide visibility of the status of IP address acquisitionCo-authored-by: Aidan Obley [email protected]
Co-authored-by: Tyler Schultz [email protected]
Co-authored-by: Christian Ang [email protected]
Co-authored-by: Edwin Xie [email protected]
Which issue(s) this PR fixes:
Fixes #1550
This PR implements this proposal: #1632
Special notes for your reviewer:
The e2e test will come in a separate PR. The IPAM feature requires an unreleased version of CAPI with a version of clusterctl with
--ipam-provider
flag and related IPAM CRDs. The main branch of CAPI also bumps to ginkgo v2. #1667Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.
Release note: