k8s-kubevirt

Manage KubeVirt VM lifecycle, migration, and inventory across Kubernetes clusters.

944|179|Updated Mar 23, 2025
One-click install
npx skills add https://github.com/rohitg00/kubectl-mcp-server --skill k8s-kubevirt
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: k8s-kubevirt
Source: https://github.com/rohitg00/kubectl-mcp-server/tree/main/kubernetes-skills/claude/k8s-kubevirt
Command: npx skills add https://github.com/rohitg00/kubectl-mcp-server --skill k8s-kubevirt

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates the management of virtual machines on Kubernetes using KubeVirt tooling for efficient lifecycle control and troubleshooting.

Core Features & Use Cases

  • VM lifecycle control: start, stop, restart, and pause/unpause VMs.
  • Live migration: migrate VMs between nodes with minimal downtime.
  • Status and inventory: check VM status and list VMIs and related resources across clusters.
  • Data volumes and VM configurations: manage data volumes and VM templates to support persistent storage and configuration.

Quick Start

Describe typical workflows in natural language or use the tool references:

  • Check KubeVirt installation: kubevirt_detect_tool()
  • List VMs in a namespace: kubevirt_vms_list_tool(namespace="default")
  • Start a VM: kubevirt_vm_start_tool(name="my-vm", namespace="default")
  • Migrate a VM: kubevirt_vm_migrate_tool(name="my-vm", namespace="default")

Frequently Asked Questions about k8s-kubevirt

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

FAQPage Schema
How do I manage virtual machines on Kubernetes using KubeVirt?

You can manage KubeVirt VMs on Kubernetes by automating lifecycle control, live migration, and status checks. Use kubectl-mcp-server tools to start, stop, restart, and migrate VMs across clusters.

How do I live migrate a VM between Kubernetes nodes?

To live migrate a VM, use the kubevirt_vm_migrate_tool with the target VM name and namespace. This initiates KubeVirt live migration to move running virtual machines between nodes with minimal downtime.

What do I need to check before running KubeVirt operations on my cluster?

Before running KubeVirt operations, use the kubevirt_detect_tool to verify your KubeVirt installation. This checks the environment and confirms KubeVirt tooling availability for subsequent VM lifecycle and inventory commands.

Can I list VM inventories and check VM status across Kubernetes namespaces?

Yes, you can list VM inventories and check status across namespaces using kubevirt_vms_list_tool. It retrieves VMIs and related resources, allowing you to monitor VM configurations and data volumes across clusters.

Does this approach support managing data volumes and VM templates?

Yes, KubeVirt tooling supports managing data volumes and VM templates. This enables persistent storage configuration and standardized VM setups alongside core lifecycle controls like start and stop operations.