GUIDE · 45Advanced
Custom Resource Definitions (CRDs)
Register new API types, structural schema validation, status subresource, printer columns, and multi-version CRDs with conversion webhooks.
You'll learn
- kubectl get mydatabase works exactly like kubectl get pods — same API
- Structural schema: type every field — enables pruning and defaulting
- Status subresource: only controllers can update status, not kubectl apply
- Printer columns: kubectl get shows Phase, Engine, Replicas, not just NAME/AGE
GUIDE · 46Advanced
Building Kubernetes Operators
The reconcile loop pattern, kubebuilder scaffolding, owner references, finalizers, status conditions, and when a Helm chart is enough.
You'll learn
- Reconcile() must be idempotent — called any number of times safely
- Owner references: child resources GC'd automatically when CR is deleted
- Finalizers: block deletion until external cleanup (RDS, DNS) is done
- Check operatorhub.io first — cert-manager, postgres-operator already exist
GUIDE · 47Advanced
Admission Webhooks
Validating vs mutating webhooks, AdmissionReview wire format, TLS with cert-manager, failurePolicy lockout risks, and CEL ValidatingAdmissionPolicy.
You'll learn
- Mutating runs before validating — shape is final by validation time
- failurePolicy: Fail + webhook down = cluster lockout — exclude kube-system
- CEL ValidatingAdmissionPolicy: no webhook server, no TLS, no process
- cert-manager injects caBundle automatically via annotation
GUIDE · 48Advanced
Scheduler, Affinity & Taints
Filter and score pipeline, node and pod affinity, taints NoSchedule vs NoExecute, topology spread constraints, and custom scheduler profiles.
You'll learn
- Filter removes infeasible nodes; Score ranks the rest — Pending = all filtered
- Required affinity is a filter; preferred affinity is a score weight
- NoSchedule repels new pods; NoExecute also evicts running pods
- Topology spread: maxSkew: 1 across zones without hard per-zone limits
GUIDE · 49Advanced
Service Mesh with Istio
Istiod control plane, Envoy data plane, VirtualService routing, DestinationRule subsets, weighted canary splits, circuit breaking, and fault injection.
You'll learn
- xDS API: Istiod pushes routing config to Envoy sidecars in real time
- VirtualService: route by header, path, weight — independent of replica count
- OutlierDetection: eject backends that return 5xx — automatic circuit breaking
- Fault injection: add 500ms delay to 10% of requests without touching code
GUIDE · 50Advanced
GPU Workloads on Kubernetes
NVIDIA device plugin, GPU resource requests, time-slicing for shared access, MIG hardware partitioning, DCGM metrics, and spotting idle GPU waste.
You'll learn
- GPU resources go in limits only — requests ignored by scheduler
- Time-slicing: 4 pods share 1 GPU — no memory isolation, shared VRAM
- MIG: A100 split into up to 7 isolated instances with dedicated memory
- Alert when GPU util < 10% for 30 min — expensive idle allocation
GUIDE · 51Advanced
Knative & Serverless on Kubernetes
Knative Serving for scale-to-zero HTTP workloads, traffic splitting across revisions, Knative Eventing broker/trigger routing, and KEDA for Kafka/SQS-driven autoscaling.
You'll learn
- Scale-to-zero: activator buffers requests during cold start (1–3s)
- Knative revision = immutable snapshot; route splits traffic across revisions
- KEDA ScaledObject: 0 → 30 pods based on Kafka lag, no code changes
- Serverless fits bursty webhooks; wrong fit for WebSocket or stateful services
GUIDE · 52Advanced
Kubernetes Internals Deep Dive
API server admission pipeline, etcd watch mechanics, informer cache and work queue pattern, controller-manager loops, kubelet CRI flow, and iptables Service routing.
You'll learn
- 6-stage API server pipeline: authn → authz → mutating → validate → validating → etcd
- Informer = List+Watch + local cache — controllers never query API directly
- Work queue deduplicates 100 updates into 1 reconcile — no API storms
- kube-proxy: DNAT in kernel netfilter — no userspace proxy involved
Monthly digest · no spam
New guides, delivered when they ship.
One email per month. Summary of what's new, links to the deep-dive guides, and a handful of real-world K8s problems + answers from the team.
Next up
→ Deployments & rolling updates
→ Services & kube-proxy internals
→ RBAC from first principles
Recent
→ Pods — The Atomic Unit
→ kubectl patterns for DevOps