Created
May 5, 2021 12:02
-
-
Save zcahana/010d0ffc1c54c29e6d993c72476d7297 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: kubevirt.io/v1 | |
kind: VirtualMachine | |
metadata: | |
name: alpine | |
spec: | |
running: false | |
template: | |
metadata: | |
labels: | |
kubevirt.io/size: small | |
kubevirt.io/domain: alpine | |
spec: | |
domain: | |
devices: | |
disks: | |
- disk: | |
bus: virtio | |
name: rootfs | |
interfaces: | |
- name: default | |
masquerade: {} | |
resources: | |
requests: | |
memory: 64M | |
networks: | |
- name: default | |
pod: {} | |
volumes: | |
- name: rootfs | |
dataVolume: | |
name: alpine-dv | |
dataVolumeTemplates: | |
- metadata: | |
name: alpine-dv | |
spec: | |
pvc: | |
accessModes: | |
- ReadWriteOnce | |
resources: | |
requests: | |
storage: 2Gi | |
source: | |
http: | |
url: http://cdi-http-import-server.kubevirt/images/alpine.iso |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment