Command Palette

Search for a command to run...

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

devops-kubernetes

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

Use when writing, reviewing, applying or debugging workloads on an existing Kubernetes cluster - Deployment, StatefulSet, DaemonSet, Job/CronJob…

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

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

Covers using a running Kubernetes cluster: workload controllers, configuration, Services and traffic entry through Gateway API, storage claims, RBAC, resources/QoS/autoscaling, probes, NetworkPolicy, safe kubectl operation and a fixed troubleshooting order. Does not cover building or upgrading the cluster, etcd, CNI selection (devops-k8s-cluster), packaging and GitOps controllers (devops-gitops-packaging), external secret stores (devops-secrets) or a security audit (fuse-security:security-expert).

DevOps Kubernetes

Agent Workflow (MANDATORY)

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

  1. fuse-ai-pilot:explore-codebase - find existing manifests, overlays, charts, the target namespace layout
  2. fuse-ai-pilot:research-expert - verify the API fields for the cluster's minor at kubernetes.io / gateway-api.sigs.k8s.io
  3. mcp__context7__query-docs - /websites/kubernetes_io, /websites/gateway-api_sigs_k8s_io

Then read the cluster read-only (kubectl version, kubectl api-resources, kubectl get crd | grep gateway). After changes, run fuse-ai-pilot:sniper.

Versions (checked 2026-11-10)

Kubernetes v1.37.2 / v1.36.6 / v1.35.10 are the latest patches (GitHub release tags, 2026-10-28; https://kubernetes.io/releases/ still listed 1.37.1); 1.34 reached end of life 2026-10-27. Gateway API v1.7.0 (2026-10-29). Each minor deprecates or graduates fields: read the release blog of the target minor (https://kubernetes.io/blog/) before writing manifests for it.

Overview

Area Decision in one line
Workloads Stateless = Deployment; stable identity/storage = StatefulSet; one per node = DaemonSet; run-to-completion = Job/CronJob
Traffic entry Gateway API (gateway.networking.k8s.io/v1); Ingress API is frozen; Ingress NGINX is retired
Storage PVC + StorageClass (WaitForFirstConsumer, allowVolumeExpansion), Retain for data that must survive
Config ConfigMap for config, Secret for credentials; Secrets are unencrypted in etcd by default
Access One ServiceAccount per workload, namespaced Role, automountServiceAccountToken: false unless needed
Capacity Requests on every container, memory limit always, HPA autoscaling/v2 with behavior
Isolation Default-deny NetworkPolicy per namespace, then explicit allows (needs a CNI that enforces it)

Critical Rules

  1. Version first - read the server minor (kubectl version) and the CRDs present before writing a field; a field that is stable in 1.37 may be beta or absent in 1.35
  2. Explicit target on every command - --context <ctx> -n <ns>; never rely on the current context
  3. Diff and server dry-run before apply - kubectl diff then kubectl apply --dry-run=server; never kubectl apply --prune (alpha)
  4. Destructive verbs are proposed, not run - delete, drain, scale --replicas=0, rollout undo, --force: show the exact effect and blast radius, wait for the user's go (kubectl-safe-ops.md)
  5. Troubleshoot in order - describe → events → logs → exec/debug → node; no fix before the evidence (troubleshooting-playbook.md)
  6. Never print a Secret value - names and keys only; values come from the secret store (devops-secrets)
  7. Never invent an apiVersion or field - cite the kubernetes.io or gateway-api page; unknown = "not verified"

Architecture

k8s/
├── namespace.yaml            # PSA labels: pod-security.kubernetes.io/enforce: restricted
├── rbac.yaml                 # ServiceAccount + Role + RoleBinding (namespaced)
├── networkpolicy.yaml        # default-deny + explicit allows
├── config.yaml               # ConfigMap (Secrets come from devops-secrets tooling)
├── deployment.yaml           # Deployment + Service + PodDisruptionBudget
├── hpa.yaml                  # autoscaling/v2
└── route.yaml                # HTTPRoute attached to the shared Gateway

Reference Guide

Concepts

Topic Reference When to Consult
Workloads workloads-scheduling.md Choosing a controller, rollout strategy, PDB, spreading
Probes and lifecycle probes-lifecycle.md startup/readiness/liveness, sidecars, graceful shutdown
Services and Gateway API services-gateway-api.md Exposing an app, leaving Ingress NGINX
NetworkPolicy network-policy.md Namespace isolation, egress control
Storage storage-csi.md PVC sizing, reclaim policy, expansion, access modes
Config and Secrets config-secrets.md Mounting config, rollout on change, Secret handling
RBAC
Полный SKILL.md на GitHub

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

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

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

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

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

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

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

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

references/config-secrets.mdreferences/kubectl-safe-ops.mdreferences/network-policy.mdreferences/probes-lifecycle.mdreferences/rbac-serviceaccounts.mdreferences/resources-qos-hpa.mdreferences/services-gateway-api.mdreferences/storage-csi.mdreferences/templates/cronjob.yamlreferences/templates/deployment-production.yamlreferences/templates/gateway-httproute.yamlreferences/templates/hpa.yamlreferences/templates/networkpolicy-default-deny.yamlreferences/templates/rbac-least-privilege.yamlreferences/templates/statefulset-pvc.yamlreferences/troubleshooting-playbook.mdreferences/workloads-scheduling.md

FAQ

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

Use when writing, reviewing, applying or debugging workloads on an existing Kubernetes cluster - Deployment, StatefulSet, DaemonSet, Job/CronJob, ConfigMap/Secret usage, Services, Gateway API (HTTPRoute) or a migration away from Ingress/Ingress NGINX, PV/PVC/StorageClass, RBAC and ServiceAccounts, requests/limits, probes, HPA, NetworkPolicy, safe kubectl (diff, server dry-run, delete/drain/scale/rollback) and pod troubleshooting (Pending, CrashLoopBackOff, DNS, no endpoints). Not for installing or upgrading clusters, etcd or CNI choice (devops-k8s-cluster), Helm/Kustomize/Argo CD/Flux (devops-gitops-packaging), secret stores (devops-secrets) or a cluster security audit (fuse-security:security-expert).

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

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

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

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

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

Сравнить devops-kubernetes с