Last active
June 10, 2020 13:50
-
-
Save fabiand/c8b06bd7d0d1c395f9d562532cf62438 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/v1alpha3 | |
kind: VirtualMachineInstance | |
metadata: | |
labels: | |
special: vmi-alpine-kernel | |
name: vmi-alpine-kernel | |
spec: | |
domain: | |
firmware: | |
kernelBoot: | |
volumeName: kernelDisk | |
# kubevirt assumes that the volumeName named above will container a vmlinuz (kernel) and initrd.img for boothing. If not, then we should raise an error | |
cmdline: "<user cmdline arguments>" | |
volumes: | |
- containerDisk: | |
image: my-container-disk-with-kernel-and-initrd | |
name: kernelDisk | |
# The assumption is that the container will container a vmlinuz and initrd.img file which will then be used by kubevirt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment