sharingio / coder

Remote development environments on your infrastructure provisioned with Terraform
https://coder.com
GNU Affero General Public License v3.0
0 stars 1 forks source link

Add support for local persistence for VMs in Kubevirt template #13

Closed BobyMCbobs closed 1 year ago

BobyMCbobs commented 1 year ago

Currently there's an issue where the Pod where the VM is hosted may run out of memory due to the entire VM running in memory. A data volume (https://github.com/kubevirt/containerized-data-importer/blob/main/doc/image-from-registry.md) must be used to create a PersistentVolumeClaim to store the vdi/qcow image so that it is stored locally instead.

BobyMCbobs commented 1 year ago

DataVolume seems to work pretty well. Next thing to do is ensure that the disk image has expanded to it's limit

BobyMCbobs commented 1 year ago

Added in https://github.com/cncf-infra/coder-templates/commit/6c1cefc883dc8972a1043bba9956891f1312c9a7