Closed alaypatel07 closed 1 month ago
cc @brianmcarey @xpivarc The setup will be done as part of https://github.com/kubevirt/kubevirt/pull/12117
/cc
@alaypatel07 what would be the issue with restarting the kwok controller after kubevirt is installed?
@brianmcarey restarting the kwok controller pod seems like a hack.
Since the e2e test already carries kwok objects like fake nodes https://github.com/kubevirt/kubevirt/pull/12117/files#diff-b1f53ed317ff089a7374611210b0b12f1e5cf165a8cb1748a4cedcd665141805R120, IMO it only makes sense to set up kubevirt related kwok manifests in the e2e tests.
This also allows for future e2e test possibilities like creating a stage (example of stage https://github.com/kubevirt/kubevirtci/blob/a087e7e153c809f9c1087cb8d8378b2bc1c6489c/cluster-provision/k8s/1.28/manifests/kwok/kubevirt/stage/vmi-ready.yaml) for VMIs to be stuck in scheduling state to check pressure on scheduler
Would it make sense to deploy only the stages as part of e2e?
Would it make sense to deploy only the stages as part of e2e?
@xpivarc The only other thing being deployed apart from stages is the rbac for kubevirt CRDs. The CRDs are not even registered before rbac is created here since kubevirt is not installed. So I am not sure if it makes sense to just have stages be delayed.
@alaypatel07 Ok, let's make it work in kubevirt/kubevirt. Please drop the local changes here and we can merge
@xpivarc done, PTAL
@Sreeja1725 can you please create the RBAC and kwok stages deleted from here in the e2e test setup https://github.com/kubevirt/kubevirt/pull/12117?
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: brianmcarey
The full list of commands accepted by this bot can be found here.
The pull request process is described here
/retest-required
This bot automatically retries required jobs that failed/flaked on approved PRs.
Silence the bot with an /lgtm cancel
or /hold
comment for consistent failures.
@alaypatel07: The following test failed, say /retest
to rerun all failed tests or /retest-required
to rerun all mandatory failed tests:
Test name | Commit | Details | Required | Rerun command |
---|---|---|---|---|
check-up-kind-1.27-vgpu | 4fe276db95a67f18e09a0dacdb6d2ecfef105920 | link | false | /test check-up-kind-1.27-vgpu |
@brianmcarey can you confirm if the kubevirtci image from these changes were pushed in kubevirt repo? I couldnt find any recent bot commits.
cc @Sreeja1725
@brianmcarey can you confirm if the kubevirtci image from these changes were pushed in kubevirt repo? I couldnt find any recent bot commits.
cc @Sreeja1725
It should be included when this bump (https://github.com/kubevirt/kubevirt/pull/12488) merges
What this PR does / why we need it:
kwok needs kubevirt CRDs to be installed before it can handle KubeVirt related stages. When running make cluster-up kubevirt is still not installed. This is causing bugs in running performance tests. KubeVirt related stages will be created in KubeVirt e2e tests before starting the tests as part of the setup.
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:
Checklist
This checklist is not enforcing, but it's a reminder of items that could be relevant to every PR. Approvers are expected to review this list.
Release note: