Claude Code Agent: K8s Specialist — Kubernetes Operations
Claude Code agent for Kubernetes. Deployment configs, helm charts, troubleshooting, scaling, monitoring, and cluster management.
Installation avec revue préalable
Cet actif nécessite une revue. Le prompt copié demande un dry-run, affiche les écritures, puis continue seulement après confirmation.
npx -y tokrepo@latest install cc023b17-6783-4399-b7de-6e56d06d4a43 --target codexDry-run d'abord, confirmez les écritures, puis lancez cette commande.
What it is
Claude Code Agent: K8s Specialist is a pre-configured Claude Code agent for DevOps and infrastructure tasks focused on Kubernetes. It handles deployment configurations, helm charts, troubleshooting, scaling, monitoring, and cluster management. It is part of the Claude Code Templates collection and uses Read, Write, Edit, Bash, Glob, and Grep tools.
It is designed for DevOps engineers and platform teams who want AI assistance with day-to-day Kubernetes operations without training a generic agent on K8s patterns.
How it saves time or tokens
The token estimate for this workflow is 500 tokens. The agent comes pre-loaded with Kubernetes-specific context, so it understands kubectl output formats, helm chart structures, and common error patterns without needing extensive prompting. This reduces the back-and-forth typical of asking a generic AI agent about K8s issues.
How to use
- Install the agent template:
npx claude-code-templates@latest --agent devops-infrastructure/kubernetes-specialist --yes - The agent activates automatically when Claude Code detects relevant tasks
- Ask Kubernetes-related questions or request operations
Example
# Install the K8s specialist agent
npx claude-code-templates@latest \
--agent devops-infrastructure/kubernetes-specialist \
--yes
# Now use Claude Code normally -- the agent activates for K8s tasks
claude 'Why are pods in CrashLoopBackOff in the staging namespace?'
claude 'Create a helm chart for a Node.js API with 3 replicas'
claude 'Scale the web deployment to 5 replicas and add an HPA'
Related on TokRepo
- AI Tools for DevOps -- Infrastructure and operations tools
- AI Tools for Automation -- Workflow automation tools
Common pitfalls
- The agent needs kubectl configured with cluster access; it cannot connect to clusters without valid kubeconfig
- Destructive operations (delete, scale to zero) are executed if confirmed; review carefully before approving
- The agent template must be reinstalled after major Claude Code updates
Questions fréquentes
The agent handles deployment configurations, helm chart creation and modification, pod troubleshooting, scaling operations, service and ingress setup, monitoring configuration, and general cluster management tasks.
Yes. The agent works with any Kubernetes cluster accessible via kubectl, including EKS, GKE, AKS, and self-hosted clusters. It uses standard kubectl commands and Kubernetes APIs.
This agent has direct access to your cluster via kubectl and can read your actual manifests, logs, and events. It operates on real state rather than generating generic advice from training data.
Yes. The agent template installs as a SKILL.md file that you can edit to add custom rules, preferred patterns, or organization-specific conventions for your Kubernetes deployments.
Yes. The agent understands Helm 3 chart structures, values files, and templating syntax. It can create new charts, modify existing ones, and troubleshoot template rendering issues.
Sources citées (3)
- Claude Code Templates— Part of the Claude Code Templates collection
- Anthropic Docs— Claude Code agent capabilities and tools
- Kubernetes Docs— Kubernetes official documentation
En lien sur TokRepo
Fil de discussion
Actifs similaires
Claude Code Agent: Supabase Schema Architect
Supabase database schema design specialist. Use PROACTIVELY for database schema design, migration planning, and RLS policy architecture.
Claude Code Agent: Academic Researcher
Academic research specialist for scholarly sources, peer-reviewed papers, and academic literature. Use PROACTIVELY for research paper analysis, literature reviews, citation...
Claude Code Agent: Postgres Pro
Use when you need to optimize PostgreSQL performance, design high-availability replication, or troubleshoot database issues at scale. Invoke this agent for query optimization,...
pbi-cli — Power BI Skills for Claude Code
pbi-cli is a Python CLI that installs Claude Code skills for Power BI models and PBIR reports. Get started with pipx + `skills install`.