Skip to main content

All lessons

Flows that are hard to follow in text, shown as diagrams that move one step at a time. Each lesson takes about 10 minutes. Press Next to bring in components and send requests across the diagram, or turn on ▶ Autoplay and watch it like a video.

The tracks go from easy to hard. New to Kubernetes? Start at the top. Already comfortable? Jump to whatever you are curious about. Finished lessons get a ✓.

Foundations: web, servers, containers​

Web requests, TCP/IP layers, DNS, crypto basics, HTTPS, servers to containers, Linux basics and SSH, Linux isolation, images and Dockerfiles, Git and CI/CD. What to know before Kubernetes.

01

When You Type an Address

One web request’s journey: DNS lookup, connection, HTTP request, load balancer and status codes.

~8 min9 stepsBeginner
02

Under One Request: TCP/IP Layers

Segments, packets and frames, ports, IPs and MACs, the handshake, and refused vs timed out.

~12 min10 stepsBeginner
03

How DNS Finds an Address

Stub resolver, recursive resolver, root, TLD and authoritative servers, TTL caching, and NXDOMAIN vs SERVFAIL vs timeout.

~10 min10 stepsBeginner
04

Cryptography a Developer Needs

Hash, HMAC, symmetric and asymmetric keys, signatures and key exchange: what each one guarantees, where you meet it, and the mistakes that break it.

~12 min11 stepsBeginner
05

HTTPS and Certificates

How certificates verify the other side, private certificates and the chain of trust, and what happens when they expire.

~8 min9 stepsBeginner
06

From One Server to Containers

A server’s four resources, processes, virtual machines, and containers that share the kernel.

~8 min9 stepsBeginner
07

Linux Basics for Kubernetes

Processes and signals, what exit codes 127 and 137 mean, root and sudo, rwx permissions and "permission denied", systemd units and where logs live.

~14 min11 stepsBeginner
08

How SSH Keys Get You Into a Server

An ed25519 key pair, authorized_keys and known_hosts, what the host key warning means, ssh-agent, jumping through a bastion, and logging in with no open port 22.

~13 min11 stepsBeginner
09

How Linux Isolates a Container

A container is a host process: namespaces change what it can see, cgroups limit what it can use.

~10 min9 stepsBeginner
10

How an Image Is Built and Run

Dockerfile, layers, names and tags, registries, and how a node pulls and runs it.

~9 min9 stepsBeginner
11

Writing a Good Dockerfile

Cache-friendly layer order, multi-stage builds, small non-root images, signals that reach PID 1, and secrets that never land in a layer.

~12 min11 stepsBeginner
12

From Branch to Merge Request

The collaboration flow of branches, commits, merge requests, reviews, conflicts and tags.

~10 min9 stepsBeginner
13

How a Pipeline Runs

Trigger → build → test → artifact → deploy per environment, and where it stops on failure.

~10 min9 stepsBeginner

App basics: HTTP, auth, data​

HTTP versions, API design, reverse proxies, streaming, logins and tokens, databases, caches, message queues, resilience patterns, distributed systems, microservices. The parts services are built from.

01

HTTP/1.1, HTTP/2 and HTTP/3

Same request, three ways to carry it: keep-alive, HTTP/2 streams over one TCP connection, HTTP/3 over QUIC, and what that means for load balancers.

~10 min10 stepsBeginner
02

Designing HTTP APIs

Resources and methods, status codes that mean something, idempotency keys for payments, cursor pagination, one error format, versioning without breaking clients, and REST vs gRPC vs GraphQL.

~13 min11 stepsBeginner
03

Reverse Proxies and Load Balancing

What a reverse proxy sees at L4 and L7, how it picks and checks backends, why the client IP gets lost, and what 502 and 504 really mean.

~12 min11 stepsIntermediate
04

Long-Lived Connections and Streaming

Polling, SSE, WebSocket and gRPC streams compared, how LLM tokens reach the browser, and why proxies buffer, time out and unevenly spread long connections.

~13 min11 stepsIntermediate
05

How Logging In Works (Sessions, JWT, OIDC)

Password hashes, session cookies versus JWTs, the OIDC authorization code flow with PKCE, three kinds of token, and 401 versus 403.

~12 min9 stepsBeginner
06

What Happens When an App Saves to a Database

Connection pools, query plans and indexes, transactions and the WAL, locks, read replicas and replication lag.

~12 min11 stepsBeginner
07

How an Application Cache Works

Cache-aside reads, invalidation on writes, TTL and eviction, stampedes on a hot key, and the database load when the cache dies.

~12 min10 stepsBeginner
08

How a Message Queue Decouples Services

Topics, partitions and consumer groups, why at-least-once delivery means consumers must be idempotent, consumer lag, and dead-letter queues.

~12 min10 stepsBeginner
09

Making Service Calls Survive Failures

One slow dependency can take down a whole checkout. Timeouts, retries with backoff, circuit breakers, bulkheads, load shedding and fallbacks, and where each one lives.

~13 min11 stepsIntermediate
10

Distributed Systems Basics

Timeouts that tell you nothing, retries that duplicate, replicas that lag, clocks that lie, and the patterns (idempotency keys, versions, outbox) that keep data right.

~14 min11 stepsIntermediate
11

Monolith, Modular Monolith and Microservices

One deploy unit or many: independent deploys and scaling versus network calls, split data, tracing and versioning, and how to migrate with a strangler fig.

~13 min11 stepsBeginner

Cloud basics​

IaaS/PaaS/SaaS, the VPC request path, availability-zone failover, auto scaling groups, IAM, SSO, KMS, object storage, managed databases, CDN, WAF, serverless, hybrid networking, multi-region DR, cost, infrastructure as code, managed Kubernetes.

01

Who Owns What (IaaS · PaaS · SaaS)

From on-premises to SaaS, how the line of responsibility shifts layer by layer.

~8 min9 stepsBeginner
02

How a Request Travels Inside a VPC

Requests and responses through the internet gateway, subnets, security groups and NAT.

~9 min9 stepsBeginner
03

When One Availability Zone Goes Down

How health checks pull traffic and a standby DB is promoted, and what RPO and RTO mean.

~9 min9 stepsBeginner
04

Auto-Scaling VMs (Auto Scaling Groups)

A metric alarm adds VMs, which join the load balancer after health checks.

~9 min9 stepsBeginner
05

Permission Checks on One API Request (IAM)

Authentication, default deny, explicit allow, explicit deny, and temporary credentials.

~9 min9 stepsBeginner
06

Single Sign-On for People (SSO and Federation)

One identity provider for every login, permission sets instead of IAM users, groups mapped to roles, and what really happens when someone leaves.

~12 min11 stepsIntermediate
07

How Cloud KMS Encrypts Your Data (Envelope Encryption)

A key that never leaves the HSM, data keys wrapped by it, the key policy that guards it, and what rotation and deletion really do.

~12 min11 stepsIntermediate
08

How Object Storage Works

Buckets and keys, signed requests, a 403 versus an accidentally public bucket, presigned URLs, versioning and lifecycle rules.

~11 min10 stepsBeginner
09

What a Managed Database Does for You

What the provider runs and what stays yours, why a failover means reconnecting, how restore makes a new instance, and why connections run out before CPU.

~14 min11 stepsIntermediate
10

How a CDN Serves a Request

Nearest edge, cache hit and miss, Cache-Control, revalidation with 304, purge vs versioned files, and keeping private pages out of the cache.

~10 min10 stepsBeginner
11

Protecting a Public Endpoint (WAF and DDoS)

Floods absorbed at the edge, a WAF that reads each HTTP request, rules started in count mode, and an origin that only the WAF can reach.

~12 min10 stepsIntermediate
12

How a Serverless Function Runs

Events, cold and warm starts, concurrency limits and throttling, retries and idempotency, and what you pay for.

~11 min10 stepsIntermediate
13

Connecting Networks: Peering, Transit, VPN and Private Endpoints

Peering, transit hubs, VPN and dedicated links, hybrid DNS, private endpoints, and why routes must exist both ways.

~12 min10 stepsIntermediate
14

When a Whole Region Goes Down

Backups versus replication, the four DR strategies and their RPO/RTO/cost, DNS failover and drills.

~12 min10 stepsIntermediate
15

Where a Cloud Bill Comes From

Compute, storage, data transfer and idle services on the bill, why Kubernetes requests decide node cost, and the FinOps loop.

~11 min11 stepsIntermediate
16

Infrastructure as Code with Terraform

Code, init, plan and apply, shared state with a lock, drift, and why a -/+ in the plan deserves a second look.

~10 min9 stepsIntermediate
17

Managed Kubernetes — Who Runs What

The provider runs the control plane, you run the nodes. How IAM, load balancers, disks, autoscaling and upgrades connect to the cloud.

~11 min10 stepsIntermediate

Kubernetes core​

A lab cluster, desired state, reading manifests, workload types, how a Pod starts, Services and DNS, config and volumes, PV lifecycle, Jobs, the local dev loop.

01

Build a Lab Cluster on Your Laptop

Install a container runtime, kind and kubectl, create a multi-node cluster in containers, load your own image, reach the app and clean up.

~12 min10 stepsBeginner
02

Desired State and the Control Loop

Write the desired state and a controller matches the current state to it. Plus labels and selectors.

~10 min8 stepsBeginner
03

Reading and Applying a Manifest

The four top-level fields of a manifest, how the API server checks them, and how create, apply, diff and server-side apply differ.

~10 min9 stepsBeginner
04

Workload Types

How Deployments, StatefulSets and DaemonSets handle Pods, and how to choose.

~10 min9 stepsBeginner
05

How a Pod Starts

How one kubectl apply goes through the API server, etcd, controllers, scheduler and kubelet to become a running Pod.

~10 min9 stepsBeginner
06

Pulling Images from a Private Registry

Why a private image fails with 401, how imagePullSecrets and credential providers hand the node a login, and why a cached image needs a credential check.

~12 min10 stepsIntermediate
07

How a Request Reaches a Pod

The traffic path from load balancer → Ingress → Service → Pod, and how unready Pods are taken out.

~10 min8 stepsBeginner
08

Finding Services by Name (Service·DNS)

What happens when a Pod calls another service by name, and what changes across namespaces.

~10 min9 stepsBeginner
09

Config and Secrets (ConfigMap · Secret)

Keeping settings outside the image and passing them to Pods, and when changed values take effect.

~8 min9 stepsBeginner
10

How Storage Gets Attached (PVC·PV)

From requesting storage to a volume being created and attached to a Pod, and why data survives Pod death.

~10 min9 stepsIntermediate
11

PersistentVolume Lifecycle and Reclaim Policy

Available, Bound, Released, Failed: what deleting a PVC does to the disk under Delete and Retain, how to save data in time, and how to bind a PV by hand.

~12 min11 stepsIntermediate
12

Run Once and Finish (Job · CronJob)

Tasks that run to completion and stop, retries on failure, and tasks that run on a schedule.

~10 min8 stepsBeginner
13

The Inner Dev Loop on Kubernetes

Save a file and see it running in a cluster seconds later: watch-build-deploy tools, file sync, no registry for kind, and the same manifests as prod.

~11 min10 stepsBeginner

Running workloads​

Probes, requests and limits, rolling updates, self-healing, graceful shutdown, HPA/VPA, node autoscaling, KEDA, StatefulSets, reading and debugging failures.

01

Health checks — alive, and ready for requests?

What startup, readiness and liveness probes each change, and the result of misconfiguring them.

~10 min8 stepsIntermediate
02

Requests and limits

Requests place Pods; limits cap them. Throttling, OOMKilled and QoS eviction.

~10 min9 stepsIntermediate
03

Zero-Downtime Deploys (Rolling Update)

Why service stays up while new Pods start one by one and old ones leave, and how to roll back.

~10 min8 stepsIntermediate
04

Blue/green and canary with core primitives (CKAD)

Deployment strategies with only Deployments and Service selectors, no mesh.

~10 min9 stepsIntermediate
05

When a Pod Dies (Self-Healing)

Who brings things back, and how, when a container dies or a whole node stops.

~10 min9 stepsIntermediate
06

Graceful shutdown — going down without losing requests

How endpoint removal, SIGTERM, preStop and the grace period line up.

~8 min8 stepsIntermediate
07

Multi-container pods — init and sidecar (CKAD)

Init container order, sidecars, and what containers in one Pod share.

~10 min9 stepsIntermediate
08

Scaling with Load (HPA)

Measuring usage, computing the Pod count needed, and where it stops when node resources run out.

~10 min8 stepsIntermediate
09

Adding and Removing Nodes (Cluster Autoscaler vs Karpenter)

A Pending Pod asks for a node. How Cluster Autoscaler and Karpenter answer, why it takes minutes, and what keeps a node from going away.

~13 min10 stepsIntermediate
10

Scaling on Events with KEDA

Scale consumers on queue backlog instead of CPU, down to zero. How KEDA feeds the HPA, and what happens when the queue cannot be reached.

~13 min11 stepsIntermediate
11

Automatic Pod Sizing (VPA)

Adjusting CPU and memory size rather than count, and why defined and actual values can look different.

~9 min9 stepsIntermediate
12

StatefulSets and databases

Pods that start in order, stable names, and a volume that follows each Pod.

~9 min8 stepsIntermediate
13

Reading status in three layers and the troubleshooting order

Reading Pod phase, container state and reason, and whether to check events or logs first.

~10 min8 stepsIntermediate
14

Debugging a Running Pod with kubectl debug

When kubectl exec has no shell to run: ephemeral containers, Pod copies with a changed command, node debugging Pods, and what you must clean up.

~12 min11 stepsIntermediate

Networking & service mesh​

Service types, Ingress and TLS, Gateway API, NetworkPolicy, egress and dual-stack, Istio sidecars, traffic splitting, gateways and ambient mode, entry points compared.

01

Service Types (ClusterIP · NodePort · LoadBalancer)

Three ways to put a fixed address in front of a group of Pods, and why a mismatched selector leaves zero targets.

~10 min9 stepsBeginner
02

Ingress Rules and TLS

Rules by domain and path, ingress classes, certificate handling, and overlapping rules or missing targets.

~10 min9 stepsBeginner
03

How a Gateway API HTTPRoute Reaches a Pod

GatewayClass, Gateway and HTTPRoute owned by different teams, how a route attaches to a listener, and what status.parents says when it does not.

~12 min9 stepsIntermediate
04

Blocking and Allowing Traffic (NetworkPolicy)

Opening only needed traffic from a default deny, and where to check blocked traffic.

~10 min9 stepsIntermediate
05

Traffic Leaving the Cluster (Egress)

Which source IP the outside world sees, how to lock down egress with policies, and how an egress gateway gives a fixed IP.

~12 min11 stepsIntermediate
06

IPv4/IPv6 Dual-Stack Networking

Why IPv6, what the cluster needs for dual-stack, how Pods and Services get two addresses, and the app bugs that show up first.

~12 min11 stepsAdvanced
07

Service Mesh ① Sidecars and Mutual Authentication

How a proxy next to each Pod handles all traffic for encryption, identity and observability.

~10 min9 stepsIntermediate
08

Service Mesh ② Splitting Traffic

Sending a share to a new version with virtual services and traffic policies, plus retries and timeouts.

