-
Notifications
You must be signed in to change notification settings - Fork 19
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 new vm from Datavolume #56
Comments
|
I got examples from documentation. This is on my backlog, I'll add this support and let you know. |
I'm still working on this. Your request made me find a "bad architecture" decision that was made on the code, so I'm kinda refactoring everything to see if I can get a better solution that would also easily accommodate your request. |
I've created a new Feature Request as well, to be able to create different types of Data Volumes on Data Volumes screen. Today we offer only the Blank Disk option. That feature will be a great to have and complete this feature request. |
So, just to clarify, you want to clone the DataVolume, not use the existing DataVolume in the VM, right? |
Maybe something like: |
Ok, so, the upload is not available, however, using DV Template is already done on the VM Pool implementation. In the create VM screen, you can use HTTP(s), S3, REGISTRY and PVC as sources for a DV. GCS support is also on the way. So I am not sure what we're missing over here. PS: Because PVC is namespaced and so is VirtualMachine, when creating the VirtualMachine if you choose to import from a PVC, you'll only be able to select PVCs that are on the same namespace. I've designed this way to avoid RBAC issues. |
BTW, one of the things I'm working is to introduce a concept of "Images", so that you don't need to fill in the URL everytime you want to create a VirtualMachine from HTTP/S3/GCS/REGISTRY/PVC... I've been working hard on a few new features. |
When I try to create a new VM using a datavolume there are no volumes available in the UI. I have 2 "local" templates that I would like to select to clone the new VMs disk from.
here is an example how I do this currently (these are visible in the DataVolumes screen)
dataVolumeTemplates: - metadata: name: vm1-disk0 spec: pvc: accessModes: - ReadWriteMany resources: requests: storage: 30Gi storageClassName: netapp-nas source: pvc: namespace: vm-templates name: debian12-genericcloud-qcow2
The text was updated successfully, but these errors were encountered: