K8

Manages Kubernetes deployments, scaling, and progressive delivery strategies like canary releases.

Install

mkdir -p .claude/skills/k8s-deploy && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/7760" && unzip -o skill.zip -d .claude/skills/k8s-deploy && rm skill.zip

Installs to .claude/skills/k8s-deploy

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Deploy and manage Kubernetes workloads with progressive delivery. Use for deployments, rollouts, blue-green, canary releases, scaling, and release management.
158 chars✓ has a “when” trigger
Advanced

Key capabilities

  • →Perform canary deployments
  • →Manage blue-green traffic shifting
  • →Scale Kubernetes replicas
  • →Roll back failed releases

How it works

Wraps kubectl and progressive delivery tool commands to enforce health checks during deployment phases.

Inputs & outputs

You give it
Deployment manifest and strategy (e.g., canary)
You get back
Applied cluster configurations or rollout status

When to use k8s-deploy

  • →Performing canary deployments
  • →Scaling K8s replicas
  • →Updating container images in production
  • →Rolling back failed deployments

About this skill

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

kubectl_apply(manifest_yaml, namespace)

Deploy with Helm

install_helm_chart(
    name="my-app",
    chart="bitnami/nginx",
    namespace="production",
    values={"replicaCount": 3}
)

Scale Deployment

kubectl_scale(resource_type="deployment", name, namespace, replicas=5)

Rolling Update

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

get_rollouts_list(namespace)

Canary Promotion

get_rollout_status(name, namespace)

promote_rollout(name, namespace)

Abort Bad Release

abort_rollout(name, namespace)

Retry Failed Rollout

retry_rollout(name, namespace)

See ROLLOUTS.md for detailed Argo Rollouts workflows.

Flagger Canary

For service mesh-integrated canary releases:

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

kubectl_rollout(action="history", resource_type="deployment", name=name, namespace=namespace)

kubectl_rollout(action="undo", resource_type="deployment", name=name, namespace=namespace)

Helm Rollback

helm_rollback(name, namespace, revision=1)

Argo Rollouts Rollback

abort_rollout(name, namespace)

Health Verification

After deployment, verify health:

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:

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
    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
    kubectl apply -k github.com/fluxcd/flagger/kustomize/kubernetes
    

Related Skills

When not to use it

  • →Initial K8s cluster creation
  • →Direct infrastructure management (VPCs, Nodes)

Prerequisites

kubectlArgo Rollouts or Flagger installation

Limitations

  • →Requires existing progressive delivery tools
  • →Namespace dependent operations

How it compares

Enforces a workflow that verifies system health before and after updates, preventing downtime compared to raw `kubectl apply`.

Compared to similar skills

k8s-deploy side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
k8s-deploy (this skill)19moReviewAdvanced
deployment-engineer47moNo flagsAdvanced
k8s-rollouts19moNo flagsAdvanced
malsori-tekton-deployer05moReviewBeginner

Try saying

Example prompts that trigger this skill in your AI assistant.

More by rohitg00

View all by rohitg00 →

You might also like

deployment-engineer

sickn33

Expert deployment engineer specializing in modern CI/CD pipelines, GitOps workflows, and advanced deployment automation. Masters GitHub Actions, ArgoCD/Flux, progressive delivery, container security, and platform engineering. Handles zero-downtime deployments, security scanning, and developer experience optimization. Use PROACTIVELY for CI/CD design, GitOps implementation, or deployment automation.

418

k8s-rollouts

rohitg00

Progressive delivery with Argo Rollouts and Flagger. Use when implementing canary deployments, blue-green deployments, or traffic shifting strategies.

15

malsori-tekton-deployer

ancom21c

Submit Malsori releases to the live release broker API and wait for the broker to report terminal status. Use when the user wants to deploy the committed revision of this repository to the home k3s cluster through the standard shared-cluster release path.

00

deployment-pipeline-design

wshobson

Design multi-stage CI/CD pipelines with approval gates, security checks, and deployment orchestration. Use when architecting deployment workflows, setting up continuous delivery, or implementing GitOps practices.

670

k8s-helm

rohitg00

Manage Helm charts, releases, and repositories. Use for Helm installations, upgrades, rollbacks, chart development, and release management.

857

cloudflare-deploy

davila7

Deploy applications and infrastructure to Cloudflare using Workers, Pages, and related platform services. Use when the user asks to deploy, host, publish, or set up a project on Cloudflare.

342

Search skills

Search the agent skills registry