AIS
The Kubernetes Hands-On Part 2 book from the AIS library, with its compass-rose emblem
Kubernetes Hands-On · class

Kubernetes Hands-On Part 2: Running Real Apps

Fifteen short, hands-on episodes that take you from one node to running real apps: where pods land on a cluster of several nodes, data that outlives its pods, jobs and per-node agents, releases without an outage, routing, Helm, Kustomize and autoscaling. Every command is typed live on a real cluster, and each lesson lists them all with what they do.

By the end of Part 2 you can place pods across nodes, keep an app's data, run its jobs and agents, ship a new version without an outage, route traffic to it, package it with Helm or Kustomize, and let it scale with the load, having typed every command yourself.

15 lessons and 4 module checks · about 63 minutes of video

Already have Part 2 or a membership? Sign in.

What's in the class

  • Every lesson's video, with each command and what it does
  • Lesson notes for every lesson, on the page and as a PDF
  • A check at the end of each module, with your best score saved
  • Your progress saved as you go

The class comes with Part 2 or a membership.

Buy Part 2 or get a membership
What you get Buy Part 2 $79 once Membership $29 a month or $290 a year
The Part 2 class online ✓ ✓
Every other class online — ✓
The download: every video in 1080p, the labs and the field guide ✓ —
Yours to keep ✓ While you're a member

Curriculum

Each module in a sentence, then its lessons.

Start here

  • How this class works Locked
  • Set up your lab Locked
  • Where to ask Locked
  1. Module 1 · 4 lessons and a check Scheduling across nodes Build a cluster of several nodes on one machine, then decide where pods run: labels and node affinity, pods kept apart, taints that keep pods off a node, and an even spread across zones.
    • 16 Multi-node clusters with kind Locked
    • 17 Node affinity and pod anti-affinity Locked
    • 18 Taints and tolerations Locked
    • 19 Topology spread constraints Locked
    • Module 1 check · 4 questions Locked
  2. Module 2 · 4 lessons and a check Storage and other workloads Keep data when pods are replaced with persistent volumes, give each pod its own name and disk with a StatefulSet, run work to completion with Jobs and CronJobs, and run one pod on every node with a DaemonSet.
    • 20 Persistent volumes Locked
    • 21 StatefulSets Locked
    • 22 Jobs and CronJobs Locked
    • 23 DaemonSets Locked
    • Module 2 check · 4 questions Locked
  3. Module 3 · 3 lessons and a check Shipping changes safely Start an app only once what it needs is there, run a helper beside it with a native sidecar, and release new versions without an outage: rolling updates, blue-green and canary.
    • 24 Init containers and native sidecars Locked
    • 25 Rolling updates: maxSurge and maxUnavailable Locked
    • 26 Blue-green and canary deployments Locked
    • Module 3 check · 4 questions Locked
  4. Module 4 · 4 lessons and a check Routing, packaging and scaling Route requests by host and path with the Gateway API, package an app with Helm and with Kustomize, and let the Horizontal Pod Autoscaler follow the load.
    • 27 The Gateway API Locked
    • 28 Helm Locked
    • 29 Kustomize Locked
    • 30 Autoscaling with the HPA Locked
    • Module 4 check · 4 questions Locked