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.

Start the first lab →

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.

  1. 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

  2. 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

  3. 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

  4. 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

  5. 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.

  1. 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.

  1. 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.

  1. 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.

  1. 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

Last reviewed · By the ByteCamel team · How we write content

Was this page helpful?

Report a mistake