blob: f9710fb8ef63b55f3080d821c18eb26addfae8e8 [file] [log] [blame]
---
apiVersion: kubevirt.io/v1
kind: VirtualMachine
metadata:
labels:
kubevirt.io/vm: cirros-net1
name: cirros-net1
spec:
running: false
template:
metadata:
labels:
kubevirt.io/vm: cirros-net1
spec:
domain:
devices:
disks:
- disk:
bus: virtio
name: containerdisk
- disk:
bus: virtio
name: cloudinitdisk
interfaces:
- name: default
masquerade: {}
- name: ovn-net1
bridge: {}
resources:
requests:
memory: 128Mi
terminationGracePeriodSeconds: 0
networks:
- name: default
pod: {} # Stock pod network
- name: ovn-net1
multus: # Secondary multus network
networkName: net1
volumes:
- containerDisk:
image: docker.io/jumpojoy/kubevirt-cirros:0.6.2
name: containerdisk
- cloudInitNoCloud:
userData: |
#!/bin/sh
echo 'printed from cloud-init userdata'
name: cloudinitdisk