-
Notifications
You must be signed in to change notification settings - Fork 119
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
Create kind-1.23-sriov provider #897
Conversation
Copy the `kind-1.22-sriov` directory to `kind-1.23-sriov`, in order for it to use as a base. Signed-off-by: Orel Misan <[email protected]>
Skipping CI for Draft Pull Request. |
Mirror kind node image v1.23.13 in order to use it in kubevirtci kind-1.23-sriov provider [1]. [1] kubevirt/kubevirtci#897 Signed-off-by: Orel Misan <[email protected]>
PR kubevirt/kubevirtci#897 adds a `kind-1.23-sriov` provider. In order to test it, add an optional pre-submit job. Clone the `kind-1.22-sriov` pre-submit job, in order to serve as a base for `kind-1.23-sriov` pre-submit job. Signed-off-by: Orel Misan <[email protected]>
Mirror kind node image v1.23.13 in order to use it in kubevirtci kind-1.23-sriov provider [1]. [1] kubevirt/kubevirtci#897 Signed-off-by: Orel Misan <[email protected]> Signed-off-by: Orel Misan <[email protected]>
Upgrade kind version to current latest v0.17.0. Upgrade node image to 1.23.13. Signed-off-by: Orel Misan <[email protected]>
e1bc112
to
41c6f7b
Compare
Change: Use mirrored node image. |
Signed-off-by: Orel Misan <[email protected]>
* kubevirtci, pre-submit: Clone kind-1.22-sriov job PR kubevirt/kubevirtci#897 adds a `kind-1.23-sriov` provider. In order to test it, add an optional pre-submit job. Clone the `kind-1.22-sriov` pre-submit job, in order to serve as a base for `kind-1.23-sriov` pre-submit job. Signed-off-by: Orel Misan <[email protected]> * kubevirtci, pre-submit: Add optional job to check kind-1.23-sriov Make the kind-1.23-sriov pre-submit job optional. Signed-off-by: Orel Misan <[email protected]> Signed-off-by: Orel Misan <[email protected]>
/test check-up-kind-1.23-sriov |
4 similar comments
/test check-up-kind-1.23-sriov |
/test check-up-kind-1.23-sriov |
/test check-up-kind-1.23-sriov |
/test check-up-kind-1.23-sriov |
@@ -0,0 +1,115 @@ | |||
package certlib |
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.
Please remove the whole folder of cert creator, we don't use it for long time already IIRC
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.
I see multiple references to this directory:
https://github.com/kubevirt/kubevirtci/pull/897/files#diff-ba18cea87edeee1e4c652aaa05ccd4ac663d4b4545d892c9a1db306c6b5b9bb0R6
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.
but we dont deploy sriov_operator.sh anymore, nor maintain it
so it uses a very old version
we can remove that as well please imo
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.
I suggest we remove it in a follow-up PR.
I don't think it helps the reviewer to see that removal in this PR.
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.
Imo an additional commit that removes it can be clean and easy enough to review,
I don't see why to take the files with us again and again.
It will be more self contained.
but whatever you prefer
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.
I prefer to handle this change in a follow up PR.
I think there are more leftovers, for example:
https://github.com/kubevirt/kubevirtci/pull/897/files#diff-c5f5c4a7c70b52eb6c6561e5629101c50defa39f231960e5a5d4751f4152c82dR1
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.
I honestly don't see a reason to postpone it, it will make this PR not clean enough
It should be pretty trivial to clean all needed, as it is not used
maybe worth to at least try first ?
we can also wait to see more opinions
Note that for me personally it will be easier to review it cleaner
but i won't block for it
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.
I think there are more leftovers that we are not aware of.
Starting a cleanup operation could be an adventure that I don't want to get into at the moment.
Additionally I think that there could be multiple small improvements that could be made in order to improve the code.
But, they all could be done in follow-up PRs.
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.
The sriov operator scope should be few files that you just delete and forgot
for example the script / yamls and the cert lib
imo it is right to at least try it, (and if you see it is adventure drop it) but again this is just my 2 cents
rest of the cleaning can be done of course on follow PR
EDIT - from a glance, this is all that need to be removed related to the sriov operator
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.
I would remove what I can, but I won't insist that it will be part of this PR.
It was tested with all the SRIOV tests and kubevirt right ? Beside the comments above lgtm |
Thank you. |
It is used for only those, i meant to try the kubevirt SR-IOV e2e tests with it before we merge it |
It looks like there is a check-up job for this new provider, but did it took this PR changes? |
I ran the SR-IOV e2e tests numerous times on a bare-metal server with an SR-IOV NIC and this provider. |
Yes as it uses the right KUBEVIRT_PROVIDER |
Thanks |
Isn't this line indicating the execution of the e2e SR-IOV test suite? |
It does run SR-IOV tests using sonobouy and kubevirt plugin. |
Right, two here are skipped, they should be skipped ?
|
From what I remember they are skipped because Kubevirt tests perform some stuff the plugin won't, lemme check.. EDIT: Maybe it's Kubevirt |
/assign @qinqon |
Please ref the kind issue to the PR desc |
Not worth to add the feature gate / solve it if its something that make sense ? |
Done. |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: qinqon 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 |
[021efaa Revert "bump: k8s-1.2[4,5] to cnao v0.81.0](https://github.com/kubevirt/kubevirtci/pull/895)"](https://github.com/kubevirt/kubevirtci/pull/904) [75a155b vm based providers: Change default dns host port](kubevirt/kubevirtci#903) [71777d3 Support centos9 provisioner ](kubevirt/kubevirtci#896) [3ddc5b7 Run bazelisk run //robots/cmd/kubevirtci-bumper:kubevirtci-bumper -- -ensure-last-three-minor-of v1 --k8s-provider-dir /home/prow/go/src/github.com/kubevirt/project-infra/../kubevirtci/cluster-provision/k8s](kubevirt/kubevirtci#898) [765bf0b kind-1.23-sriov: Remove SR-IOV operator leftovers](kubevirt/kubevirtci#899) [2f57cdf Create kind-1.23-sriov provider](kubevirt/kubevirtci#897) [dd31ea6 bump: k8s-1.2[4,5] to cnao v0.81.0](kubevirt/kubevirtci#895) [fa031f8 Bump default provider version](kubevirt/kubevirtci#894) [8cca8c0 vm based providers: Expose a UDP port for DNS](kubevirt/kubevirtci#867) [2fea446 kind-1.22-sriov, provider.sh: Remove unused SRIOV_TESTS_NS variable](kubevirt/kubevirtci#891) ```release-note NONE ``` Signed-off-by: kubevirt-bot <[email protected]>
[021efaa Revert "bump: k8s-1.2[4,5] to cnao v0.81.0](https://github.com/kubevirt/kubevirtci/pull/895)"](https://github.com/kubevirt/kubevirtci/pull/904) [75a155b vm based providers: Change default dns host port](kubevirt/kubevirtci#903) [71777d3 Support centos9 provisioner ](kubevirt/kubevirtci#896) [3ddc5b7 Run bazelisk run //robots/cmd/kubevirtci-bumper:kubevirtci-bumper -- -ensure-last-three-minor-of v1 --k8s-provider-dir /home/prow/go/src/github.com/kubevirt/project-infra/../kubevirtci/cluster-provision/k8s](kubevirt/kubevirtci#898) [765bf0b kind-1.23-sriov: Remove SR-IOV operator leftovers](kubevirt/kubevirtci#899) [2f57cdf Create kind-1.23-sriov provider](kubevirt/kubevirtci#897) [dd31ea6 bump: k8s-1.2[4,5] to cnao v0.81.0](kubevirt/kubevirtci#895) [fa031f8 Bump default provider version](kubevirt/kubevirtci#894) [8cca8c0 vm based providers: Expose a UDP port for DNS](kubevirt/kubevirtci#867) [2fea446 kind-1.22-sriov, provider.sh: Remove unused SRIOV_TESTS_NS variable](kubevirt/kubevirtci#891) ```release-note NONE ``` Signed-off-by: kubevirt-bot <[email protected]>
Create an SR-IOV provider, based on kind running K8s v1.23.
There is a problem using kind with K8s 1.24 and above, so an upgrade to one K8s version should keep us in the latest three K8s versions until K8s 1.26 will be released.