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
Virtctl - Force Bind the PVC on WFFC storage #6513
Conversation
A new option for imageupload is available - force-bind. This will force the scheduling of a CDI worker pod and immediately bind the PVC ignoring the WaitForFirstConsumer logic. This is useful for use cases that do not require binding to a particular node (like uploading a golden image to the cluster). Signed-off-by: Bartosz Rybacki <brybacki@redhat.com>
/lgtm |
/retest |
Signed-off-by: Bartosz Rybacki <brybacki@redhat.com>
/lgtm |
looks like a new flake test: |
@brybacki: The specified target(s) for
The following commands are available to trigger optional jobs:
Use
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. |
/test pull-kubevirt-e2e-k8s-1.22-sig-storage |
/retest |
1 similar comment
/retest |
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.
Looks good content-weise but I would encourage to add more unit-tests and e2e tests in this area.
/retest |
4261682
to
a10b0a4
Compare
Signed-off-by: Bartosz Rybacki <brybacki@redhat.com>
a10b0a4
to
edba3fe
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.
/lgtm
/approve
|
||
Context("Create upload volume with force-bind flag", func() { | ||
DescribeTable("Should succeed", func(resource, targetName string, validateFunc func(string), deleteFunc func(string)) { | ||
defer deleteFunc(targetName) |
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.
Not sure if this defer is needed, but it does not hurt either.
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: rmohr 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 |
@brybacki: The following test failed, say
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. |
/retest |
What this PR does / why we need it:
A new option for imageupload is available - force-bind. This will force
the scheduling of a CDI worker pod and immediately bind the PVC
ignoring the WaitForFirstConsumer logic.
This is useful for use cases that do not require binding to a particular
node (like uploading a golden image to the cluster).
It uses the annotation added here: kubevirt/containerized-data-importer#1560
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:
Release note: