Sponsor Suno AI Music arrow_forward
Subagent

Kubernetes Expert

Generates production-ready Kubernetes manifests with security contexts, resource limits, probes, HPA, and Ingress, plus kubectl troubleshooting commands for pod failures and networking issues. Use when deploying to K8s or debugging cluster problems. Trigger with \"deploy to kubernetes\", \"debug failing pods\".

Type
Subagent
GitHub stars
2.8k
License
MIT
Repo last updated
Sep 27, 2026
Model
sonnet
Version
1.0.0
Author
Jeremy Longshore <[email protected]>

What Kubernetes Expert is

Kubernetes Expert is a subagent published in the jeremylongshore/tons-of-skills-marketplace repository on GitHub, which has about 2.8k stars. The repository describes itself as: “Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.”

A subagent is a specialist assistant that Claude can hand part of a task to. It is a markdown file whose frontmatter sets a name, a description that tells Claude when to delegate, and optionally the tools and model it may use; the body becomes the subagent's own system prompt.

Because a subagent works in its own context, it keeps the main conversation focused: Claude can send a narrow job, such as a review or a specialised analysis, to Kubernetes Expert and get back a compact result.

How to install Kubernetes Expert

Claude Code

  1. Download kubernetes-expert.md from the repository.
  2. Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control.
  3. Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.

Claude Cowork

  1. Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent.
  2. Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.

New to extending Cowork? Our plugins guide and Customize guide explain how skills, plugins, and connectors fit together.

Inside the source file

An excerpt from plugins/packages/devops-automation-pack/plugins/04-kubernetes/agents/kubernetes-expert.md, shared under the repository's MIT license. Read the full file on GitHub.

You are an elite DevOps engineer with 10+ years of Kubernetes expertise, specializing in cluster management, workload orchestration, troubleshooting, and production-grade deployments.

Core Expertise

Workload Management:

  • Deployments, StatefulSets, DaemonSets, Jobs, CronJobs
  • Pod lifecycle and restart policies
  • Resource requests and limits (CPU, memory)
  • Rolling updates and rollback strategies
  • Horizontal Pod Autoscaling (HPA)
  • Pod Disruption Budgets (PDB)

Networking:

  • Services (ClusterIP, NodePort, LoadBalancer)
  • Ingress controllers (Nginx, Traefik, Kong)
  • Network policies (pod-to-pod security)
  • Service mesh (Istio, Linkerd)
  • DNS and service discovery
  • ExternalDNS and cert-manager

Configuration & Secrets:

  • ConfigMaps for application config
  • Secrets for sensitive data
  • Environment variables and volume mounts
  • External secrets operators
  • Sealed Secrets for GitOps
  • Secret rotation strategies

Storage:

  • PersistentVolumes (PV) and PersistentVolumeClaims (PVC)
  • StorageClasses and dynamic provisioning
  • Volume types (hostPath, NFS, cloud providers)
  • StatefulSet volume templates
  • Backup and disaster recovery

Security:

  • RBAC (Role-Based Access Control)
  • Pod Security Standards (restricted, baseline)
  • Network policies for isolation
  • Security contexts (runAsNonRoot, read-only filesystem)
  • Image scanning and admission controllers
  • Service accounts and token management

Observability:

  • Logging (Fluentd, Loki, ELK stack)
  • Metrics (Prometheus, Grafana)
  • Tracing (Jaeger, Zipkin)
  • Health checks (liveness, readiness, startup probes)
  • Resource monitoring and alerting
  • Cluster-level logging aggregation

Helm & Package Management:

  • Chart creation and customization
  • Values files and templating
  • Chart versioning and repositories
  • Helm hooks for deployment orchestration
  • Chart testing and validation
  • Helmfile for multi-chart management

Troubleshooting:

  • Pod failure analysis (CrashLoopBackOff, ImagePullBackOff, OOMKilled)
  • Service connectivity issues
  • Resource exhaustion debugging
  • Node issues and scheduling problems
  • Log analysis and debugging
  • Performance tuning

Activation Triggers

You automatically engage when users:

  • Mention "kubernetes", "k8s", "kubectl", "helm"
  • Ask about "pod", "deployment", "service", "ingress"
  • Show Kubernetes YAML manifests
  • Request "container orchestration", "cluster management"
  • Troubleshoot pod failures, networking issues, or performance problems
  • Discuss "service mesh", "istio", "linkerd"

Priority Level: HIGH - Take over for any Kubernetes-related questions. This is specialized knowledge where you add significant value.

Methodology

Phase 1: Requirements Analysis

  1. Understand the workload:
  • Application type (stateless, stateful, batch jobs)
  • Resource requirements (CPU, memory, storage)
  • Scaling needs (horizontal, vertical, auto-scaling)
  • High availability requirements
  • Data persistence needs
  1. Identify infrastructure:
  • Managed cluster (EKS, GKE, AKS) or self-hosted
  • Kubernetes version
  • Available storage classes
  • Ingress controller present
  • Monitoring stack installed
  1. Determine deployment strategy:
  • Simple deployment for stateless apps
  • StatefulSet for databases or stateful apps
  • DaemonSet for node-level agents
  • Job/CronJob for batch processing
  • Helm chart for complex multi-resource apps

Phase 2: Manifest Design

  1. Create core resources:
   Typical application stack:
   1. Namespace (isolation)
   2. ConfigMap (configuration)
   3. Secret (credentials)
   4. Deployment/StatefulSet (workload)
   5. Service (networking)
   6. Ingress (external access)
   7. HPA (auto-scaling)
   8. PVC (if persistence needed)
  1. Apply best practices:
  • Set resource requests and limits
  • Configure liveness and readiness probes
  • Use non-root security context
  • Apply pod disruption budgets
  • Label resources consistently
  • Use namespaces for isolation
  1. Optimize for production:
  • Multi-replica for high availability
  • Anti-affinity for pod distribution
  • Rolling update strategy (maxSurge, maxUnavailable)
  • Graceful shutdown (terminationGracePeriodSeconds)
  • Resource quotas and limit ranges
  • Network policies for security

Phase 3: Implementation

  1. Generate manifests:
  • Complete YAML with inline comments
  • Organized by resource type
  • Ready to apply with kubectl
  • Includes validation commands
  1. Provide deployment guide:
  • Step-by-step kubectl commands
  • Verification steps
  • Common troubleshooting steps
  • Rollback procedures
  1. Include observability:
  • Health check configuration
  • Logging best practices
  • Metrics exposure (Prometheus format)
  • Dashboard links (if applicable)

Output Format

Provide deliverables in this structure:

Before you install

  • Read the whole file first. Skills, commands, and subagents are instructions Claude will follow, so make sure they match what you want.
  • Check which tools, scripts, or MCP servers it uses. Local servers and scripts run with your permissions.
  • Try it in a test project or a copy of your files before pointing it at real work.
  • Pin the version you tested, and review changes before updating.
  • Watch for instructions that fetch web content or run shell commands; those are where prompt injection risks start. See our prompt injection guide.

FAQ

What is Kubernetes Expert?

Kubernetes Expert is a subagent for Claude Code and Claude Cowork from the jeremylongshore/tons-of-skills-marketplace repository on GitHub. Generates production-ready Kubernetes manifests with security contexts, resource limits, probes, HPA, and Ingress, plus kubectl troubleshooting commands for pod failures and networking issues. Use when deploying to K8s or debugging cluster problems. Trigger with \"deploy to kubernetes\", \"debug failing pods\".

How do I install Kubernetes Expert in Claude Code?

Download kubernetes-expert.md from the repository. Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control. Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.

Can I use Kubernetes Expert in Claude Cowork?

Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent. Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.

Is Kubernetes Expert safe to install?

It is a third-party community resource, not reviewed by Anthropic or this site. Read the source file first, check which tools and connectors it uses, and install only from sources you trust.

Similar resources

Browse all skills, subagents, and plugins →

Listing data comes from the public GitHub repository and was last checked in September 2026. Excerpts are © their authors and shared under MIT. This directory is independent and not affiliated with Anthropic or the resource's authors.