kubernetes-specialist

Generate and validate Kubernetes manifests, Helm charts, RBAC policies, and GitOps configurations.

Updated Mar 31, 2026
One-click install
npx skills add https://github.com/antoncuranz/opencode-config --skill kubernetes-specialist-antoncuranz
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: kubernetes-specialist
Source: https://github.com/antoncuranz/opencode-config/tree/main/opencode/skills/kubernetes-specialist
Command: npx skills add https://github.com/antoncuranz/opencode-config --skill kubernetes-specialist-antoncuranz

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Deploying and managing Kubernetes workloads requires deep knowledge of manifests, security policies, networking, and tooling, and mistakes like missing resource limits or overly permissive RBAC cause outages and vulnerabilities. ## Core Features & Use Cases - Manifest Generation: Create production-grade Deployments, StatefulSets, Services, Ingress, NetworkPolicies, and RBAC with resource limits, probes, and security contexts built in. - Troubleshooting & Operations: Debug pod crashes, inspect logs and events, validate rollouts, and roll back failed deployments with kubectl workflows. - Ecosystem Coverage: Reference guides for Helm charts, custom operators (CRDs, controller-runtime), service mesh (Istio/Linkerd), GitOps (ArgoCD/Flux), cost optimization (VPA/HPA, spot instances), and multi-cluster management. - Use Case: Ask for a secure deployment of a web app and receive a complete YAML bundle with a dedicated ServiceAccount, least-privilege Role, default-deny NetworkPolicy, and health probes, plus validation commands. ## Quick Start Ask the assistant to create a production-ready Kubernetes Deployment manifest for your application with resource limits, probes, RBAC, and a NetworkPolicy.

Frequently Asked Questions about kubernetes-specialist

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a Kubernetes Deployment with resource limits and probes?

Define a Deployment manifest with containers specifying resources.requests and resources.limits for CPU and memory, plus livenessProbe and readinessProbe HTTP checks. Set securityContext with runAsNonRoot and readOnlyRootFilesystem, then apply with kubectl and verify using kubectl rollout status.

How do I debug a pod that keeps crashing in Kubernetes?

Run kubectl describe pod to inspect events and failure reasons, then use kubectl logs with the --previous flag to view output from the crashed container. Common causes include failed liveness probes, image pull errors, and exceeded memory limits.

What is the difference between ArgoCD and Flux for GitOps?

ArgoCD provides a built-in web UI, AppProject-based multi-tenancy, and centralized architecture, while Flux uses distributed controllers with native ImagePolicy automation and Kubernetes RBAC. Both support Helm and automated sync with prune and self-heal.

How do I restrict network traffic between pods in Kubernetes?

Apply a default-deny NetworkPolicy selecting all pods for Ingress and Egress, then add explicit allow policies using podSelector and namespaceSelector rules for required ports. This enforces zero-trust segmentation between tiers like frontend, backend, and database.

Should I use ConfigMaps or Secrets for application configuration?

Use ConfigMaps for non-sensitive settings like hostnames and feature flags, and Secrets for credentials, tokens, and TLS keys. Never store secrets in ConfigMaps or plain environment variables; mount them as files with restrictive permissions or use External Secrets Operator.

How do I right-size Kubernetes workloads to reduce costs?

Compare kubectl top pods usage against configured requests, then deploy a VerticalPodAutoscaler in recommendation mode to get suggested values. Set requests near average usage with a small buffer, tune HPA stabilization windows, and use spot instances for fault-tolerant workloads.