Command Palette

Search for a command to run...

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

devops-k8s-cluster

БесплатноБез исполняемых скриптовНе проверен

Use when building, upgrading, repairing or choosing the Kubernetes cluster itself - kubeadm, k3s or Talos (RKE2 and Cluster API as pointers), HA control plane…

Fusengineот Fusengine★ 36 звёзд на GitHub

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

Covers the cluster itself: choosing a distribution, bootstrapping an HA control plane, etcd backup/restore/health, version skew and upgrades, node lifecycle, certificate expiry, Cilium as the default CNI, bare-metal LoadBalancer IPs and cluster-level troubleshooting. Does not cover workloads, Services, Gateway resources, RBAC or kubectl usage (devops-kubernetes), packaging and GitOps (devops-gitops-packaging), CSI backends (devops-storage-backup) or VM provisioning (devops-proxmox, devops-virtualization).

DevOps Kubernetes Cluster

Agent Workflow (MANDATORY)

Before ANY cluster change, spawn in parallel, one Agent call each with a name:

  1. fuse-ai-pilot:explore-codebase - find existing cluster config (kubeadm YAML, k3s config.yaml, Talos patches, inventories, Terraform/Ansible that built the nodes)
  2. fuse-ai-pilot:research-expert - verify flags and versions at kubernetes.io, docs.k3s.io, docs.siderolabs.com, docs.cilium.io, etcd.io
  3. mcp__context7__query-docs - /websites/etcd_io, /websites/cilium_io_en_stable, /websites/kubernetes_io

Then inspect read-only first (kubectl get nodes -o wide, kubectl version, etcd health, certificate expiry). After changes to files, run fuse-ai-pilot:sniper.

Versions (checked 2026-11-10)

Kubernetes v1.37.2 / v1.36.6 / v1.35.10 are the latest patches; supported minors are 1.37, 1.36, 1.35 (https://kubernetes.io/releases/version-skew-policy/). k3s v1.37.2+k3s1, Talos v1.14.5 (docs.siderolabs.com/talos/v1.14), Cilium 1.20.4, MetalLB v0.16.2. etcd v3.7.3 comes from a GitHub tag only; the Kubernetes etcd page names 3.4.29+ and 3.5.11+ as the minimum for production. Cilium documents Gateway API CRDs v1.6.3 although Gateway API v1.7.0 exists: install the version Cilium documents. Kubernetes 1.37 kubelet defaults to cgroup v2 only (FailCgroupV1: true).

Overview

Area Decision in one line
Distribution kubeadm = upstream, you own OS and etcd; k3s = single binary, embedded etcd HA; Talos = immutable, API-only, no SSH; RKE2 and Cluster API are pointers (distribution-choice.md)
Control plane 3 stacked nodes minimum behind a TCP endpoint (VIP or load balancer); kubeadm controlPlaneEndpoint must equal that address
etcd Odd member count; 3 tolerate 1 loss, 5 tolerate 2; snapshot on a schedule, off the node, restore-tested
Upgrades One minor at a time, API server first, kubelet may lag up to three minors; drain before a minor kubelet upgrade
CNI Cilium by default; install it before joining more nodes; kube-proxy replacement needs k8sServiceHost and k8sServicePort
Bare-metal LB Cilium LB IPAM + L2 announcements if Cilium is the CNI; MetalLB otherwise; kube-vip for the control-plane VIP
Troubleshooting kubelet and container runtime first, then etcd, then API server, then CNI (cluster-troubleshooting.md)

Critical Rules

  1. Version first - read server, kubelet and etcd versions before any upgrade; never skip a minor (version-skew-upgrades.md)
  2. Backup before touching etcd - a fresh snapshot, copied off the node, with etcdutl snapshot status output attached (etcd-backup-restore.md)
  3. Destructive verbs are proposed, not run - kubeadm reset, etcdutl snapshot restore, etcdctl member remove, talosctl reset, talosctl bootstrap --recover-from, k3s server --cluster-reset, kubectl delete node, k3s-uninstall.sh: show ACTION / EFFECT / QUORUM / PROOF and wait for the user's go
  4. Quorum arithmetic before any member change - state members, quorum and how many can still fail after the action
  5. One control-plane node at a time - verify Ready and etcd health before the next
  6. Explicit target - name the node and the kubeconfig/context in every command; Talos commands carry --nodes
  7. Never invent a flag or config key - cite the official page; unknown = "not verified"
  8. Secrets stay secret - kubeadm certificate key, join tokens, etcd snapshots (they hold the CA keys and all Secrets) and Talos secrets.yaml are never printed or committed

Architecture

cluster-repo/
├── kubeadm/ClusterConfiguration + InitConfiguration   # or k3s/config.yaml, or talos/patches/
├── cni/cilium-values.yaml                             # pinned chart version
├── lb/pool + announcement policy                      # Cilium LB IPAM/L2 or MetalLB
├── backup/etcd-snapshot job + restore runbook
└── upgrades/checklist per minor

Reference Guide

Concepts

Topic Reference When to Consult
Distribution choice distribution-choice.md New cluster, kubeadm vs k3s vs Talos, RKE2, Cluster API
kubeadm HA [kubeadm-ha-bootstrap.md](r
Полный SKILL.md на GitHub

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

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

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

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

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

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

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

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

references/baremetal-loadbalancing.mdreferences/cluster-troubleshooting.mdreferences/cni-cilium.mdreferences/distribution-choice.mdreferences/etcd-backup-restore.mdreferences/k3s-cluster.mdreferences/kubeadm-ha-bootstrap.mdreferences/node-lifecycle.mdreferences/talos-cluster.mdreferences/templates/cilium-lb-ipam-l2.yamlreferences/templates/cilium-values.yamlreferences/templates/cluster-upgrade-checklist.mdreferences/templates/etcd-snapshot-restore.mdreferences/templates/k3s-server-config.yamlreferences/templates/kubeadm-ha-config.yamlreferences/templates/metallb-l2.yamlreferences/templates/talos-patches.yamlreferences/version-skew-upgrades.md

FAQ

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

Use when building, upgrading, repairing or choosing the Kubernetes cluster itself - kubeadm, k3s or Talos (RKE2 and Cluster API as pointers), HA control plane and API endpoint, etcd health/backup/restore, version skew and upgrade order, node join/drain/replace/remove, certificate expiry, Cilium as CNI (kube-proxy replacement, Gateway API support), bare-metal LoadBalancer IPs (Cilium LB IPAM and L2 announcements, MetalLB, kube-vip) and cluster-level troubleshooting (NotReady nodes, etcd quorum loss, API server down, CNI broken). Not for workloads, Services, Gateway resources, RBAC or day-to-day kubectl (devops-kubernetes), Helm/Kustomize/Argo CD/Flux (devops-gitops-packaging), CSI backend internals (devops-storage-backup) or VM provisioning (devops-proxmox, devops-virtualization).

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

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

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

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

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

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