Skip to content

Instantly share code, notes, and snippets.

@jparrill
Last active September 26, 2019 11:38
Show Gist options
  • Select an option

  • Save jparrill/a4d4ed0413285c6db524917bc81ab4f1 to your computer and use it in GitHub Desktop.

Select an option

Save jparrill/a4d4ed0413285c6db524917bc81ab4f1 to your computer and use it in GitHub Desktop.
Kubevirt Basic Manifests
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: "pvc-cirros"
labels:
app: containerized-data-importer
annotations:
cdi.kubevirt.io/storage.import.endpoint: "https://download.cirros-cloud.net/0.4.0/cirros-0.4.0-x86_64-disk.img"
spec:
accessModes:
- ReadWriteMany
resources:
requests:
storage: 500Mi
apiVersion: kubevirt.io/v1alpha3
kind: VirtualMachine
metadata:
creationTimestamp: null
labels:
kubevirt.io/vm: vm-cirros
name: vm-cirros
spec:
running: true
template:
metadata:
labels:
kubevirt.io/vm: vm-cirros
spec:
domain:
devices:
disks:
- disk:
bus: virtio
name: pvcdisk
machine:
type: ""
resources:
requests:
memory: 64M
terminationGracePeriodSeconds: 0
volumes:
- name: pvcdisk
persistentVolumeClaim:
claimName: pvc-cirros
status: {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment