hcp-create-kubevirt
БесплатноБез исполняемых скриптовНе проверенUse this skill when you need to deploy HyperShift clusters on existing Kubernetes clusters using KubeVirt virtualization
Об этом скилле
HyperShift KubeVirt Provider
This skill provides implementation guidance for creating HyperShift clusters using the KubeVirt provider, which runs on existing Kubernetes clusters with special attention to network conflict prevention and virtual machine management.
When to Use This Skill
This skill is automatically invoked by the /hcp:generate kubevirt command to guide the KubeVirt provider cluster creation process.
Prerequisites
- Kubernetes cluster with KubeVirt installed and configured
- Sufficient compute resources on the host cluster
- Storage classes configured for VM disks
- HyperShift operator installed
- Pull secret for accessing OpenShift images
KubeVirt Provider Overview
KubeVirt Provider Peculiarities
- Runs on existing Kubernetes cluster: Host cluster provides compute resources
- CRITICAL Network Isolation: Management cluster network cannot conflict with HostedCluster network
- Storage Requirements: Requires storage classes for VM disks and persistent volumes
- Virtual Machine Templates: Uses VM-based nodes instead of bare metal
- IPv6 Support: Full IPv6 support available
- Disconnected Capable: Can run in airgapped environments
- Resource Planning: Requires sufficient compute resources on host cluster
Network Conflict Prevention (CRITICAL)
The most important aspect of KubeVirt clusters is preventing network conflicts:
- Service/Cluster/Machine CIDRs must not overlap with management cluster
- Default CIDRs are designed to avoid common management cluster ranges
- Always check management cluster CIDRs before setting HostedCluster CIDRs
Common management cluster ranges to avoid:
- 10.128.0.0/14 (common OCP default)
- 10.0.0.0/16 (common private range)
- 192.168.0.0/16 (common private range)
Implementation Steps
Step 1: Analyze Cluster Description
Parse the natural language description for KubeVirt-specific requirements:
Environment Type Detection:
- Development: "dev", "development", "testing", "lab", "demo"
- Production: "prod", "production", "critical", "enterprise"
- Disconnected: "airgapped", "disconnected", "offline", "air-gapped"
Resource Indicators:
- High Performance: "performance", "fast", "high-compute", "intensive"
- Standard: Default moderate configuration
- Minimal: "small", "minimal", "basic", "edge"
Network Requirements:
- IPv6: "ipv6", "dual-stack", "ipv6-only"
- Isolated: "isolated", "private", "secure"
Storage Requirements:
- Local Storage: "local", "local storage", "hostpath"
- Replicated: "replicated", "distributed", "ceph", "longhorn"
Step 2: Management Cluster Network Discovery
CRITICAL FIRST STEP: Always check management cluster networks to prevent conflicts.
Prompt for management cluster information:
🔹 **Management Cluster Networks**: To avoid conflicts, please run this command on your management cluster:
`oc get network cluster -o yaml`
From the output, what are the serviceNetwork and clusterNetwork CIDRs?
- serviceNetwork CIDR: [e.g., 172.30.0.0/16]
- clusterNetwork CIDR: [e.g., 10.128.0.0/14]
- [Press Enter if you don't know - I'll use safe defaults]
If user provides management cluster CIDRs:
- Validate they don't overlap with our proposed defaults
- Adjust HostedCluster CIDRs if conflicts detected
- Document the conflict avoidance in the output
Step 3: Apply KubeVirt Provider Defaults
Required Parameters:
--memory: Memory allocation for VMs (default: 8Gi)--cores: CPU cores for VMs (default: 2)--pull-secret: Path to pull secret file--release-image: OpenShift release image
IPv4 Non-Conflicting Defaults:
--service-cidr: 172.30.0.0/16 (avoids common 10.x ranges)--cluster-cidr: 10.132.0.0/14 (avoids common 10.128.x range)--machine-cidr: 192.168.126.0/24 (avoids common 192.168.1.x range)
IPv6 Non-Conflicting Defaults:
--service-cidr: fd02::/112--cluster-cidr: fd01::/48--machine-cidr: fd03::/64
Smart Defaults by Environment:
Development Environment:
--memory 8Gi
--cores 2
--control-plane-availability-policy SingleReplica
--node-pool-replicas 2
Production Environment:
--memory 16Gi
--cores 4
--control-plane-availability-policy HighlyAvailable
--node-pool-replicas 3
--auto-repair true
High-Performance Environment:
--memory 32Gi
--cores 8
--control-plane-availability-policy HighlyAvailable
--node-pool-replicas 5
Step 4: Interactive Parameter Collection
Required Information Collection:
Cluster Name
🔹 **Cluster Name**: What would you like to name your cluster? - Must be DNS-compatible (lowercase, hyphens allowed) - Used for VM and resource naming - Example: dev-cluster, prod-app, test-envManagement Cluster Network Check (see Step 2)
VM Resource Configuration
🔹 **VM Memory**: How much memory sh
Установить hcp-create-kubevirt в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл hcp-create-kubevirt?
Use this skill when you need to deploy HyperShift clusters on existing Kubernetes clusters using KubeVirt virtualization
Как установить скилл hcp-create-kubevirt?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл hcp-create-kubevirt запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
ci-review
The scan that the plugin's GitHub Action runs.
от Anthropicazure-static-web-apps
Helps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
от GitHubai-ready
Make any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
от GitHubaws-cdk-python-setup
Setup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…
от GitHub