containerized-data-importer/manifests/example/vm-dv.yaml
Pedro Ibanez Requena fad70f9fb6 fixing names issue as the image is the cirros and the names where referencing to fedora (#1011)
Signed-off-by: Pedro Ibáñez <pedro@redhat.com>
2019-11-08 07:57:12 -05:00

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