Hands-on labs · from your computer to production
Kubernetes Labs
Hands-on Kubernetes from a cluster on your laptop to managed clusters on AWS, Google Cloud and Azure and a production setup: deployments, services and the Gateway API, storage, probes and autoscaling, environments with Kustomize, and GitOps. Every lab explains each component with diagrams and ends with what changes in production.
Preparing for the CKA or CKS exam? Practice tests and mock exams →
Every lab ends with In production: what changes when the same work runs a real system, and a checklist you can use at work.
Kubernetes
A local cluster such as kind or minikube.
-
Your First Kubernetes Cluster: Architecture, Deployments and Self-Healing
Create a three-node cluster on your computer with kind, see every control-plane and node component running, deploy an app, scale it, delete a pod and watch Kubernetes replace it, then roll out a new version and roll it back.
Beginner45 minFree
-
Services, DNS and the Gateway API: Getting Traffic to Pods
Put two apps behind ClusterIP Services, resolve them with cluster DNS, open a NodePort, then install Envoy Gateway and route /api and / to different Services with the Gateway API, the successor to Ingress.
Beginner50 minFree
-
ConfigMaps, Secrets and Persistent Storage with a StatefulSet
Feed configuration to a pod as environment variables and files, see why a Secret is only base64-encoded, then run Postgres as a StatefulSet with a persistent volume and prove the data survives when the pod is replaced.
Intermediate45 minFree
-
Probes, Resources and Autoscaling: Keeping Apps Healthy Under Load
Add startup, readiness and liveness probes, watch a failing pod leave its Service, see a container killed for using too much memory, autoscale with metrics-server and an HPA, block a node drain with a PodDisruptionBudget, and push a broken image without any downtime.
Intermediate60 minFree
-
Environments with Kustomize: One Base, a Dev and a Prod Overlay
Turn copy-pasted manifests into a Kustomize base plus dev and prod overlays that change only what differs: image tag, replicas, resources, configuration and a disruption budget. Render, diff and apply both, then roll out a config change through a hashed ConfigMap.
Intermediate40 minFree
AWS
An AWS account. Free tier where possible; always clean up.
-
Amazon EKS: A Managed Cluster with an Application Load Balancer
Create an EKS cluster with eksctl (VPC, managed node group, Pod Identity), install the AWS Load Balancer Controller, and expose the app through an internet-facing Application Load Balancer that sends traffic straight to pod IPs.
Intermediate60 min≈ $0.30 per hour while it runs
Google Cloud
A Google Cloud project with billing. Free tier where possible; always clean up.
-
Google GKE Autopilot: Managed Nodes, Gateway API and Workload Identity
Create a GKE Autopilot cluster where Google runs both the control plane and the nodes, push an image to Artifact Registry, expose the app with GKE's Gateway controller, and give pods Google Cloud permissions without key files.
Intermediate50 minAbout $0.10 per hour; free tier credit may cover it
Azure
An Azure subscription. Free credits where possible; always clean up.
-
Azure AKS: App Routing, ACR and Microsoft Entra Workload ID
Create an AKS cluster with the free control-plane tier, import an image into Azure Container Registry, expose the app with the application routing add-on (managed NGINX), and give pods an Azure identity with no secrets.
Intermediate50 min≈ $0.15 per hour; delete the resource group after
Production
Production design: environments, CI/CD, security, monitoring, rollback.
-
A Production-Grade Cluster: Guardrails, Least Privilege, Network Policy and GitOps
Turn a namespace into a production namespace with Pod Security admission, quotas, default limits, least-privilege RBAC and default-deny networking, then hand deployments to Argo CD so Git becomes the only way to change the cluster, and watch it undo a manual change.
Advanced75 minFree