-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhpp-vm-dv-cirros.yaml
45 lines (45 loc) · 1.06 KB
/
hpp-vm-dv-cirros.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
apiVersion: kubevirt.io/v1alpha3
kind: VirtualMachine
metadata:
labels:
kubevirt.io/vm: vm-cirros-dv
name: vm-cirros-dv
spec:
dataVolumeTemplates:
- metadata:
annotations:
kubevirt.io/provisionOnNode: ${PROVISION_ON_NODE}
name: cirros-dv
spec:
pvc:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 100M
storageClassName: kubevirt-hostpath-provisioner
source:
http:
url: http://cnv-qe-server.rhevdev.lab.eng.rdu2.redhat.com/files/cdi-test-images/cirros_images/cirros-0.4.0-x86_64-disk.qcow2
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