/kube-dc:create-vmfrom kube-dc
Creates a KubeVirt virtual machine in a Kube-DC Project using the live OS catalog, Project networking, supported storage, and the generated SSH keypair.
Ships in kube-dc. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
A VM is a workload inside a Project. Its Kubernetes resources live in the Project's backing namespace; it is not a Managed Cluster and does not create a separate Kubernetes API.
kube-dc use.ssh-keypair-default and authorized-keys-default exist in the backing
namespace.Use the console's OS Images catalog. API clients can query:
GET /api/create-vm/{project-backing-namespace}/os-images
Authorization: Bearer {kube-dc-jwt}
Do not embed a static OS/version table or provider S3 hostname. Catalog entries can change independently on each installation.
Prefer the catalog's digest-pinned registry reference with
pullMethod: node. Use its HTTP URL only for entries such as installation
media or custom images that do not offer a registry source. Never turn a
mutable tag into an apparently reproducible boot disk.
Use the VM wizard or the live storage-class endpoint with the disk's purpose:
GET /api/create-vm/{project-backing-namespace}/storageclasses?purpose=vm-root
Authorization: Bearer {kube-dc-jwt}
Use purpose=vm-data for extra disks, and purpose=vm-migratable for every
disk of a VM that must live-migrate (shared block storage only). The response
lists only classes that suit the disk, each with its supported modes
(access and volume mode pairs), features (snapshot, live-migration) and
nodeLocal. The chosen access mode and volume mode must be one of its pairs.
Node-local storage and shared block storage have different snapshot and live
migration behavior. Do not infer capabilities from a class name alone.
Kube-DC refuses a VM disk on an unsuitable class (for example an object-storage
bucket class) with 422 when the VM is created through its API. A manifest
applied with kubectl is not checked, so take the class from this list.
Start from vm-template.yaml. It is a Linux cloud-image template; Windows and provider-specific golden images should use the manifest rendered by the VM wizard.
The essential contracts are:
pullMethod: node.{project-backing-namespace}/default.accessCredentials references authorized-keys-default and names the
catalog's OS user.resources.requests and resources.limits both state the VM's CPU
(cores) and memory (guest). Without explicit limits KubeVirt sets the
memory limit to about twice the request, and a VM near the plan's
per-workload maximum is refused.kubectl apply -f vm.yaml
kubectl get datavolume,virtualmachine -w
Do not create the VM until the manifest has the correct user, firmware, machine type, and storage shape for the selected catalog entry.
When a whole-device GPU is explicitly requested, follow
references/dedicated-gpu.md. Use the Kube-DC VM
wizard or authenticated validate/create transaction. Do not raw-apply native
host-device resources. Dedicated GPU VMs cannot live migrate and must use
evictionStrategy: None.
The generated Project keypair can be used only when the VM references
authorized-keys-default and the guest agent has injected the public key.
For local access, first choose a supported route:
Follow ssh-into-vm for key handling and manage-networking for FIP/EIP
status fields. A private VMI address is not automatically reachable from a
workstation.
kubectl get datavolume {vm}-disk \
-o jsonpath='{.status.phase}{"\n"}'
kubectl get virtualmachine {vm} \
-o jsonpath='{.status.printableStatus}{"\n"}'
kubectl get virtualmachineinstance {vm} \
-o jsonpath='{.status.conditions[?(@.type=="AgentConnected")].status}{"\n"}'
kubectl get virtualmachineinstance {vm} \
-o jsonpath='{.status.interfaces[0].ipAddress}{"\n"}'
Expected signals are DataVolume Succeeded, VM Running, guest agent
connected, and a non-empty interface address.
If provisioning stalls:
kubectl describe datavolume {vm}-disk
kubectl describe virtualmachine {vm}
kubectl get events --sort-by=.lastTimestamp
Check image reachability, disk size, storage-class capabilities, quota, firmware, and placement. These checks do not require pod exec.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
18 skills in this plugin
/check-quotaCheck Kube-DC Organization and Project quota before creating workloads, VMs, databases, Managed Clusters, public IPs, or storage./create-databaseCreate a managed database (PostgreSQL, MySQL, MariaDB, ClickHouse) or Valkey cache in a Kube-DC Project as a ManagedService, deliver its credential to workloads with a ServiceBinding Secret, and prepare backup and restore workflows./create-projectCreate a Kube-DC Project inside an existing Organization. Covers network selection, quota preflight, the Project manifest, and readiness verification.npx claudepluginhub kube-dc/kube-dc-public --plugin kube-dcOther plugins' skills for the same job