Created
June 29, 2020 12:17
-
-
Save fabiand/baa13c12eb16f1f0f0ff8ce9025da54a 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-kernel-boot | |
name: vmi-kernel-boot | |
spec: | |
domain: | |
devices: | |
firmware: | |
kernelBoot: | |
volumeName: kernelbootimage # this is what is missing in the pr | |
kernelPath: vmlinuz # this path is relative to the root of volume volumeName | |
initrdPath: initrd | |
cmdline: console=ttyS0 | |
resources: | |
requests: | |
memory: 1Gi | |
terminationGracePeriodSeconds: 0 | |
volumes: | |
- containerDisk: | |
image: dockerhub.io/hritivi/my-container-withkernel-and-initrd | |
name: kernelbootimage |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment