Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
aj-geddes avatar

Kubernetes Deployment

  • 677 installs
  • 305 repo stars
  • Updated March 4, 2026
  • aj-geddes/useful-ai-prompts

kubernetes-deployment is a Claude Code skill that generates production-grade Kubernetes Deployment manifests with rolling updates, replicas, and health checks for developers shipping containerized services.

About

kubernetes-deployment is a useful-ai-prompts skill for deploying and scaling containerized applications on Kubernetes with production workload practices. The skill helps agents author Deployment manifests covering replica counts, rolling update strategies, liveness and readiness probes, resource requests and limits, and namespace-aware operations for multi-environment clusters. Developers reach for kubernetes-deployment when moving services from Docker images to orchestrated production deployments without hand-writing boilerplate YAML each time. Reference guides and best practices in the readme emphasize multi-container services, health checks, and controlled rollouts suited to long-running APIs and web backends.

  • Production Deployment YAML with replicas, labels, and RollingUpdate (maxSurge / maxUnavailable)
  • Multi-environment patterns (dev, staging, prod) and namespace organization
  • Health checks, service discovery, load balancing, and resource quotas
  • Rolling, blue-green, and auto-scaling oriented guidance
  • Table of contents structure: overview, when to use, quick start, reference guides, best practices

Kubernetes Deployment by the numbers

  • 677 all-time installs (skills.sh)
  • Ranked #225 of 1,435 DevOps & CI/CD skills by installs in the Skillselion catalog
  • Security screen: HIGH risk (skills.sh audit)
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/aj-geddes/useful-ai-prompts --skill kubernetes-deployment

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs677
repo stars305
Security audit3 / 3 scanners passed
Last updatedMarch 4, 2026
Repositoryaj-geddes/useful-ai-prompts

How do you write production Kubernetes Deployment manifests?

Generate and refine production-grade Kubernetes Deployment manifests with rolling updates, replicas, health checks, and namespace-aware ops for solo-run services.

Who is it for?

Platform and backend developers shipping containerized APIs or web services to Kubernetes with production rollout and health-check requirements.

Skip if: Developers only running local Docker Compose or serverless deploys without a Kubernetes cluster should skip this skill.

When should I use this skill?

A developer asks for Kubernetes Deployment YAML with rolling updates, replica scaling, health probes, or namespace-aware production configuration.

What you get

Kubernetes Deployment YAML with replica specs, rolling update strategy, liveness/readiness probes, and resource requests/limits.

  • Kubernetes Deployment manifests
  • Probe and resource limit configurations

Files

SKILL.mdMarkdownGitHub ↗

Kubernetes Deployment

Table of Contents

Overview

Master Kubernetes deployments for managing containerized applications at scale, including multi-container services, resource allocation, health checks, and rolling deployment strategies.

When to Use

  • Container orchestration and management
  • Multi-environment deployments (dev, staging, prod)
  • Auto-scaling microservices
  • Rolling updates and blue-green deployments
  • Service discovery and load balancing
  • Resource quota and limit management
  • Pod networking and security policies

Quick Start

Minimal working example:

# kubernetes-deployment.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
  name: api-service
  namespace: production
  labels:
    app: api-service
    version: v1
spec:
  replicas: 3
  strategy:
    type: RollingUpdate
    rollingUpdate:
      maxSurge: 1
      maxUnavailable: 0
  selector:
    matchLabels:
      app: api-service
  template:
    metadata:
      labels:
        app: api-service
        version: v1
      annotations:
// ... (see reference guides for full implementation)

Reference Guides

Detailed implementations in the references/ directory:

GuideContents
Complete Deployment with Resource ManagementComplete Deployment with Resource Management
Deployment ScriptDeployment Script
Service Account and RBACService Account and RBAC

Best Practices

✅ DO

  • Use resource requests and limits
  • Implement health checks (liveness, readiness)
  • Use ConfigMaps for configuration
  • Apply security context restrictions
  • Use service accounts and RBAC
  • Implement pod anti-affinity
  • Use namespaces for isolation
  • Enable pod security policies

❌ DON'T

  • Use latest image tags in production
  • Run containers as root
  • Set unlimited resource usage
  • Skip readiness probes
  • Deploy without resource limits
  • Mix configurations in container images
  • Use default service accounts

Related skills

How it compares

Choose kubernetes-deployment for hand-authored Deployment YAML patterns; choose Helm or GitOps skills when templating multi-chart releases across environments.

FAQ

What does kubernetes-deployment generate?

kubernetes-deployment generates production-grade Kubernetes Deployment manifests with replica management, rolling updates, liveness and readiness probes, resource allocation, and namespace-aware configuration for containerized services.

When should developers use kubernetes-deployment?

kubernetes-deployment fits container orchestration when shipping multi-environment workloads to Kubernetes clusters. The skill targets production deployments with health checks and controlled rollouts rather than local-only containers.

Is Kubernetes Deployment safe to install?

skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

DevOps & CI/CDdeployinfra

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.