@tank/kubernetes-mastery
Installation
SKILL.md
Kubernetes Mastery
Core Philosophy
- Declarative over imperative -- Define desired state in YAML manifests. Let controllers reconcile actual state. Never rely on
kubectl runin production; commit manifests to Git. - Least privilege by default -- Every workload gets its own ServiceAccount with minimal RBAC. Run as non-root. Drop all capabilities. Apply Pod Security Standards at namespace level.
- Resource-aware scheduling -- Always set CPU/memory requests (scheduler guarantee) and memory limits (OOM protection). Omit CPU limits for latency-sensitive workloads to avoid throttling.
- Probes are self-healing -- Configure startup probes for slow-init apps, readiness probes to gate traffic, and liveness probes to restart deadlocked processes. Aggressive liveness probes cause restart storms.
- GitOps is the deployment model -- ArgoCD or Flux syncs cluster state from Git. Manual
kubectl applyis for emergencies only. Every change is auditable and reversible.