Master Kubernetes deployments for managing containerized applications at scale, including multi-container services, resource allocation, health checks, and rolling deployment strategies.
Detailed implementations in the references/ directory:
Guide
Contents
Complete Deployment with Resource Management
Complete Deployment with Resource Management
Deployment Script
Deployment Script
Service Account and RBAC
Service 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
Converted and distributed by TomeVault — claim your Tome and manage your conversions.
1---2name: aj-geddes-useful-ai-prompts-kubernetes-deployment3description: Kubernetes Deployment4---56# Kubernetes Deployment78## Table of Contents910- [Overview](#overview)11- [When to Use](#when-to-use)12- [Quick Start](#quick-start)13- [Reference Guides](#reference-guides)14- [Best Practices](#best-practices)1516## Overview1718Master Kubernetes deployments for managing containerized applications at scale, including multi-container services, resource allocation, health checks, and rolling deployment strategies.1920## When to Use2122- Container orchestration and management23- Multi-environment deployments (dev, staging, prod)24- Auto-scaling microservices25- Rolling updates and blue-green deployments26- Service discovery and load balancing27- Resource quota and limit management28- Pod networking and security policies2930## Quick Start3132Minimal working example:3334```yaml35# kubernetes-deployment.yaml36apiVersion: apps/v137kind: Deployment38metadata:39 name: api-service40 namespace: production41 labels:42 app: api-service43 version: v144spec:45 replicas: 346 strategy:47 type: RollingUpdate48 rollingUpdate:49 maxSurge: 150 maxUnavailable: 051 selector:52 matchLabels:53 app: api-service54 template:55 metadata:56 labels:57 app: api-service58 version: v159 annotations:60// ... (see reference guides for full implementation)61```6263## Reference Guides6465Detailed implementations in the `references/` directory:6667| Guide | Contents |68|---|---|69| [Complete Deployment with Resource Management](references/complete-deployment-with-resource-management.md) | Complete Deployment with Resource Management |70| [Deployment Script](references/deployment-script.md) | Deployment Script |71| [Service Account and RBAC](references/service-account-and-rbac.md) | Service Account and RBAC |7273## Best Practices7475### ✅ DO7677- Use resource requests and limits78- Implement health checks (liveness, readiness)79- Use ConfigMaps for configuration80- Apply security context restrictions81- Use service accounts and RBAC82- Implement pod anti-affinity83- Use namespaces for isolation84- Enable pod security policies8586### ❌ DON'T8788- Use latest image tags in production89- Run containers as root90- Set unlimited resource usage91- Skip readiness probes92- Deploy without resource limits93- Mix configurations in container images94- Use default service accounts9596---97> Converted and distributed by [TomeVault](https://tomevault.io/claim/aj-geddes) — claim your Tome and manage your conversions.98<!-- tomevault:4.0:skill_md:2026-04-11 -->
Run npx skillmds@latest add tomevault-io/aj-geddes-useful-ai-prompts-kubernetes-deployment in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Kubernetes Deployment It is listed under DevOps & Infra on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
tomevault-io (@tomevault-io) published this skill. Their other Agent Skills are listed on their SkillMD profile.