Packer Plugin for KubeVirt
This repository houses the Packer KubeVirt plugin. This plugin allows Packer to create KubeVirt images.
Packer is a tool from HashiCorp that allows you to create identical machine images for multiple platforms from a single source configuration file.
KubeVirt is an add-on to Kubernetes, which enables running virtual machines on top of Kubernetes.
Quick Start
- Download and install Packer
- Install the plugin
- Refer to the Documentation and Examples
Requirements
kubectl
and virtctl
CLIs,
virtctl
is only required if you use portForward
.
- Access to a Kubernetes cluster with KubeVirt installed
- Packer
Installation
Detailed instructions coming soon!
Usage
Take a look at the example, the kubevirt
plugin supports port-forward or VM exposed using a Service.
Documentation
You can see detailed plugin documentation here.
Examples
The examples directory contains example JSON and HCL configurations.
Developing
If you wish to work on the Packer KubeVirt Plugin, you'll first need Go installed on your machine.
Detailed instructions coming soon!
Contributing
Your contributions are always welcome! Please take a look at the contribution guidelines first.
License
This project is licensed under the MIT License.