rohitg00/kubectl-mcp-server/k8s-deploy

Claude Code and agent skill by rohitg00/kubectl-mcp-server

Trust tier 2
  • community
LLM review pending
Source check pending

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-deploy

SKILL.md

Kubernetes Deployment Workflows

Comprehensive deployment strategies using kubectl-mcp-server tools, including Argo Rollouts and Flagger for progressive delivery.

Requires the helm_dev, rollouts toolsets: start kubectl-mcp-server with --toolsets default,helm_dev,rollouts (or MCP_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

PriorityRuleImpactTools
1Preview with template before applyCRITICALhelm_template
2Check existing state firstCRITICALkubectl_get, helm_list
3Use progressive delivery for prodHIGHrollout_* tools
4Verify health after deploymentHIGHkubectl_top, kubectl_get
5Keep rollback revision notedMEDIUMhelm_history
6Scale incrementallyLOWkubectl_scale

Quick Reference

TaskToolExample
Deploy from manifestkubectl_applykubectl_apply(yaml, namespace)
Deploy with Helminstall_helm_chartinstall_helm_chart(name, chart, namespace)
Update imagekubectl_patchkubectl_patch(resource_type="deployment", name, ns, patch)
Scale replicaskubectl_scalekubectl_scale(resource_type="deployment", name, ns, replicas=5)
Rollbackkubectl_rolloutkubectl_rollout(action="undo", resource_type="deployment", name, ns)
Canary promotepromote_rolloutpromote_rollout(name, ns)

Standard Deployments

Deploy from Manifest
python
kubectl_apply(manifest_yaml, namespace)
Deploy with Helm
python
install_helm_chart(
name="my-app",
chart="bitnami/nginx",
namespace="production",
values={"replicaCount": 3}
)
Scale Deployment
python
kubectl_scale(resource_type="deployment", name, namespace, replicas=5)
Rolling Update
python
kubectl_patch(
resource_type="deployment", name=name, namespace=namespace,
patch={"spec": {"template": {"spec": {"containers": [{"name": "app", "image": "myapp:v2"}]}}}},
)
kubectl_rollout(action="status", resource_type="deployment", name=name, namespace=namespace)

Progressive Delivery

Argo Rollouts (Recommended)

For canary and blue-green deployments with analysis.

List Rollouts

python
get_rollouts_list(namespace)

Canary Promotion

python
get_rollout_status(name, namespace)
promote_rollout(name, namespace)

Abort Bad Release

python
abort_rollout(name, namespace)

Retry Failed Rollout

python
retry_rollout(name, namespace)

See ROLLOUTS.md for detailed Argo Rollouts workflows.

Flagger Canary

For service mesh-integrated canary releases:

python
get_flagger_canaries(namespace)
get_flagger_canary(name, namespace)

Deployment Strategies

StrategyUse CaseTools
RollingStandard updateskubectl_patch, kubectl_rollout
RecreateStateful appsSet strategy in manifest
CanaryRisk mitigationrollout_* tools
Blue-GreenZero downtimerollout_* with blue-green

See references/STRATEGIES.md for detailed strategy comparisons.

Rollback Operations

Native Kubernetes
python
kubectl_rollout(action="history", resource_type="deployment", name=name, namespace=namespace)
kubectl_rollout(action="undo", resource_type="deployment", name=name, namespace=namespace)
Helm Rollback
python
helm_rollback(name, namespace, revision=1)
Argo Rollouts Rollback
python
abort_rollout(name, namespace)

Health Verification

After deployment, verify health:

python
kubectl_get(resource_type="pods", namespace, label_selector="app=myapp")
kubectl_top(name, namespace)
kubectl_get(resource_type="endpoints", namespace)

Multi-Cluster Deployments

Deploy to specific clusters using context:

python
install_helm_chart(
name="app",
chart="./charts/app",
namespace="prod",
context="production-us-east"
)
install_helm_chart(
name="app",
chart="./charts/app",
namespace="prod",
context="production-eu-west"
)

Example Manifests

See examples/ for ready-to-use deployment manifests:

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

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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/rohitg00/kubectl-mcp-server/k8s-deploy/badge)](https://verified-skill.com/skills/rohitg00/kubectl-mcp-server/k8s-deploy)

Something wrong with this skill or its page? Tell us.