Kubernetes Workload Patterns
Created by CodeCraft LLCDesign and review Kubernetes workloads
Product and technology names are trademarks of their respective owners, used only to identify what this skill covers. CodeCraft LLC is not affiliated with or endorsed by them.
by Jace (@jamick)v1.5.2 · updated 2026-12-01Report copyright infringement
Description
Design and review Kubernetes workloads - choosing Deployment, StatefulSet, DaemonSet, Job or CronJob, correct Deployment manifests (immutable selectors, pinned images, zero-downtime rolling updates, graceful shutdown), resource requests and limits (CPU throttling vs OOMKilled, QoS classes, sizing from observed usage), startup, readiness and liveness probes and their endpoints, HorizontalPodAutoscaler with stabilization windows, PodDisruptionBudgets, topology spread across nodes and zones, ConfigMaps and Secrets as env vars or volumes, and least-privilege pods (security contexts, Pod Security Admission, NetworkPolicies). Use whenever the user writes or reviews Kubernetes YAML, Helm charts or Kustomize overlays, sees OOMKilled, CrashLoopBackOff, pods restarting or stuck Pending, has downtime during deploys or node drains, sets up autoscaling, asks about probes, requests and limits, or hardens pods (runAsNonRoot, read-only filesystem, NetworkPolicy).
Included with all-access
$15.00 one-time, permanent access
or
Buy 2 or more together for up to 40% off · View cart
You get a licence, not ownership. Access lasts while this skill is available on AiSkillz; if it's removed within 90 days of purchase, we'll send you a copy to keep. Terms
Official and free skills are included with the all-access subscription
Changelog
Subscribers also see which files changed in each version.
v1.5.2Dec 1, 2026Latest
Added
- README: a **Sources** line listing the official pages the skill is written from, each link checked, so the source-overlap check can run against them.
v1.5.1Nov 29, 2026
Changed
- Added a contents list to reference files over 100 lines (
pod-security.md,manifests-and-config.md), so a partial read still shows every section.
v1.5.0Nov 28, 2026
Fixed
- The Deployment example's
preStophook ran/bin/sh -c "sleep 5", which fails in distroless and chiseled images (no shell) - the images thedockerskill recommends. It now uses the kubeletsleephandler.
Changed
- Checked against kubernetes.io releases, the lifecycle-hook, sidecar, in-place resize and HPA docs, and the blog (November 2026). Supported minors are 1.35-1.37; 1.34 is end of life.
- Grace-period rule: the countdown starts before the preStop hook.
- Deep-dive section made on-demand with open/skip triggers.
Added
- Native sidecars (stable 1.33), in-place pod resize (stable 1.35), HPA
tolerance(stable 1.37); pitfalls and checklist items.
v1.4.0Nov 20, 2026
Added
- Review method: every code review starts by mapping the code flows in scope and gives each flow its own sub-agent at high effort, which reviews that flow end to end against this checklist; the main agent merges, re-checks Blockers and de-duplicates. Covers single-flow reviews, nested sub-agents, failed sub-agents and environments without sub-agents.
v1.3.0Nov 6, 2026
Changed
- Review report rule: reviews that cover changes (a diff, PR or uncommitted work) open with a short "What the changes do" section - factual bullets grouped by purpose, inferred intent marked, deploy or migration impact stated.
v1.2.0Nov 4, 2026
Changed
- Review report rule at the top of the skill, loaded before any review: one entry per finding as
Level · type · file:line · finding · proposed fix, outside facts sourced or marked unverified, and no narrative.
v1.1.0Oct 18, 2026
Added
references/pod-security.md: pod and container security contexts (non-root, read-only root filesystem, dropped capabilities, seccomp), turning off the service-account token, Pod Security Admission, default-deny NetworkPolicies with the DNS exception, and what breaks when you tighten them.- A least-privilege core rule, two pitfalls and three review checklist items.
v1.0.0Oct 16, 2026
Added
- First release.