kubernetes-operations
Installation
SKILL.md
Kubernetes Operations
Confirm cluster context and namespace before every operation. Start read-only during troubleshooting.
Workflow
- Inspect repository conventions, Kubernetes versions, APIs, controllers, admission policies, deployment tool, and ownership.
- For incidents, collect events, status, rollout history, logs, metrics, resource pressure, endpoints, policies, and recent changes before editing.
- Define requests and limits from measurements, probes from actual health semantics, and disruption budgets from availability requirements.
- Use Deployments, StatefulSets, Jobs, or DaemonSets according to lifecycle. Make shutdown, draining, retries, and idempotency explicit.
- Design Service, ingress/gateway, DNS, NetworkPolicy, TLS, identity, and egress as one traffic path.
- Use workload identity, RBAC least privilege, restricted pod security, signed/scanned images, read-only filesystems, and external secret delivery where feasible.
- Render manifests, validate schemas and policies, diff against the target, deploy progressively, and verify readiness plus user signals.
- Document rollback, data recovery, capacity, upgrade skew, and controller dependencies.