k8s-kubevirt

Manage KubeVirt virtual machines on Kubernetes with lifecycle operations and status checks.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/spigell/my-agents --skill k8s-kubevirt-spigell
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: k8s-kubevirt
Source: https://github.com/spigell/my-agents/tree/main/agents/shared/src/tools/ask_kubernetes_expert/skills/k8s-kubevirt
Command: npx skills add https://github.com/spigell/my-agents --skill k8s-kubevirt-spigell

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

KubeVirt VM operations can be difficult to troubleshoot and coordinate across Kubernetes resources, especially when you need reliable status checks before taking action.

Core Features & Use Cases

  • KubeVirt-aware VM lifecycle control: Detects KubeVirt availability, then manages start/stop/restart/pause/unpause workflows with safeguards based on current VM/VMI state.
  • Operational visibility for troubleshooting: Retrieves VM details and lists VMs/VMI instances to understand conditions and migration state.
  • Storage and provisioning guidance: Covers instance types plus data volumes/data sources to support VM and DataVolume-backed workflows.
  • Use Case: You’re handling a production incident where a KubeVirt VM won’t start; you need to confirm KubeVirt is installed, check VM/VMI status and conditions, inspect migration state if relevant, and then take the appropriate lifecycle action.

Quick Start

Use this skill to manage a KubeVirt VirtualMachine named "my-vm" in the "default" namespace by first detecting the KubeVirt installation and then retrieving the current VM details and status.

Frequently Asked Questions about k8s-kubevirt

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

FAQPage Schema
How do I manage KubeVirt virtual machine lifecycle operations on Kubernetes?

To manage KubeVirt virtual machine lifecycle on Kubernetes, you can run start, stop, restart, pause, and unpause workflows. The process includes ordered safety checks that detect KubeVirt availability and verify current VM/VMI status before taking action.

How do I troubleshoot a KubeVirt VM that won't start in my cluster?

To troubleshoot a KubeVirt VM that won't start, retrieve VM details, list VMI instances to check conditions, and inspect related Kubernetes events and pods. This operational visibility helps you understand the exact failure state before taking corrective lifecycle action.

Does this approach require checking KubeVirt availability before managing VMs?

Yes, checking KubeVirt availability is a required prerequisite. The workflow enforces ordered safety checks, meaning it first detects the KubeVirt installation and then verifies the current VM and VMI status to ensure safe execution of lifecycle operations.

Can I inspect instance types, datavolumes, and datasources for VM provisioning?

Yes, you can inspect instance types, datavolumes, and datasources. The tool retrieves and lists these storage and provisioning resources to support DataVolume-backed workflows and guide VM provisioning decisions within your Kubernetes environment.

How do I check the live migration state of a KubeVirt virtual machine?

To check the live migration state of a KubeVirt virtual machine, retrieve the VM details and VMI listings. This provides the necessary operational visibility into current conditions and migration state to safely coordinate live-migrating VMs.

What is the best way to coordinate VM and VMI status checks before restarting a VM?

The best way to coordinate status checks before restarting a VM is to follow an ordered workflow: detect KubeVirt installation first, then verify the current VM and VMI state. This ensures safe execution of restart actions based on actual conditions.