Skip to content

Instantly share code, notes, and snippets.

@alvaroaleman
Created August 15, 2019 14:29
Show Gist options
  • Save alvaroaleman/323c851387a63ce2036f3a6ebf450d4f to your computer and use it in GitHub Desktop.
Save alvaroaleman/323c851387a63ce2036f3a6ebf450d4f to your computer and use it in GitHub Desktop.
apiVersion: kubevirt.io/v1alpha3
kind: VirtualMachine
metadata:
creationTimestamp: "2019-08-15T09:26:43Z"
generation: 1
labels:
kubevirt.io/vm: worker-qd98h-794c9649-2vh54
name: worker-qd98h-794c9649-2vh54
namespace: kube-system
resourceVersion: "400355"
selfLink: /apis/kubevirt.io/v1alpha3/namespaces/kube-system/virtualmachines/worker-qd98h-794c9649-2vh54
uid: cb4bbcdf-bf3e-11e9-9792-a4bf0150ce81
spec:
dataVolumeTemplates:
- metadata:
creationTimestamp: null
name: worker-qd98h-794c9649-2vh54
spec:
pvc:
accessModes:
- ReadWriteOnce
dataSource: null
resources:
requests:
storage: 10Gi
storageClassName: kubermatic-fast
source:
http:
url: http://10.0.0.209/ubuntu.img
status: {}
running: true
template:
metadata:
creationTimestamp: null
labels:
kubevirt.io/vm: worker-qd98h-794c9649-2vh54
spec:
domain:
cpu:
cores: 2
devices:
disks:
- disk:
bus: virtio
name: datavolumedisk
- disk:
bus: virtio
name: cloudinitdisk
machine:
type: ""
resources:
limits:
cpu: "1"
memory: 2048M
requests:
cpu: "1"
memory: 2048M
terminationGracePeriodSeconds: 30
volumes:
- dataVolume:
name: worker-qd98h-794c9649-2vh54
name: datavolumedisk
- cloudInitNoCloud:
secretRef:
name: userdata-worker-qd98h-794c9649-2vh54-1565861197
name: cloudinitdisk
status:
created: true
ready: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment