Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

k8s-cluster-api

БесплатноЗапускает вложенные скриптыНе проверен

Kubernetes Cluster API v1.12. Covers clusterctl CLI, ClusterClass, GitOps integration. Scripts for health checks, backup, migration, linting. Templates…

itechmeatот itechmeat★ 24 звезды на GitHub

Об этом скилле

Kubernetes Cluster API

Kubernetes Cluster API (CAPI) is a Kubernetes sub-project focused on providing declarative APIs and tooling to simplify provisioning, upgrading, and operating multiple Kubernetes clusters.

Overview

Started by SIG Cluster Lifecycle, Cluster API uses Kubernetes-style APIs and patterns to automate cluster lifecycle management. The infrastructure (VMs, networks, load balancers, VPCs) and Kubernetes configuration are defined declaratively, enabling consistent and repeatable cluster deployments across environments.

Why Cluster API?

While kubeadm reduces installation complexity, it doesn't address day-to-day cluster management:

  • How to consistently provision infrastructure across providers and locations?
  • How to automate cluster lifecycle (upgrades, deletion)?
  • How to scale processes to manage any number of clusters?

Cluster API addresses these gaps with declarative, Kubernetes-style APIs that automate cluster creation, configuration, and management.

Goals

  • Manage lifecycle (create, scale, upgrade, destroy) of Kubernetes-conformant clusters via declarative API
  • Work in different environments (on-premises and cloud)
  • Define common operations with swappable implementations
  • Reuse existing ecosystem components (cluster-autoscaler, node-problem-detector)
  • Provide transition path for existing tools to adopt incrementally

Non-Goals

  • Add APIs to Kubernetes core
  • Manage infrastructure unrelated to Kubernetes clusters
  • Force all lifecycle products to use these APIs
  • Manage non-CAPI provisioned clusters
  • Manage single cluster spanning multiple providers
  • Configure machines after create/upgrade

Quick Navigation

Topic Reference
Getting Started getting-started.md
Concepts & Architecture concepts.md
Certificates certificates.md
Bootstrap (Kubeadm/MicroK8s) bootstrap.md
Cluster Operations cluster-operations.md
Experimental Features experimental.md
clusterctl CLI clusterctl.md
Developer Guide developer.md
Troubleshooting troubleshooting.md
API Reference & Providers api-reference.md
Security & PSS security.md
Controllers controllers.md
Version Migrations migrations.md
FAQ faq.md
Best Practices best-practices.md

When to Use

  • Provisioning Kubernetes clusters across multiple infrastructure providers
  • Managing cluster lifecycle (create, scale, upgrade, destroy)
  • Automating cluster operations with declarative APIs
  • Implementing GitOps workflows for cluster management
  • Building custom infrastructure providers

Core Concepts

Architecture

┌─────────────────────────────────────────┐
│         Management Cluster              │
│  ┌─────────────┐  ┌─────────────────┐   │
│  │ CAPI Core   │  │ Infrastructure  │   │
│  │ Controllers │  │ Provider        │   │
│  └─────────────┘  └─────────────────┘   │
│  ┌─────────────┐  ┌─────────────────┐   │
│  │  Bootstrap  │  │  Control Plane  │   │
│  │  Provider   │  │  Provider       │   │
│  └─────────────┘  └─────────────────┘   │
└─────────────────────┬───────────────────┘
                      │ manages
          ┌───────────┴───────────┐
          ▼                       ▼
┌─────────────────┐     ┌─────────────────┐
│ Workload        │     │ Workload        │
│ Cluster 1       │     │ Cluster N       │
└─────────────────┘     └─────────────────┘

Key Components

Component Purpose
Management Cluster Hosts CAPI controllers, manages workloads
Workload Cluster User clusters managed by CAPI
Infrastructure Provider Provisions VMs, networks, load balancers
Bootstrap Provider Generates cloud-init/ignition configs
Control Plane Provider Manages control plane nodes lifecycle

Core Resources

| Resource | Description |

Полный SKILL.md на GitHub

Установить k8s-cluster-api в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

assets/argocd-cluster-app.yamlassets/aws-credentials.yamlassets/azure-credentials.yamlassets/cluster-clusterclass.yamlassets/cluster-minimal.yamlassets/cluster-production.yamlassets/clusterclass-example.yamlassets/docker-quickstart.yamlassets/dr-backup-restore.mdassets/etcd-backup.yamlassets/flux-kustomization.yamlassets/gitops-rbac.yamlassets/migration-v1beta2.mdassets/prometheus-alerts.yamlassets/provider-matrix.mdassets/security-audit-report.mdassets/troubleshooting-flow.mdassets/upgrade-checklist.mdreferences/api-reference.mdreferences/best-practices.mdreferences/bootstrap.mdreferences/certificates.mdreferences/cluster-operations.mdreferences/clusterctl.mdreferences/concepts.mdreferences/controllers.mdreferences/developer.mdreferences/experimental.mdreferences/faq.mdreferences/getting-started.mdreferences/migrations.mdreferences/security.mdreferences/troubleshooting.mdscripts/analyze-conditions/main.goscripts/audit-security/main.goscripts/check-cluster-health/main.goscripts/check-provider-contract/main.goscripts/compare-versions/main.goscripts/export-cluster-state/main.goscripts/generate-cluster-template/main.go

FAQ

Что делает скилл k8s-cluster-api?

Kubernetes Cluster API v1.12. Covers clusterctl CLI, ClusterClass, GitOps integration. Scripts for health checks, backup, migration, linting. Templates: clusters, DR, Prometheus. Use when provisioning, upgrading, or operating Kubernetes clusters with CAPI, or running clusterctl and ClusterClass workflows. Keywords: CAPI, clusterctl, kubeadm, cluster lifecycle.

Как установить скилл k8s-cluster-api?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл k8s-cluster-api запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить k8s-cluster-api с