-
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
[WIP] ✨ E2E for IPAM support #1667
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
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. |
There is now a release of the in cluster ipam provider we can use: https://github.com/telekom/cluster-api-ipam-provider-in-cluster/releases/tag/v0.1.0-alpha.1 From previous conversations during office hours we will want to wait for cluster-api to make a release with the |
f4c3d68
to
d18be8b
Compare
d18be8b
to
6b74f21
Compare
6b74f21
to
8398e3f
Compare
8398e3f
to
8324d46
Compare
8324d46
to
c2353c5
Compare
c2353c5
to
ee03633
Compare
Waiting for the CAPI 1.3.0 to be released which should be sometime this week, post which we can update the CAPI version in |
Friendly reminder that 1.3.0 (actually .1) is released now, which contains the required support for IPAM providers :) |
The PR to update CAPV testing infra to use CAPI 1.3.0 was merged yesterday. We will need some more work to be done on the infra side to make this run. Namely create a pool to be used by this IPAM test. |
- converted to ginkgo/v2 - added the following e2e config fields for ipam e2e test: - NODE_IPAM_POOL_SUBNET - NODE_IPAM_POOL_GATEWAY - NODE_IPAM_POOL_START - NODE_IPAM_POOL_END - NODE_IPAM_NAMESERVER Co-authored-by: Aidan Obley <[email protected]> Co-authored-by: Christian Ang <[email protected]> Co-authored-by: Tyler Schultz <[email protected]> Co-authored-by: Edwin Xie <[email protected]>
ee03633
to
f381890
Compare
We rebased the PR on main. Let us know if you want/or we can help with anything in setting up CI, but for now I'll assume you have that covered. |
PR needs rebase. 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. |
The Kubernetes project currently lacks enough contributors to adequately respond to all PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
@tylerschultz Can you get us to speed what the current state of this PR is? Thank you! |
@srm09 Do you know if a pool was created to run these tests against? That should be the last piece we were waiting on. |
@srm09 is working on a doc, we need a mechanism to pool IPPools themselves so we can have concurrent testing, but we may need to wait a bit until maintainers have a better overview of the test infrastructure. Hoping to make progress in next 2 weeks. |
We need to take a look in some future to outline a plan and work on this. |
The Kubernetes project currently lacks enough active contributors to adequately respond to all PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close |
@k8s-triage-robot: Closed this PR. 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/test-infra repository. |
What this PR does / why we need it:
This PR adds an E2E test for IPAM support. The test asserts that VMs are assigned IP addresses from an IPAM provider pool.
This PR is based on a branch from another PR, which needs to merge first.
#1666
This PR makes no attempt to integrate the e2e test into this repo's CI.
The test adds and requires the following variables:
- NODE_IPAM_POOL_SUBNET
- NODE_IPAM_POOL_GATEWAY
- NODE_IPAM_POOL_START
- NODE_IPAM_POOL_END
- NODE_IPAM_NAMESERVER
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #
Special notes for your reviewer:
Do not merge this PR before merging #1666.
This PR requires a new release CAPI.
main
of CAPI contains changes required for testing IPAM, specifically the--ipam-provider
flag onclusterctl
. This functionality was added in this PR: kubernetes-sigs/cluster-api#7288 (this PR may now be released?)main
of CAPI has recently switched to Ginkgo v2, requiring CAPV switch too, due to the many test utilities pulled in from CAPI.In it's current from, this PR depends on the telekom CAPI IPAM Provider In Cluster project.
Loose ends:
Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.
Release note: