-
Notifications
You must be signed in to change notification settings - Fork 179
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
Replace IPPool with IPAddressAllocation API to Claim Pod CIDR in the VPC network #1152
Replace IPPool with IPAddressAllocation API to Claim Pod CIDR in the VPC network #1152
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: DanielXiao 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 |
14eb58b
to
64f6558
Compare
/hold This will be merged after our 1.31 release |
...ereparavirtual/controllers/routablepod/ipaddressallocation/ipaddressallocation_controller.go
Outdated
Show resolved
Hide resolved
...ereparavirtual/controllers/routablepod/ipaddressallocation/ipaddressallocation_controller.go
Outdated
Show resolved
Hide resolved
pkg/cloudprovider/vsphereparavirtual/controllers/routablepod/node/node_controller.go
Show resolved
Hide resolved
pkg/cloudprovider/vsphereparavirtual/ippoolmanager/v1alpha2/ippoolmanager.go
Outdated
Show resolved
Hide resolved
e59f679
to
1c0df4f
Compare
/hold cancel We will try to merge this one since 1.31 is out |
4ab2964
to
a17ec68
Compare
@XudongLiuHarold: once the present PR merges, I will cherry-pick it on top of release-1.30 in a new PR and assign it to you. In response to this:
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-sigs/prow repository. |
/cherry-pick release-1.31 |
@XudongLiuHarold: once the present PR merges, I will cherry-pick it on top of release-1.31 in a new PR and assign it to you. In response to this:
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-sigs/prow repository. |
/lgtm Wait for the test result to merge this PR |
/hold |
…VPC network IPAddressAllocation is the new API in nsx-operator for claiming a CIDR in the VPC network. The original IPPool API can not claim Public type IP addresses. Introduce NSXIPManager interface to claim and release a CIDR for a Node. T1 and VPC implementation use different nsx-operator APIs to claim IPs.
There is a CRD group refactor in nsx-operator API, so we need to update to latest version.
The const is missleading and valid value is External and Private.
The size is number of IP addresses not prefix length.
b7dde04
to
f1b8d77
Compare
Do the clean up work when the Node is being deleted.
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 cancel
/lgtm
e2e test passed here: team-cluster-api#26 |
@XudongLiuHarold: new pull request created: #1214 In response to this:
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-sigs/prow repository. |
IPAddressAllocation is the new API in nsx-operator for claiming a CIDR in the VPC network. The original IPPool API can not claim Public type IP addresses. Introduce NSXIPManager interface to claim and release a CIDR for a Node. T1 and VPC implementations use different nsx-operator APIs to claim IPs.
What this PR does / why we need it:
Which issue this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close that issue when PR gets merged): fixes #Special notes for your reviewer:
Release note: