Build Kubernetes QEMU/KVM Image with Packer

Packer is a tools to automate creation of multiple machine images build by Hashicorp. Its support multiple builders such as AWS EC2, DigitalOcean, LXD, VMWare, QEMU, etc. In this post, I will share how to create a packer template to build kubernetes image for QEMU/KVM on top of Ubuntu minimal cloud image based on my homelab setup. Prerequisites packer cloud-localds (from cloud-image-utils in ubuntu) QEMU/KVM enabled host Step by Step Ensure you have QEMU/KVM enabled host, and also packer installed in your machine....

March 16, 2020 · 3 min · 455 words · Me