rohitg00/kubectl-mcp-server/k8s-deploy
Claude Code and agent skill by rohitg00/kubectl-mcp-server
- community
Checking that the SKILL.md file is still in the repository.
Deploy and manage Kubernetes workloads with progressive delivery. Use for deployments, rollouts, blue-green, canary releases, scaling, and release management.
Install
npx vskill@latest install rohitg00/kubectl-mcp-server/k8s-deploySKILL.md
Kubernetes Deployment Workflows
Comprehensive deployment strategies using kubectl-mcp-server tools, including Argo Rollouts and Flagger for progressive delivery.
Requires thehelm_dev,rolloutstoolsets: start kubectl-mcp-server with--toolsets default,helm_dev,rollouts(orMCP_TOOLSETS=default,helm_dev,rollouts).
When to Apply
Use this skill when:
- User mentions: "deploy", "release", "rollout", "scale", "update", "upgrade"
- Operations: creating deployments, updating images, scaling replicas
- Strategies: canary, blue-green, rolling update, recreate
- Keywords: "new version", "push to production", "traffic shifting"
Priority Rules
| Priority | Rule | Impact | Tools | |
|---|---|---|---|---|
| 1 | Preview with template before apply | CRITICAL | helm_template | |
| 2 | Check existing state first | CRITICAL | kubectl_get, helm_list | |
| 3 | Use progressive delivery for prod | HIGH | rollout_* tools | |
| 4 | Verify health after deployment | HIGH | kubectl_top, kubectl_get | |
| 5 | Keep rollback revision noted | MEDIUM | helm_history | |
| 6 | Scale incrementally | LOW | kubectl_scale |
Quick Reference
| Task | Tool | Example | |
|---|---|---|---|
| Deploy from manifest | kubectl_apply | kubectl_apply(yaml, namespace) | |
| Deploy with Helm | install_helm_chart | install_helm_chart(name, chart, namespace) | |
| Update image | kubectl_patch | kubectl_patch(resource_type="deployment", name, ns, patch) | |
| Scale replicas | kubectl_scale | kubectl_scale(resource_type="deployment", name, ns, replicas=5) | |
| Rollback | kubectl_rollout | kubectl_rollout(action="undo", resource_type="deployment", name, ns) | |
| Canary promote | promote_rollout | promote_rollout(name, ns) |
Standard Deployments
Deploy from Manifest
Deploy with Helm
Scale Deployment
Rolling Update
Progressive Delivery
Argo Rollouts (Recommended)
For canary and blue-green deployments with analysis.
List Rollouts
Canary Promotion
Abort Bad Release
Retry Failed Rollout
See ROLLOUTS.md for detailed Argo Rollouts workflows.
Flagger Canary
For service mesh-integrated canary releases:
Deployment Strategies
| Strategy | Use Case | Tools | |
|---|---|---|---|
| Rolling | Standard updates | kubectl_patch, kubectl_rollout | |
| Recreate | Stateful apps | Set strategy in manifest | |
| Canary | Risk mitigation | rollout_* tools | |
| Blue-Green | Zero downtime | rollout_* with blue-green |
See references/STRATEGIES.md for detailed strategy comparisons.
Rollback Operations
Native Kubernetes
Helm Rollback
Argo Rollouts Rollback
Health Verification
After deployment, verify health:
Multi-Cluster Deployments
Deploy to specific clusters using context:
Example Manifests
See examples/ for ready-to-use deployment manifests:
- examples/canary-rollout.yaml - Argo Rollouts canary
- examples/blue-green.yaml - Blue-green deployment
- examples/hpa-deployment.yaml - Deployment with HPA
Prerequisites
- Argo Rollouts: Required for
rollout_*tools
``bash kubectl create namespace argo-rollouts kubectl apply -n argo-rollouts -f https://github.com/argoproj/argo-rollouts/releases/latest/download/install.yaml ``
- Flagger: Required for
flagger_*tools
``bash kubectl apply -k github.com/fluxcd/flagger/kustomize/kubernetes ``
Related Skills
- k8s-gitops - GitOps deployments with Flux/ArgoCD
- k8s-autoscaling - Auto-scale deployments
- k8s-rollouts - Advanced progressive delivery
- k8s-helm - Helm chart operations
Security
- Security scanPassed, 96 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingkubernetes-skills/claude/k8s-deploy/SKILL.md
Popularity
- Repository stars
- 853
- Repository forks
- 166
- Repository npm downloads, 7 days
- 360
- 7-day trend score
- 48
Stars and forks are for the whole GitHub repository, not this skill alone. Downloads are for the repository's npm package. Refreshed 20 Mar 2026, 8 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/rohitg00/kubectl-mcp-server/k8s-deploy)