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.

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 applyCRITICALtemplate_helm_chart
2Check existing state firstCRITICALget_pods, list_helm_releases
3Use progressive delivery for prodHIGHrollout_* tools
4Verify health after deploymentHIGHget_pod_metrics, get_endpoints
5Keep rollback revision notedMEDIUMget_helm_history
6Scale incrementallyLOWscale_deployment

Quick Reference

TaskToolExample
Deploy from manifestkubectl_applyapply_manifest(yaml, namespace)
Deploy with Helminstall_helm_chartinstall_helm_chart(name, chart, namespace)
Update imageset_deployment_imageset_deployment_image(name, ns, container, image)
Scale replicasscale_deploymentscale_deployment(name, ns, replicas=5)
Rollbackrollback_deploymentrollback_deployment(name, ns, revision=0)
Canary promoterollout_promote_toolrollout_promote_tool(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

scale_deployment(name, namespace, replicas=5)

Rolling Update

set_deployment_image(name, namespace, container="app", image="myapp:v2")

rollout_status(name, namespace, resource_type="deployment")

Progressive Delivery

Argo Rollouts (Recommended)

For canary and blue-green deployments with analysis.

List Rollouts

rollouts_list_tool(namespace)

Canary Promotion

rollout_status_tool(name, namespace)

rollout_promote_tool(name, namespace)

Abort Bad Release

rollout_abort_tool(name, namespace)

Retry Failed Rollout

rollout_retry_tool(name, namespace)

See ROLLOUTS.md for detailed Argo Rollouts workflows.

Flagger Canary

For service mesh-integrated canary releases:

flagger_canaries_list_tool(namespace)
flagger_canary_get_tool(name, namespace)

Deployment Strategies

StrategyUse CaseTools
RollingStandard updatesset_deployment_image, rollout_status
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

rollback_deployment(name, namespace, revision=0)

rollback_deployment(name, namespace, revision=2)

Helm Rollback

rollback_helm_release(name, namespace, revision=1)

Argo Rollouts Rollback

rollout_abort_tool(name, namespace)

Health Verification

After deployment, verify health:

get_pods(namespace, label_selector="app=myapp")

get_pod_metrics(name, namespace)

get_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)16moReviewAdvanced
deployment-engineer44moNo flagsAdvanced
k8s-rollouts16moNo flagsAdvanced
malsori-tekton-deployer02moReviewBeginner

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