Skip to content

Instantly share code, notes, and snippets.

@fabiand
Created June 2, 2019 19:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fabiand/f7d0c5841e46837411958adf118a2200 to your computer and use it in GitHub Desktop.
Save fabiand/f7d0c5841e46837411958adf118a2200 to your computer and use it in GitHub Desktop.
---
apiVersion: kubevirt.io/v1alpha3
kind: VirtualMachine
metadata:
labels:
kubevirt.io/vm: fedora-30
name: fedora-30
spec:
running: true
template:
spec:
domain:
devices:
disks:
- disk:
bus: virtio
name: rootfs-pvc
resources:
requests:
memory: 1G
terminationGracePeriodSeconds: 0
volumes:
- name: rootfs-pvc
persistentVolumeClaim:
claimName: fedora-30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment