Skip to content

Instantly share code, notes, and snippets.

@fabiand
Created June 6, 2019 12:37
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/e9ff0dc13b5f6ec83e0be52ccf080957 to your computer and use it in GitHub Desktop.
Save fabiand/e9ff0dc13b5f6ec83e0be52ccf080957 to your computer and use it in GitHub Desktop.
apiVersion: kubevirt.io/v1alpha3
kind: VirtualMachineInstance
metadata:
labels:
special: vmi-windows
name: vmi-windows
spec:
domain:
cpu:
cores: 2
devices:
disks:
- disk:
name: rootfs
interfaces:
- model: e1000
name: default
resources:
requests:
memory: 2Gi
networks:
- name: default
pod: {}
terminationGracePeriodSeconds: 0
volumes:
- name: rootfs
persistentVolumeClaim:
claimName: windows-pv-clone0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment