Docker and Kubernetes
10 videosA step-by-step path from containers to Kubernetes: why Docker, how container runtimes work, why we orchestrate, then the control plane, etcd, the scheduler and controllers.
Start here: Why Docker? →Containers
1:171Why Docker?
Images, containers, layers, and why containers are lighter than virtual machines.
2:212Why container runtimes?
Docker is one way to run containers, not the only container runtime: the OCI standards, high-level (containerd, CRI-O) vs low-level (runc) runtimes, Podman, and which runtime Kubernetes uses by default.
1:283Why Kubernetes?
Why we orchestrate containers: declarative desired state, scheduling, self-healing, scaling, rolling updates and services.
Kubernetes internals
1:304Inside Kubernetes
The control plane and the nodes: API server, etcd, scheduler, controllers and kubelet, and how a pod gets created.
1:305What does etcd do?
etcd as the Kubernetes database: keys, leader election, Raft quorum, watches and backups.
1:096How the scheduler works
How kube-scheduler picks a node for a pod: filtering, scoring, binding, and how to influence it.
1:217Controllers and reconciliation
The control loop at the heart of Kubernetes: desired vs actual state, Deployments, ReplicaSets and the kubelet.
Deploy and scale
2:258Deployment strategies and zero downtime
Recreate, rolling update, blue-green and canary deployments in Kubernetes, and how readiness probes, maxUnavailable 0, graceful shutdown and PodDisruptionBudgets give zero-downtime releases.
2:349Load balancers, sessions and Redis
How a load balancer spreads traffic, why in-memory sessions and sticky sessions break, how Redis as a shared session store fixes it, and how Services, Ingress and stateless pods fit together in Kubernetes.
2:1610How Kubernetes autoscaling works
The HPA formula and its metrics, requests and scale-down stabilisation, the Vertical Pod Autoscaler, the Cluster Autoscaler and Karpenter for nodes, and KEDA for event-driven scaling.