agentleFS
JonatanRocha2JonatanRocha2/vegapunk/skills/en/kubernetes-operations/SKILL.md

kubernetes-operations

Skill0 starsChanged 3 months agoMITView on GitHub

Designs, deploys, reviews, secures, and troubleshoots Kubernetes workloads and clusters. Use for manifests, Helm, Kustomize, controllers, networking, storage, autoscaling, upgrades, incidents, EKS, GKE, AKS, or OpenShift operations.

3 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

8 rules. 0 are common, 7 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 3 edited versions we read keep these.

  • 7

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use Deployments, StatefulSets, Jobs, or DaemonSets according to lifecycle.

    line 20
  2. Distinctive:

    Use workload identity, RBAC least privilege, restricted pod security, signed/scanned images, read-only filesystems, and external secret …

    line 22
  3. Distinctive:

    Document rollback, data recovery, capacity, upgrade skew, and controller dependencies.

    line 24
  4. Very specific:

    Never use the default namespace for production ownership by accident.

    line 28
  5. Distinctive:

    Avoid privileged containers, host namespaces, hostPath, wildcard RBAC, mutable tags, and embedded secrets.

    line 29
  6. Distinctive:

    Do not delete pods, scale, restart, drain, or change a live cluster before evidence collection and approval.

    line 30
  7. Distinctive:

    Do not treat a pod restart as root-cause resolution.

    line 31
  8. Distinctive:

    Keep cluster-level and application-level responsibilities distinct.

    line 32

“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Kubernetes Operations

Confirm cluster context and namespace before every operation. Start read-only during troubleshooting.

Workflow

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

Guardrails

  • Never use the default namespace for production ownership by accident.
  • Avoid privileged containers, host namespaces, hostPath, wildcard RBAC, mutable tags, and embedded secrets.
  • Do not delete pods, scale, restart, drain, or change a live cluster before evidence collection and approval.
  • Do not treat a pod restart as root-cause resolution.
  • Keep cluster-level and application-level responsibilities distinct.

Output

Provide context, evidence, diagnosis or design, manifest changes, security and availability effects, rollout and rollback, validation commands, and residual risks. State cluster context and namespace beside any mutating command.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.