~10 min9 stepsIntermediate
09

Service Mesh ③ Mesh Gateway

How an outside request reaches a Pod through the mesh ingress gateway and a virtual service.

~8 min8 stepsIntermediate
10

Service Mesh ④ Ambient Mode Without Sidecars

Join the mesh with a namespace label and no Pod restart, let a per-node ztunnel do mTLS over HBONE, and add a waypoint only where you need L7 rules.

~13 min11 stepsAdvanced
11

Three Entry Points Compared (Ingress · Mesh Gateway · Gateway API)

What Ingress, the mesh gateway and the Gateway API each handle, compared with the same request.

~12 min9 stepsIntermediate

Security & multi-tenancy​

RBAC, ServiceAccount tokens, namespace quotas, Pod Security Standards, secret management, cert-manager, admission policies, supply chain, runtime security, CIS benchmark, sandboxed runtimes, audit logs, threat modeling.

01

Who Can Do What (RBAC)

How requests from people and Pods pass authentication and authorization, roles and bindings, and least privilege.

~10 min9 stepsBeginner
02

How a Pod Proves Who It Is (ServiceAccount Tokens)

Bound, short-lived tokens the kubelet mounts into each Pod, how the API server checks them, 401 versus 403, and OIDC trust for cloud workload identity.

~12 min10 stepsAdvanced
03

Namespaces and Resource Quotas

Dividing into sections and setting limits, and why Pods stop scaling past the limit.

~8 min8 stepsBeginner
04

Pod Security Standards and securityContext

How a namespace security standard rejects risky Pods, and securityContext.

~10 min9 stepsAdvanced
05

Keeping Secrets Safe

Where a Secret really lives, encryption at rest with KMS, who can read it, keeping it out of Git, and syncing and rotating from an external vault.

~12 min10 stepsAdvanced
06

Automatic TLS Certificates with cert-manager

From an Ingress annotation to a signed certificate: Issuer, Certificate, Order, Challenge, HTTP-01 and DNS-01, renewal, and where issuance gets stuck.

~12 min10 stepsIntermediate
07

Admission Policies with CEL and Webhooks

Your own rules at the API server door: CEL policies and bindings, warn before deny, webhook engines, and what breaks when a webhook is down.

~12 min10 stepsAdvanced
08

Image and Supply Chain Security

Scanning, signing and digest pinning, and verifying provenance at deploy time.

~10 min9 stepsAdvanced
09

Runtime security — catching abnormal behavior (CKS)

Falco detection, seccomp and AppArmor blocking, and immutable containers.

~10 min9 stepsAdvanced
10

CIS Kubernetes Benchmark and kube-bench (CKS)

What the CIS Benchmark checks, how to run kube-bench and read its report, and how to fix and verify the usual findings.

~12 min11 stepsAdvanced
11

Sandboxed container runtimes — gVisor, Kata and RuntimeClass (CKS)

Why a shared kernel is the weak spot, how gVisor and Kata add a second kernel, and how RuntimeClass chooses the runtime per Pod.

~12 min11 stepsAdvanced
12

Audit Logs

What each API request leaves behind (who, when, what) and audit policy levels.

~10 min9 stepsAdvanced
13

Viewing the cluster through the 4Cs and a threat model (KCSA·KCNA)

Following an attacker’s path across boundaries and the defenses at each one.

~12 min9 stepsIntermediate

Cluster operations​

Scheduling and topology spread, node drains, kubeadm install and upgrades, node troubleshooting, Helm, Kustomize, GitOps, progressive delivery, observability pipeline, backup and restore, SLO alerts, incident response, chaos engineering, multi-cluster.

01

Which Node Gets the Pod (Scheduling)

Filtering by requests and scoring, and rules that pin Pods to nodes or keep them away.

~10 min8 stepsIntermediate
02

Spreading Pods Across Zones (Topology Spread Constraints)

Keep replicas balanced across zones and nodes with maxSkew. What happens when a zone dies, during a rollout, and why it beats anti-affinity for more than one Pod per zone.

~13 min11 stepsIntermediate
03

Draining Nodes and Upgrading the Cluster

The order of draining and upgrading nodes one by one, and the safeguard against removing too many at once.

~10 min9 stepsIntermediate
04

Building a cluster with kubeadm (CKA)

Node prep, what each kubeadm init phase writes, why Nodes stay NotReady until a CNI, and joining workers and extra control planes.

~14 min11 stepsIntermediate
05

Upgrading a cluster with kubeadm (CKA)

From control plane to workers, the order for moving up one minor version at a time.

~10 min9 stepsIntermediate
06

Node NotReady and component failures (CKA)

Troubleshooting node failures by checking kubelet, the runtime and static Pods in turn.

~10 min9 stepsIntermediate
07

How a Helm Release Is Installed, Upgraded and Rolled Back

Chart plus values becomes manifests, each install or upgrade becomes a revision stored in a Secret, and rollback writes a new revision.

~12 min9 stepsIntermediate
08

Per-environment deploys with Kustomize (CKA·CKAD)

Producing different manifests per environment with base and overlays.

~10 min9 stepsIntermediate
09

Helm and GitOps

Charts and releases, syncing the cluster to Git as the source of truth, and drift.

~10 min9 stepsIntermediate
10

Progressive Delivery with Argo Rollouts

A Rollout that moves traffic step by step, checks a Prometheus success rate on the way, and rolls back by itself when the numbers go bad.

~13 min10 stepsAdvanced
11

How Logs, Metrics and Traces Leave a Pod

Three signals, three paths: log files on the node, Prometheus pulling /metrics, and traces pushed over OTLP.

~12 min11 stepsIntermediate
12

Backing Up and Restoring a Cluster

etcd snapshots, Velero backups of objects and volumes, consistent hooks, and a restore into a new cluster.

~12 min10 stepsAdvanced
13

SLOs and Alert Design

SLIs, SLOs and error budgets, burn-rate alerts, and narrowing down the cause.

~10 min9 stepsAdvanced
14

Incident Response: From Alert to Postmortem

Acknowledge, declare, assign roles, mitigate first, keep people informed, then learn from it in a blameless postmortem.

~12 min11 stepsAdvanced
15

Chaos Engineering on Kubernetes

Steady state, hypothesis, small blast radius, abort on SLO metrics, and what killing Pods, adding latency and draining nodes reveal.

~13 min11 stepsAdvanced
16

Running a Fleet of Clusters

Why one cluster becomes many, how GitOps and Cluster API keep a fleet alike, how Services are found across clusters, and where drift and version skew creep in.

~14 min11 stepsAdvanced

Kubernetes internals​

API request path and APF, leader election, kubelet and CRI, kube-proxy modes, finalizers, CRDs and operators, etcd quorum, certificates, packet path, volume binding, preemption.

01

How an API Request Gets Stored

Through authentication, authorization, admission webhooks and validation into etcd, then out via watch.

~10 min9 stepsAdvanced
02

API Priority and Fairness

Why one noisy client cannot take the API server down: FlowSchemas, priority levels, flows, shuffle-sharded queues and 429 with Retry-After.

~12 min10 stepsAdvanced
03

Deletion Is More Complex Than You Think

Finalizers, owner references, and why objects get stuck in Terminating.

~10 min9 stepsAdvanced
04

CRDs and Operators

Registering a new resource kind and how an operator creates and reconciles child resources.

~10 min9 stepsAdvanced
05

Leader Election with Leases

Why only one replica of a controller acts, how a Lease picks and renews the leader, how failover works, and why a paused leader still needs fencing.

~12 min11 stepsAdvanced
06

Control Plane HA and etcd Quorum

etcd writes by majority agreement, and how many failures it can survive.

~10 min9 stepsAdvanced
07

Cluster Certificate Expiry

Certificate expiry that creeps up silently, what happens that day, and the renewal order.

~10 min9 stepsAdvanced
08

Inside the Node - kubelet, CRI and containerd

How the kubelet drives containerd over the CRI socket, how shims and runc start the process, how PLEG notices changes, and why Pods survive a containerd crash.

~12 min10 stepsAdvanced
09

A Packet from Pod to Pod

CNI, same-node and cross-node paths, and where a Service IP becomes a Pod IP.

~10 min9 stepsAdvanced
10

kube-proxy Modes, from Service IP to Pod IP

What kube-proxy actually programs on each node in iptables, IPVS and nftables mode, how eBPF replaces it, and why conntrack and traffic policy matter.

~14 min10 stepsAdvanced
11

When Volumes Attach, and Failures

Binding modes, and where local volumes and network storage part ways on node failure.

~10 min9 stepsAdvanced
12

Priority and Preemption

How a higher-priority Pod evicts lower ones when there is no room.

~10 min9 stepsAdvanced

AI on Kubernetes · GPU/NPU​

Device plugins and DRA, sharing, monitoring and networking GPUs, distributed training, serving engines, model packaging, training jobs, cold starts, inference requests and routing, LoRA serving, autoscaling, RAG, agents, guardrails, model evaluation.

01

How GPUs and NPUs become node resources (device plugins)

How drivers and device plugins register GPUs/NPUs with the kubelet, and how a Pod gets one by count.

~10 min10 stepsIntermediate
02

Requesting GPUs by Criteria (DRA)

Dynamic resource allocation: requesting and getting GPUs as "devices that meet criteria", not "how many".

~10 min9 stepsAdvanced
03

Getting Accelerators by Criteria (DRA in Depth)

A deployment becomes a device claim, gets a GPU and a network card together, then gives them back.

~10 min10 stepsIntermediate
04

Sharing GPUs

Splitting GPUs as dedicated, MIG or time-slicing, and how the visible metrics differ by method.

~9 min9 stepsIntermediate
05

Sharing Accelerators (Time-Slicing, MPS)

Whole GPU, time-slicing or MPS: three ways to share one card and what each gives up.

~10 min9 stepsIntermediate
06

Monitoring GPUs on Kubernetes

DCGM exporter to Prometheus, metrics that show real GPU work, and the XID and ECC errors that mean a node must be drained.

~13 min11 stepsAdvanced
07

Moving Data Between GPUs

NVLink inside a node, RDMA and GPUDirect across nodes, one NIC per GPU, and how to tell when NCCL quietly fell back to TCP.

~14 min10 stepsAdvanced
08

Getting a Model Ready to Deploy

Pull weights, package them as an image or artifact, and pre-cache them on nodes so serving starts fast.

~10 min9 stepsBeginner
09

From Training Job to Model

A training Job waits in a queue for GPU quota, runs, saves checkpoints and becomes a model version.

~10 min10 stepsIntermediate
10

Training One Model on Many GPUs

Copy the model or shard it, average gradients with all-reduce every step, and why one failed worker stops the whole job.

~14 min11 stepsAdvanced
11

Until a Model First Starts (Cold Start)

Downloading weights, loading them onto the accelerator and warming the engine before the first request, and how to cut that time.

~9 min9 stepsIntermediate
12

Choosing an LLM Serving Engine

What vLLM, SGLang, TensorRT-LLM, TGI and llama.cpp have in common, where they differ, and how to compare them without fooling yourself.

~13 min11 stepsIntermediate
13

From API Request to Response

One inference request through API-key checks, the gateway and a replica to a streamed answer, and where it gets stopped.

~10 min10 stepsBeginner
14

Which Replica Gets the Request (Inference Routing)

How the gateway and endpoint picker (EPP) choose a replica from prefix-cache hits and load.

~10 min9 stepsIntermediate
15

