Docker kubernetes

From rnavarych/alpha-engineer · View interactive version

Docker kubernetes is an AI agent skill from the GitHub repository rnavarych/alpha-engineer. Docker and Kubernetes production patterns: multi-stage Dockerfile, distroless images, Kubernetes Deployment with resource limits, HPA, liveness/readiness/startup probes, ConfigMaps and Secrets, PodDisruptionBudget, NetworkPolicy, RBAC. Production checklist. Use when containerizing apps, writing K8s

How to use this skill

Skill file

Docker & Kubernetes Production Patterns

When to Use This Skill

Core Principles

  1. Multi-stage builds for small images — builder stage installs dependencies; final stage is minimal; 180MB vs 1.2GB
  2. Resource limits are mandatory — no limits = one pod can starve all others on the node
  3. Readiness != Liveness — readiness controls traffic; liveness triggers restart; startup handles slow init
  4. Pods are ephemeral — never store state in a pod; PVCs for persistence, external services for state
  5. Least privilege RBAC — service accounts with minimum permissions; separate SA per service

References available

Scripts available

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.