Topic

Kubernetes

Workloads, batch jobs, scheduling, Pod networking, Services, DNS, kube-proxy, network policies, configuration, storage, Ingress, scaling, access control, Helm, building a cluster and Calico.

  • 20 hands-on labs
  • Beginner to advanced
  • 1 Academy course
  • DevOps plan

Opens with the DevOps plan. Cloud, AI, Data and Teams include it too.

Labs

20 labs in order. Beginner to advanced.

Each lab is a real machine built only for you, with a guide and checks that read what you actually did.

  1. Beginner

    Kubernetes first steps

    Your first hour with Kubernetes: a cluster, a namespace, a Pod with labels, a Deployment that keeps three copies running, and reading what the API knows.

  2. Intermediate

    Kubernetes with KIND

    Create a Kubernetes cluster of two nodes with KIND, run your app as a Deployment with two replicas and a ConfigMap, reach it through a Service, roll out a new version and install it again with Helm.

  3. Intermediate

    How Pods talk

    Look underneath the Kubernetes network model: every Pod has an address the whole cluster can reach without NAT. See how a node's Pod range, routes between nodes and a veth per Pod make that true, then put Pods on a node's own address in two different ways.

  4. Intermediate

    Services in depth

    A Service is a stable name and address in front of Pods that come and go. Look at the EndpointSlices behind one, then use the options production clusters need: stable Pod names, sticky clients, the client's real address, servers outside the cluster and names that point elsewhere.

  5. Intermediate

    CoreDNS and Pod DNS

    Follow a short name from a Pod's resolver to CoreDNS, see what ndots costs and how a Pod can change it, then shape the cluster's DNS: a name from a hosts list, a zone handed to another server and a log of every question.

  6. Intermediate

    Configuration and storage

    Keep settings, secrets and data out of images: ConfigMaps as variables and files, a Secret as a file, a volume claim that survives restarts and a StatefulSet with storage per replica.

  7. Intermediate

    Ingress and network policies

    Bring web traffic into a cluster with an Ingress controller: host routing, HTTPS from a Secret, and NetworkPolicies so only the controller reaches your apps.

  8. Intermediate

    Jobs, CronJobs, DaemonSets and sidecars

    Run the Kubernetes workloads that are not web servers: an indexed Job that splits work into numbered parts, a CronJob that never overlaps, a DaemonSet with an agent on every node and a pod with an init container and a native sidecar.

  9. Advanced

    Health checks and autoscaling

    Make an app production ready on Kubernetes: readiness and liveness probes, requests and limits, metrics-server, an autoscaler that reacts to real load and a disruption budget.

  10. Advanced

    Scheduling: labels, taints, affinity and spread

    Decide where Pods run: label nodes into zones, pin a database to the node with the right disk, reserve that node with a taint, spread a web app across zones, keep replicas apart and read the scheduler's own reasons to fix a Pending Pod.

  11. Advanced

    Access control and multi tenancy

    Share a cluster safely: least privilege for a deploy pipeline and for a person, a quota and default limits per team, and the restricted Pod Security standard.

  12. Advanced

    Network policies in depth

    Lock a namespace down and open it again one connection at a time, proving every rule with real traffic: DNS, one port of a Pod, a monitoring Pod in another namespace, a service outside the cluster and a range of ports. Along the way, meet the one line of YAML that turns AND into OR.

  13. Advanced

    kube-proxy: iptables, nftables and traffic policies

    A Service's address exists only as rules kube-proxy writes on every node. Read them in iptables mode and in nftables mode, then use the two policies that decide which endpoints a client may reach: the client's own node, or the client's own zone.

  14. Advanced

    Writing Helm charts

    Write your own Helm chart: templates and values, one chart for staging and production, upgrades with a history, a rollback in one command and a packaged release.

  15. Advanced

    Helm templates: helpers, logic and schemas

    Rebuild a copy and paste chart into one that installs twice side by side: named templates and recommended labels, a map rendered with range, an optional component, YAML blocks from values, a values schema and a checksum that rolls Pods when settings change.

  16. Advanced

    Helm releases: dependencies, hooks, tests and registries

    Run a Helm release the way production does: a chart with a dependency, a hook that seeds data after every install and upgrade, a chart test, an upgrade that rolls itself back when it fails and a chart served from your own OCI registry.

  17. Advanced

    Build a Kubernetes cluster with kubeadm

    Build a Kubernetes cluster of three VMs yourself: prepare each node, install kubeadm from its signed repository, create the control plane, join two workers, add Calico, label the workers and run an app across them.

  18. Advanced

    Calico networking on three servers

    Build a kubeadm cluster on three VMs with Calico's BGP network, then work with what Calico adds to Kubernetes: the BGP mesh and IPIP routes, IP pools a namespace can choose, a switch to VXLAN on a live cluster, the address blocks each node owns, and policies for the whole cluster.

  19. Advanced

    Kubernetes troubleshooting

    Diagnose five classic Kubernetes failures the way an on call engineer does: a bad image, a crash loop, a Pod that cannot be scheduled, a Service with no endpoints and a missing ConfigMap.

  20. Advanced

    Fix broken cluster networking

    A project that brings the Kubernetes networking labs together: a namespace whose services all fail from a client Pod's point of view, each for a different reason, found by working from the error message down to the policy, Service, endpoints, Pod and process.

Academy

Read the lessons first.

  • Kubernetes in production

    Understand workloads, Services, cluster bootstrap, and troubleshooting.

    Intermediate · 4 lessons · 52 min

Guides

Keep the details close.

  • Guide

    A deployment that’s ready for more

    A Deployment and Service with resource limits and health probes.

    Sign in to open it

Learning paths

On these learning paths.