Kubernetes Deployment Patterns

🌐Community
by nickcrew · vlatest · Repository

Helps with Kubernetes, deployment, patterns as part of deploying and managing cloud infrastructure workflows.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add kubernetes-deployment-patterns npx -- -y @trustedskills/kubernetes-deployment-patterns
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "kubernetes-deployment-patterns": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/kubernetes-deployment-patterns"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

kubernetes-deployment-patterns

What it does

This skill enables AI agents to generate Kubernetes deployment configurations using specific rollout strategies like RollingUpdate, Recreate, and Blue/Green. It ensures applications deploy safely with defined constraints for availability and resource management.

When to use it

  • Zero-downtime updates: Implementing RollingUpdate patterns to replace pods gradually without interrupting service traffic.
  • Database migrations: Using the Recreate pattern to ensure all instances stop before a deployment, preventing data inconsistency during schema changes.
  • High-availability testing: Setting up Blue/Green deployments to switch between stable and new versions instantly for rapid validation.
  • Resource-constrained environments: Configuring specific replica counts and update timeouts to prevent cluster overload during scaling events.

Key capabilities

  • Generates kubectl apply commands for various deployment strategies.
  • Defines maxSurge and maxUnavailable parameters for fine-grained control over rollout speed.
  • Supports pre-stop hooks and post-start lifecycle actions within deployment manifests.
  • Configures readiness probes to ensure new pods pass health checks before traffic is routed.

Example prompts

  • "Create a Kubernetes deployment manifest using the RollingUpdate strategy with a maxSurge of 25% and a maxUnavailable of 0."
  • "Generate a Recreate deployment configuration for a legacy application that requires zero concurrent instances during updates."
  • "Write a Blue/Green deployment setup that routes traffic to the new version only after successful health checks pass."

Tips & gotchas

Ensure your Kubernetes cluster supports the specific deployment strategy you request, as some patterns require additional API server permissions or controller versions. Always test rollout parameters in a staging environment first to verify they align with your actual pod startup times and network latency.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
nickcrew
Installs
36

🌐 Community

Passed automated security scans.