Skip to content
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

how to specify clone method in storage class or storageprofile when using trident as CSI? #908

Open
eselvam opened this issue Jun 29, 2024 · 2 comments

Comments

@eselvam
Copy link

eselvam commented Jun 29, 2024

Describe the solution you'd like
How to specify clone method in storage class or storage profile when using trident csi in Openshift 4.14?

Describe alternatives you've considered
Nothing alternative available but we can use virtual to upload the image to Datavolume however it is taking too much of time as we don't have the clone capability defined in storage class nor storage profile.

Additional context
NA

@wonderland
Copy link

A bit more context might be helpful. I assume this question relates to OpenShift Virtualization? And more specifically to the Containerized Data Import (CDI)?

With Trident, you can set the cloneStrategy to either snapshot or csi-clone. I personally prefer the snapshot approach, using the snapshot as an immutable golden image from which you clone (and easily keeping multiple versions of that golden image in different snapshots).

Trident should be among the "well known storage providers" and automatically detected correctly. But you can always define your own StorageProfile as well (https://docs.openshift.com/container-platform/4.14/virt/storage/virt-configuring-storage-profile.html).

Not sure if that answers your question, if not please provide some additional context :-)

@eselvam
Copy link
Author

eselvam commented Jul 1, 2024

Thanks. It helps a lot. I am just looking for the cloneStrategy under stroageclass and storage profile.

Kindly close it. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants