kubekey

Automate Kubernetes cluster deployment, scaling, and upgrades with KubeKey.

3|Updated Dec 31, 2025
One-click install
npx skills add https://github.com/hb-chen/opskills --skill kubekey
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: kubekey
Source: https://github.com/hb-chen/opskills/tree/main/skills/kubekey
Command: npx skills add https://github.com/hb-chen/opskills --skill kubekey

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires curl, tar, kk, kubectl, yq, python3, grep, sed, awk, sudo, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Deploying and managing Kubernetes clusters can be error-prone and time-consuming; this skill automates the end-to-end workflow with KubeKey to streamline cluster setup, upgrades, and configuration management.

Core Features & Use Cases

  • Check KubeKey installation and version
  • Install KubeKey with a specified version
  • Generate cluster configurations and deploy clusters
  • Scale clusters by adding or removing nodes
  • Upgrade Kubernetes and KubeSphere
  • View and analyze cluster configurations
  • Use cases include bootstrapping development clusters, reproducible production deployments, and seamless upgrades

Quick Start

Generate a KubeKey configuration and deploy a Kubernetes cluster with a single command.

Frequently Asked Questions about kubekey

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

FAQPage Schema
How do I automate Kubernetes cluster deployment on Linux?

Automate Kubernetes cluster deployment on Linux using KubeKey to streamline end-to-end cluster provisioning. It handles version requirements, CNI plugins, CRI, CIDR planning, and role-based node configuration defined in your cluster-config.yaml file.

Can I scale Kubernetes nodes and upgrade KubeSphere with KubeKey?

Yes, you can scale Kubernetes nodes and upgrade KubeSphere with KubeKey. The skill automates adding or removing cluster nodes and manages seamless upgrades for both Kubernetes and KubeSphere across your environments.

Does KubeKey work on macOS for bootstrapping development clusters?

KubeKey works on macOS for bootstrapping development clusters. It supports cluster management across both Linux and macOS environments, enabling reproducible deployments for development and production scenarios.

What's the best way to manage Kubernetes configurations and control plane endpoints?

The best way to manage Kubernetes configurations and control plane endpoints is using KubeKey with a defined cluster-config.yaml. It satisfies requirements for control plane endpoints, registry settings, and CIDR planning during automated cluster provisioning.

Do I need kubectl and yq installed to manage clusters with KubeKey?

You need kubectl, yq, curl, tar, and other dependencies installed to manage clusters with KubeKey. The automation workflow relies on these tools alongside sudo privileges to execute cluster management commands effectively.