Kubernetes,reconciled.

A study guide you practice in. Learn what each part of a cluster does, drive a simulated one with kubectl, and fix it when it breaks. It all runs here in your browser, with no account and no cluster to set up.

kubectl get deploy,pods --context kind-kx --watch

  1. observe
  2. diff
  3. act
converging
apiVersion: apps/v1
kind: Deployment
metadata:
name: web
spec:
replicas:5
status:
replicas: 0
readyReplicas: 0
  • kx-worker0/4
  • kx-worker20/4
  • kx-worker30/4

Pending, waiting for a node

No pods waiting

  1. 0sScalingReplicaSetdeployment/webScaled up replica set web to 5

Tap a pod to delete it.Select a pod to delete it, or change replicas. The controller notices the difference and closes it.

Practice

Reading gives you the model. These put it to work on the same simulated kind cluster, kx, with nothing to install and no account.

  • Terminal lab

    36 guided labs

    A kubectl terminal on the simulated cluster. Each guided lab sets up a cluster and checks your work step by step.

  • Incidents

    12 incidents

    The pager goes off and a service is down. Acknowledge it, find the root cause from the terminal, fix it, then read the debrief.

  • Puzzles

    34 puzzles

    Short manifest puzzles: spot the bug, fill in what is missing, or predict what the cluster will do.

  • Review

    445 cards

    Spaced review of the lessons you have passed, each card scheduled by how well you remembered it last time.

  • Daily run, not done today

    One a day

    A short run each day: up to 12 review cards that are due, one puzzle and one incident or lab, drawn from what you have unlocked. Finish it to keep a streak.

The path

9 tracks and 62 lessons, in the order they build on each other. Tracks marked as optional context can be skipped. A lesson turns solid when you pass its checks; a track turns solid when every lesson in it has.

  1. Ground floorOptional context

    The two prerequisites, containers and DNS, in the terms Kubernetes uses for them.

    0 of 3 reconciled

    1. Containers in Kubernetes terms, not reconciled
    2. Isolation: namespaces, cgroups and the runtime, not reconciled
    3. DNS in Kubernetes terms, not reconciled
  2. The API and the loop

    How the cluster stores desired state, how you talk to it, and how controllers converge on it.

    0 of 8 reconciled

    1. Desired state and the reconcile loop, not reconciled
    2. Control plane and nodes, not reconciled
    3. API machinery: groups, versions and resource versions, not reconciled
    4. kubectl and kubeconfig, not reconciled
    5. Namespaces, labels and annotations, not reconciled
    6. Declarative management and server-side apply, not reconciled
    7. Owners, finalizers and garbage collection, not reconciled
    8. Custom resources and operators, not reconciled
  3. Pods and workloads

    The pod, its lifecycle, and the controllers that run pods for services, node agents and batch.

    0 of 7 reconciled

    1. Pod anatomy, not reconciled
    2. Pod lifecycle, restarts and termination, not reconciled
    3. Init containers and native sidecars, not reconciled
    4. Probes: startup, readiness and liveness, not reconciled
    5. Deployments and rolling updates, not reconciled
    6. DaemonSets, not reconciled
    7. Jobs and CronJobs, not reconciled
  4. Scheduling and nodes

    How pods land on nodes, what they are guaranteed there, and what happens when a node runs short or goes away.

    0 of 10 reconciled

    1. Requests, limits and quotas, not reconciled
    2. QoS classes and node-pressure eviction, not reconciled
    3. cgroups, memory pressure and the OOM killer, not reconciled
    4. How the scheduler places a pod, not reconciled
    5. Affinity, taints and tolerations, not reconciled
    6. Topology spread constraints, not reconciled
    7. Priority and preemption, not reconciled
    8. Nodes and the kubelet, not reconciled
    9. Disruptions and PodDisruptionBudgets, not reconciled
    10. Cluster autoscaling, not reconciled
  5. Networking

    How pods reach each other, how Services and Gateways route to them, and where DNS and policy fit.

    0 of 8 reconciled

    1. The pod network model, not reconciled
    2. Services, not reconciled
    3. EndpointSlices and kube-proxy, not reconciled
    4. Following a packet through the node, not reconciled
    5. Cluster DNS with CoreDNS, not reconciled
    6. Gateway API and the frozen Ingress API, not reconciled
    7. NetworkPolicies, not reconciled
    8. gRPC, service mesh and mTLS, not reconciled
  6. Config, storage and state

    Getting configuration, secrets and durable data into pods, and running workloads that keep state.

    0 of 6 reconciled

    1. ConfigMaps, not reconciled
    2. Secrets and external secret stores, not reconciled
    3. Volumes inside a pod, not reconciled
    4. PersistentVolumes, claims and StorageClasses, not reconciled
    5. StatefulSets, not reconciled
    6. Snapshots, clones and volume attributes, not reconciled
  7. Security

    Who can call the API, what they may do, what pods may do, and what is allowed to run.

    0 of 6 reconciled

    1. Authentication and service accounts, not reconciled
    2. RBAC, not reconciled
    3. Pod security: securityContext and Pod Security Admission, not reconciled
    4. Admission control and policy, not reconciled
    5. Image supply chain, not reconciled
    6. Audit logging and runtime security, not reconciled
  8. Operate and ship

    Seeing, debugging, scaling, upgrading, backing up and delivering to a running cluster.

    0 of 10 reconciled

    1. Metrics, logs, events and traces, not reconciled
    2. Horizontal pod autoscaling, not reconciled
    3. Right-sizing and in-place resize, not reconciled
    4. A troubleshooting method, not reconciled
    5. kubectl debug and ephemeral containers, not reconciled
    6. Debugging from the node: crictl, journalctl and nsenter, not reconciled
    7. Upgrades and version skew, not reconciled
    8. etcd, backup and disaster recovery, not reconciled
    9. GitOps with Argo CD, not reconciled
    10. Progressive delivery, not reconciled
  9. Field contextOptional context

    Reliability practice and platform topics around a cluster, kept short and optional.

    0 of 4 reconciled

    1. SLOs and error budgets, not reconciled
    2. Incident response and postmortems, not reconciled
    3. Multi-cluster and platform engineering, not reconciled
    4. Cost and capacity, not reconciled