create-vm

Deploy a virtual machine in a Kube-DC project with SSH access and cloud-init.

34|5|Updated Mar 5, 2025
One-click install
npx skills add https://github.com/kube-dc/kube-dc-public --skill create-vm
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-vm
Source: https://github.com/kube-dc/kube-dc-public/tree/main/skills/create-vm
Command: npx skills add https://github.com/kube-dc/kube-dc-public --skill create-vm

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates the end-to-end deployment of virtual machines inside a Kube-DC project, including SSH access, cloud-init configuration, and optional external network exposure.

Core Features & Use Cases

  • OS image provisioning via a DataVolume boot disk and a catalog of images
  • Cloud-init integration to install qemu-guest-agent and configure SSH key injection
  • Network setup using Multus with a default bridge and support for external IP exposure
  • SSH key propagation from the authorized-keys-default secret for secure access
  • Quota checks and project isolation to prevent resource overuse

Quick Start

Specify the target project, OS image, and SSH key, and trigger the VM creation workflow to provision a VM with SSH access and cloud-init.

Frequently Asked Questions about create-vm

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I provision a virtual machine on Kubernetes with SSH access?

Provisioning a virtual machine on Kubernetes with SSH access involves deploying a VM using a DataVolume boot disk and cloud-init to inject SSH keys. This skill automates the end-to-end deployment within a Kube-DC project, configuring qemu-guest-agent for secure access.

Can I use cloud-init to configure SSH keys when deploying Kubernetes VMs?

Yes, cloud-init can configure SSH keys when deploying Kubernetes VMs by propagating keys from the authorized-keys-default secret. This skill uses cloud-init to inject these keys and install the qemu-guest-agent during the VM creation process.

Does Kube-DC support external IP exposure for virtual machines using Multus networking?

Kube-DC supports external IP exposure for virtual machines using Multus networking with a default bridge. This skill provisions VMs with optional external network exposure alongside standard internal Kubernetes network configurations.

What is the best way to automate Kubevirt VM deployment across a catalog of OS images?

Automating Kubevirt VM deployment across a catalog of OS images requires provisioning DataVolume boot disks and handling cloud-init configuration. This skill automates the workflow, allowing you to specify the target project and OS image to trigger VM creation.

Are quota checks enforced when creating virtual machines in a Kubernetes project?

Quota checks are enforced when creating virtual machines in a Kubernetes project to prevent resource overuse. This skill performs quota validations and ensures project isolation before provisioning a DataVolume boot disk and initiating the VM.