k8s-capi

Manage Kubernetes cluster lifecycle with Cluster API tools.

Updated Mar 1, 2026
One-click install
npx skills add https://github.com/zangxin75/openclaw-skills --skill k8s-capi-zangxin75
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: k8s-capi
Source: https://github.com/zangxin75/openclaw-skills/tree/main/k8s-capi
Command: npx skills add https://github.com/zangxin75/openclaw-skills --skill k8s-capi-zangxin75

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies the complex process of provisioning, scaling, and upgrading Kubernetes clusters by providing a unified interface for Cluster API (CAPI) management.

Core Features & Use Cases

  • Cluster Lifecycle Management: Automate the entire lifecycle of Kubernetes clusters, from creation to deletion.
  • Infrastructure Provisioning: Define and manage the underlying infrastructure for your clusters.
  • Scaling and Upgrades: Easily scale worker nodes and perform rolling upgrades of your Kubernetes clusters.
  • Use Case: When you need to quickly spin up multiple Kubernetes environments for testing or deploy a new version of your cluster across your organization, this Skill automates the process.

Quick Start

Use the k8s-capi skill to list all available CAPI clusters in the default namespace.

Frequently Asked Questions about k8s-capi

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

FAQPage Schema
How do I automate Kubernetes cluster lifecycle management with a declarative API?

Kubernetes cluster lifecycle management is automated using Cluster API (CAPI) tools that handle provisioning, scaling, and upgrading through a declarative API. This provides a unified interface for multi-cluster operations and underlying infrastructure management.

What is the best way to provision and scale multiple Kubernetes clusters?

Provisioning and scaling multiple Kubernetes clusters is best handled through Cluster API (CAPI), which automates infrastructure provisioning and worker node scaling declaratively. This enables rapid creation of multiple environments for testing or organizational deployment.

Do I need kubectl-mcp-server to manage Kubernetes clusters with Cluster API?

Yes, kubectl-mcp-server and its associated Cluster API (CAPI) tools are required for Kubernetes cluster orchestration. These dependencies provide the necessary tooling to execute declarative lifecycle management operations.

Can I perform rolling upgrades on Kubernetes clusters using Cluster API?

Yes, rolling upgrades of Kubernetes clusters are supported through Cluster API (CAPI) tools. The Skill manages the upgrade process alongside scaling worker nodes and automating the full cluster lifecycle from creation to deletion.

How do I list all available CAPI clusters in a specific namespace?

To list all available CAPI clusters, use the k8s-capi skill to query the default namespace. This leverages the kubectl-mcp-server integration to return the current state of provisioned Kubernetes clusters.

When should I use Cluster API instead of manual Kubernetes infrastructure provisioning?

Cluster API should be used when you need to quickly spin up multiple Kubernetes environments or deploy new cluster versions across an organization. It replaces manual infrastructure provisioning with automated, declarative lifecycle management.