k8s-operator

k8s-operator is an agent for Claude Code from armanzeroeight/fastagent-plugins. It costs 37 tokens per session (2,823 once invoked), scanned A, original, MIT.

A Kubernetes operations guide for managing clusters, deploying workloads, and troubleshooting production systems. Kubernetes is software that runs and coordinates containers across a group of machines.

In plain words
What is it for?
Use it for cluster health checks, node maintenance, pod debugging, deployments, resource checks, and reviewing cluster events.
Why use it?
It provides a structured way to inspect cluster health, investigate failing pods, and maintain nodes during operations.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Good fit Use it for cluster health checks, node maintenance, pod debugging, deployments, resource checks, and reviewing cluster events.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/armanzeroeight/fastagent-plugins/k8s-expert
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/armanzeroeight/fastagent-plugins

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for k8s-operator

README.md
[![agentmods](https://agentmods.dev/badge/agents/armanzeroeight/fastagent-plugins/k8s-expert/github.svg)](https://agentmods.dev/agents/armanzeroeight/fastagent-plugins/k8s-expert)
Your own site
<a href="https://agentmods.dev/agents/armanzeroeight/fastagent-plugins/k8s-expert"><img src="https://agentmods.dev/badge/agents/armanzeroeight/fastagent-plugins/k8s-expert/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for k8s-operator

Your own site · 80×15
<a href="https://agentmods.dev/agents/armanzeroeight/fastagent-plugins/k8s-expert"><img src="https://agentmods.dev/badge/agents/armanzeroeight/fastagent-plugins/k8s-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,823 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00037 $0.02823
Opus 5.5 $0.00015 $0.01129
Sonnet 5.5 $0.00007 $0.00565
Haiku 4.5 $0.00004 $0.00282

Measured 2mo ago against content hash efc2161c29ab, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

k8s-operator scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

kubectl run -it --rm debug --image=nicolaka/netshoot --restart=Never -- curl <service-name>:<port>
plugins/kubernetes-toolkit/agents/k8s-expert.md · 578 lines

How it starts

The opening of the file, as written. The whole thing — 578 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Kubernetes Operations Specialist

You are a Kubernetes operations expert specializing in cluster management, troubleshooting, production deployments, and cloud-native best practices.

Cluster Operations

Cluster Health Checks

Regularly verify cluster health:

# Check cluster info
kubectl cluster-info

# Check node status
kubectl get nodes -o wide

# Check system pods
kubectl get pods -n kube-system

# Check resource usage
kubectl top nodes
kubectl top pods --all-namespaces

# Check cluster events
kubectl get events --all-namespaces --sort-by='.lastTimestamp'

Node Management

Manage cluster nodes effectively:

# Drain node for maintenance
kubectl drain <node-name> --ignore-daemonsets --delete-emptydir-data

# Cordon node (prevent new pods)
kubectl cordon <node-name>

# Uncordon node (allow scheduling)
kubectl uncordon <node-name>

# Label nodes for workload placement
kubectl label nodes <node-name> workload-type=compute-intensive

# Taint nodes for dedicated workloads
kubectl taint nodes <node-name> dedicated=gpu:NoSchedule

Troubleshooting

Pod Debugging

Systematic approach to pod issues:

# Check pod status
kubectl get pod <pod-name> -o wide

# Describe pod for events
kubectl describe pod <pod-name>

# Check logs
kubectl logs <pod-name>
kubectl logs <pod-name> --previous  # Previous container logs
kubectl logs <pod-name> -c <container-name>  # Specific container

# Execute commands in pod
kubectl exec -it <pod-name> -- /bin/sh
kubectl exec <pod-name> -- env  # Check environment variables

# Debug with ephemeral container (K8s 1.23+)
kubectl debug <pod-name> -it --image=busybox --target=<container-name>

Common Issues and Solutions

CrashLoopBackOff:

# Check logs for errors
kubectl logs <pod-name> --previous

# Common causes:
# - Application crashes on startup
# - Missing dependencies
# - Configuration errors
# - Resource limits too low
# - Failed health checks

ImagePullBackOff:

# Check image pull errors
kubectl describe pod <pod-name>

# Common causes:
# - Image doesn't exist
# - Wrong image tag
# - Registry authentication issues
# - Network connectivity problems

# Verify image pull secret
kubectl get secret <secret-name> -o yaml

Read the full file on GitHub · 578 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 578 lines · 37 tokens per session scan A efc2161c29ab

Subscribe to this mod's changes

k8s-operator is an agent published in the GitHub repository armanzeroeight/fastagent-plugins (30 stars, last pushed 4mo ago), licensed MIT. It adds 37 tokens to every session and 2,823 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

k8s-operator compared with agents from other repositories

k8s-operator next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
k8s-operatorarmanzeroeight/fastagent-pluginsAgent304mo agoMITA37Claude Code
infrastructureAgentWorkforce/relayAgent1.2ktodayApache-2.0A31Claude Code
azure-iac-exportergithub/awesome-copilotAgent42ktodayMITA70Claude Code
SE: Architectgithub/awesome-copilotAgent42ktodayMITA26Claude Code
rn-pr-qaLykhoyda/rn-dev-agentAgent201mo agoMITA299Claude Code
intel-updateryeaight7/agent-powerupsAgent102mo agoApache-2.0A22Claude Code
Kubernetes Workload OptimizerCletrics/finops-agentsAgent497mo agoMITA54Claude Code