-
Notifications
You must be signed in to change notification settings - Fork 264
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
Update DataVolume doc references from the 'pvc' API to the 'storage' API #3244
Update DataVolume doc references from the 'pvc' API to the 'storage' API #3244
Conversation
Skipping CI for Draft Pull Request. |
/cc @alromeros |
/test all |
/retest |
/retest |
1 similar comment
/retest |
Thanks for the PR! I think this looks good but I'd update the |
@alromeros Sounds good. I also rephrased it a bit to highlight its conveniences. Tip I also used this sort of banner, I think it works well to grab the attention of readers Warning Also this one, pretty nice too |
Looks good, thanks! Let's see what others think |
doc/clone-datavolume.md
Outdated
resources: | ||
requests: | ||
storage: 500Mi | ||
storage: |
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.
does this need a {}
in order to be valid yaml?
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.
Oops this is true, it should be
storage: {}
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.
Good catch :)
doc/datavolumes.md
Outdated
``` | ||
|
||
### Storage | ||
The `storage` type is similar to `pvc` but it allows you to ommit some parameters. |
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.
s/ommit/omit/
doc/datavolumes.md
Outdated
virtualization storage class by annotating it with | ||
`storageclass.kubevirt.io/is-default-virt-class` set to `"true"`. | ||
|
||
If you request storage with `volumeMode: fileSystem`, CDI will take the file system |
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.
We should word this slightly differently so say that fs overhead is applied whenever filesystem volumeMode is used in conjunction with the storage api (whether specified explicitly or chosen automatically). As you currently have it it sounds like this happens only if you include volumeMode: FileSystem
in the spec.
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.
Makes sense 👍
/retest |
All instances of DataVolume > Spec > PVC have been replaced with storage, except for two cases in datavolumes.md: - Data Volumes>Target Storage/PVC>PVC https://github.com/kubevirt/containerized-data-importer/blob/338bafe/doc/datavolumes.md#pvc - Data Volumes>Source>PVC source https://github.com/kubevirt/containerized-data-importer/blob/338bafe/doc/datavolumes.md#pvc-source Signed-off-by: Edu Gómez Escandell <egomez@redhat.com>
I also reworded it so that the paragraph does not start in lower-case. Signed-off-by: Edu Gómez Escandell <egomez@redhat.com>
Removed from storage options, I still kept it for the pvc. Signed-off-by: Edu Gómez Escandell <egomez@redhat.com>
This argument is optional. Only removed for 'storage', not 'pvc'. Signed-off-by: Edu Gómez Escandell <egomez@redhat.com>
Signed-off-by: Edu Gómez Escandell <egomez@redhat.com>
Signed-off-by: Edu Gómez Escandell <egomez@redhat.com>
Signed-off-by: Edu Gómez Escandell <egomez@redhat.com>
Signed-off-by: Edu Gómez Escandell <egomez@redhat.com>
Signed-off-by: Edu Gómez Escandell <egomez@redhat.com>
Signed-off-by: Edu Gómez Escandell <egomez@redhat.com>
/lgtm |
Signed-off-by: Edu Gómez Escandell <egomez@redhat.com>
/retest-required |
/lgtm |
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 one minor wording change.
Co-authored-by: Alexander Wels <awels@redhat.com> Signed-off-by: Edu Gómez Escandell <edu1997xyz@gmail.com>
/test pull-containerized-data-importer-e2e-ceph |
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.
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: awels 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 |
/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 fine
What this PR does / why we need it:
Updates
DataVolume
examples and documentation so they use thestorage
API instead of thepvc
API, except for a couple of places where the use ofpvc
is relevant (to contrast it to thestorage
API).Furthermore:
ReadWriteOnce
argument as it is set by default when using the storage API.Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):https://issues.redhat.com/browse/CNV-38189
Special notes for your reviewer:
Release note: