Claude Code Agent: K8s Specialist — Kubernetes Operations
Claude Code agent for Kubernetes. Deployment configs, helm charts, troubleshooting, scaling, monitoring, and cluster management.
先审查再安装
这个资产需要先审查。复制的指令会要求 Agent dry-run、列出写入项,确认后再继续。
npx -y tokrepo@latest install cc023b17-6783-4399-b7de-6e56d06d4a43 --target codex先 dry-run,确认写入项后再运行此命令。
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
常见问题
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.
引用来源 (3)
- Claude Code Templates— Part of the Claude Code Templates collection
- Anthropic Docs— Claude Code agent capabilities and tools
- Kubernetes Docs— Kubernetes official documentation
来源与感谢
Created by Claude Code Templates by davila7. Licensed under MIT. Install:
npx claude-code-templates@latest --agent devops-infrastructure/kubernetes-specialist --yes
讨论
相关资产
Claude Code Agent: SEO Specialist — Technical SEO Audit
Claude Code agent for technical SEO. Audit meta tags, structured data, Core Web Vitals, crawlability, and content optimization.
Claude Code Agent: Search Specialist — Build Search Systems
Claude Code agent for building search systems. Vector search, semantic retrieval, embedding strategies, and ranking optimization.
Claude Code Agent: ML Engineer — Model Training & Deployment
Claude Code agent for machine learning. Model training, hyperparameter tuning, experiment tracking, and production deployment pipelines.
Claude Code Agent: Product Manager — PRDs & User Stories
Claude Code agent for product management. Write PRDs, user stories, acceptance criteria, and roadmaps from technical context.