Comprehensive Kubernetes (k8s) cluster management skill. Use when working with kubectl, Helm, kustomize, pods, deployments, services, configmaps, secrets, or any Kubernetes operations. Triggers on "k8s", "kubectl get", "helm install", "debug pod", "scale deployment", or cluster troubleshooting questions.
View on GitHubSelect agents to install to:
npx add-skill https://github.com/abatilo/vimrc/blob/main/plugins/abatilo-core/skills/kubernetes/SKILL.md -a claude-code --skill kubernetesInstallation paths:
.claude/skills/kubernetes/# Kubernetes Management Skill This skill provides comprehensive capabilities for managing Kubernetes clusters, resources, and workloads using kubectl, Helm, and Kustomize. ## When to Use This Skill Use this skill when working with: - Kubernetes resources (pods, deployments, services, configmaps, secrets, etc.) - Debugging containerized applications and troubleshooting cluster issues - Helm chart installation, upgrades, and management - kubectl operations (get, describe, apply, create, delete, logs, exec, scale, rollout) - Context and namespace management - Deployment strategies (rolling updates, blue-green, canary) - Configuration management and resource optimization ## How to Use This Skill ### 1. Verify Context and Namespace **Always start by verifying your current context and namespace:** ```bash kubectl config current-context kubectl config view --minify ``` Set namespace if needed: ```bash kubectl config set-context --current --namespace=<namespace> ``` ### 2. Load Appropriate Reference Files Based on the task at hand, load the relevant reference documentation: **For kubectl Operations:** Load [kubectl Reference](./references/kubectl_reference.md) when you need detailed information about: - Getting, describing, creating, updating, or deleting resources - Viewing logs or executing commands in containers - Port forwarding and debugging - Scaling deployments - Managing rollouts and rollbacks - Context and namespace operations - Output formats and filtering **For Helm Operations:** Load [Helm Reference](./references/helm_reference.md) when you need detailed information about: - Installing or upgrading Helm charts - Managing releases (list, status, uninstall, rollback) - Repository management - Chart development and inspection - Values configuration and overrides - Troubleshooting Helm issues **For Common Workflows:** Load [Workflows Reference](./references/workflows.md) when you need guidance on: - Debugging failing pods or services - Deploying applicat