mirror of
https://github.com/kubevirt/containerized-data-importer.git
synced 2025-06-03 06:30:22 +00:00
47 lines
1001 B
YAML
47 lines
1001 B
YAML
apiVersion: kubevirt.io/v1alpha3
|
|
kind: VirtualMachine
|
|
metadata:
|
|
creationTimestamp: null
|
|
labels:
|
|
kubevirt.io/vm: vm-cirros-datavolume
|
|
name: vm-cirros-datavolume
|
|
spec:
|
|
dataVolumeTemplates:
|
|
- metadata:
|
|
creationTimestamp: null
|
|
name: cirros-dv
|
|
spec:
|
|
pvc:
|
|
accessModes:
|
|
- ReadWriteOnce
|
|
resources:
|
|
requests:
|
|
storage: 100M
|
|
storageClassName: hdd
|
|
source:
|
|
http:
|
|
url: https://download.cirros-cloud.net/0.4.0/cirros-0.4.0-x86_64-disk.img
|
|
running: false
|
|
template:
|
|
metadata:
|
|
labels:
|
|
kubevirt.io/vm: vm-datavolume
|
|
spec:
|
|
domain:
|
|
devices:
|
|
disks:
|
|
- disk:
|
|
bus: virtio
|
|
name: datavolumevolume
|
|
machine:
|
|
type: ""
|
|
resources:
|
|
requests:
|
|
memory: 64M
|
|
terminationGracePeriodSeconds: 0
|
|
volumes:
|
|
- dataVolume:
|
|
name: cirros-dv
|
|
name: datavolumevolume
|
|
|