/devops-skills:kubernetes-operationsfrom devops-skills
Covers running workloads through Kubernetes's control loop — requests/limits, probes, debugging CrashLoopBackOff, OOMKilled, Pending, safe rollouts, and PodDisruptionBudgets.
Ships in devops-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Kubernetes does not execute your intent once — it continuously reconciles the cluster's actual state toward your declared state, forever. Every operational problem is really a question about that loop: what did you declare, what does the controller see, and where does the gap live. Most outages trace back to a pod spec that never told the scheduler or kubelet what it actually needed.
The controller can only be as good as the information you give it — requests, limits, and probes are not bureaucracy, they are the interface you use to talk to the control loop. Debug by reading what the control loop already told you, not by guessing.
For a command-by-command debugging playbook and a table of pod failure signatures, read
references/kubectl-debugging.md.
Requests are what the scheduler uses to place a pod — they must reflect real steady-state usage or you get either wasted nodes or overcommitted ones. Limits cap the ceiling and, for memory, define the OOM-kill boundary; for CPU they cause throttling, not killing. Never set a memory limit without a request, and never guess both from nothing — profile first.
kubectl top and cgroup throttling stats before assuming code is slow.OOMKilled,
visible in kubectl describe pod.Guaranteed, which matters for eviction
order under node pressure.Done when: every container has a memory limit backed by observed usage, and CPU is only limited if you've confirmed throttling is an acceptable tradeoff.
Liveness, readiness, and startup probes answer three different questions and conflating them causes the most common self-inflicted outage: a slow-starting app gets liveness-killed in a crash loop because there's no startup probe to give it room, or a readiness probe that's really a liveness check pulls healthy pods out of service during a blip.
Done when: a pod that's slow to boot doesn't get killed, and a pod with a failing dependency is removed from Service endpoints without restarting.
kubectl describe pod surfaces the scheduler's and kubelet's own diagnosis in the Events section —
it is almost always faster than log-diving, because it tells you what Kubernetes itself couldn't
do, not what your application printed.
kubectl get pod <name> -o wide # node, IP, restart count, phase
kubectl describe pod <name> # Events: scheduling, pulls, probe failures, OOM
kubectl logs <name> --previous # the crashed container's own output
Pending with no node assigned: check Events for scheduling failures — insufficient
resources, unsatisfied node affinity, or an unbound PVC (see kubernetes-storage).CrashLoopBackOff: the container is exiting; check --previous logs and exit code — 137 is
SIGKILL (often OOM), 1 is an application error.ImagePullBackOff: registry auth or a typo'd tag — see container-registry.Done when: you can state the exact Event line that explains the pod's state, not a guess.
A rollout is not done when kubectl apply succeeds — it's done when the new ReplicaSet is fully
available and you've confirmed rollback works before you need it under pressure. kubectl rollout undo only works cleanly if you haven't let revision history get truncated and if config changes
travel with the image tag, not around it.
kubectl rollout status, don't just fire-and-forget the apply.revisionHistoryLimit high enough to actually roll back past a bad two-release window.deployment-strategies and progressive-delivery.Done when: you have run kubectl rollout undo at least once in a non-prod path and confirmed
it restores the prior working state.
PodDisruptionBudgets and securityContext exist because voluntary disruptions (node drains, cluster autoscaler scale-downs) and misconfigured privilege are both preventable, not things to react to after an incident.
minAvailable based on what quorum or capacity you can actually lose.ALL capabilities and add back only what's needed,
set readOnlyRootFilesystem: true where the app allows it. Deep hardening and cluster-wide policy
belong in kubernetes-security.Done when: every workload that can't tolerate losing all replicas at once has a PDB, and no container runs as root without a documented reason.
State the requests/limits you set (and what usage data backed them), which probes you configured and why each threshold was chosen, the exact Event or log line that diagnosed any failure you fixed, and whether rollback was actually exercised. Call out any workload still missing a PDB or still running as root — naming that gap is more useful than claiming the cluster is fully hardened.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub arjunprabhulal/devops-skills --plugin devops-skillsOther plugins' skills for the same job
88 skills in this plugin
/alertingCovers designing alerts that page a human only when a human needs to act — symptom-based alerting over cause-based, multi-window burn-rate alerts on error budgets, severity tiers that route between page/ticket/dashboard, requiring every page to link a runbook, and tuning out alert fatigue. Use this whenever the user is writing a new alert rule, asking why on-call is paged too often or missing real incidents, choosing an alert threshold, or designing severity routing. For the SLO the burn-rate math comes from use `slo-definition`, and for what a runbook should contain use `runbooks`./api-gatewayCovers the managed front-door pattern for APIs — request routing, centralized auth, rate limiting and quotas, request/response shaping, and recognizing when a gateway helps versus becomes a bottleneck or single point of failure. Use this whenever the user is designing an API entry point, adding rate limits or quotas, centralizing auth for several backend services, transforming a request between an external and internal contract, or debugging a gateway timeout. For east-west traffic between internal services use `service-connectivity`, and for token issuance details use `iam-access-management`./argocd-operationsCovers running Argo CD day to day — structuring app-of-apps, choosing sync policies and waves, reading health versus sync status correctly, and unsticking a degraded or hung Application. Use this whenever the user mentions Argo CD, an Application stuck "Progressing" or "OutOfSync," app-of-apps or ApplicationSets, sync waves and hooks, or asks why a deploy shows synced but the workload is unhealthy. For the underlying model this tool implements use `gitops`; for automated canary analysis on top of it use `progressive-delivery`; for the workloads it manages use `kubernetes-operations`.