Serving Many LoRA Adapters on One Base Model

Why a LoRA adapter is MBs while the base model is GBs, how one GPU serves many adapters per request, and what swapping, routing and versioning cost.

~12 min10 stepsAdvanced
16

Autoscaling LLM Inference

Scale LLM replicas on waiting requests and KV cache use, not GPU utilization, and plan around cold starts and GPU node delays.

~11 min10 stepsAdvanced
17

How a RAG Pipeline Answers From Your Documents

Chunk, embed and index documents, then retrieve, rerank and hand the best chunks to the LLM, and where answers go wrong.

~14 min11 stepsIntermediate
18

Serving an LLM Agent That Calls Tools

The tool-calling loop step by step, MCP servers that expose tools, why every turn costs another inference request, and the guardrails an agent needs.

~12 min11 stepsIntermediate
19

Guardrails Around an LLM App

Checks before and after the model, where to run them, what they cost, and why the tool behind the agent must still check permissions.

~13 min11 stepsIntermediate
20

Evaluating a Model Before and After Deploy

Build an eval set from real tasks, score it fairly, gate new models, prompts and quantizations in CI, then confirm on a canary with live quality and latency.

~12 min11 stepsIntermediate

How LLM serving works​

Token generation, prefill and decode, KV cache, continuous batching, quantization, speculative decoding, KV offloading, model parallelism, prefill/decode disaggregation.

01

How an Answer Is Built One Token at a Time

Tokenize, predict the next token, sample, append and repeat until the answer is done.

~10 min9 stepsBeginner
02

Reading the Question, Writing the Answer (Prefill and Decode)

Prefill reads the prompt at once, decode writes one token at a time, and how that shows up as TTFT and TPOT.

~10 min9 stepsBeginner
03

How the KV Cache Fills Up

Storing attention results for reuse, block allocation, prefix caching and what happens when it fills up.

~10 min9 stepsIntermediate
04

Batching Requests (Continuous Batching)

Why requests are computed together and how the batch is rebuilt on every iteration.

~10 min9 stepsIntermediate
05

Making a Model Smaller (Quantization)

Fewer bits per weight: how scale factors work, why outliers hurt, what it frees for the KV cache, and why you must re-check accuracy.

~12 min11 stepsAdvanced
06

Guess Ahead, Check Once (Speculative Decoding)

A cheap draft guesses several tokens, the big model checks them in one pass, and acceptance rate decides how much faster decode gets.

~10 min9 stepsAdvanced
07

Offloading Overflowing KV Cache

Moving evicted KV cache to CPU memory, NVMe or shared storage and bringing it back, with the limits.

~10 min9 stepsAdvanced
08

Splitting a Model Across GPUs (TP, PP, EP)

Copy, split each layer, split the layer stack, or spread the experts: four ways to serve a model that does not fit one GPU, and what they cost.

~12 min11 stepsAdvanced
09

Splitting Prefill and Decode (P/D Disaggregation)

Running prefill and decode on different replicas and handing the KV cache across, plus what it needs.

~10 min9 stepsAdvanced

Preparing for a certification?​

The lessons are grouped by topic, but they cover most of the flows on the CNCF exams.

ExamStart with
KCNAFoundations, Cloud basics, Kubernetes core
CKADKubernetes core, Running workloads, Networking & service mesh
CKARunning workloads, Networking & service mesh, Cluster operations, Kubernetes internals
CKS · KCSASecurity & multi-tenancy, plus NetworkPolicy and RBAC

How to use a lesson​

ActionHow
Next / previous stepButtons in the right panel, or click the lesson once and use ← →
Jump to a stepThe numbered timeline under the diagram
Autoplay▶ Autoplay above the diagram, or A
Replay / pause the animationButtons above the diagram, or R · P
Line colorsBlue = request, purple = response/report, dashed teal = watch

If your system has "reduce motion" turned on, you will see lines and text without moving packets.