Containers Beginner 10 h 40 min 46 items

Kubernetes Basics

Learn Kubernetes hands on, entirely on your own Linux machine: cluster architecture, Pods, Deployments, Services, configuration, storage, health checks and a first look at Helm, all practiced on a local kind cluster with no cloud account needed.

About this course

Learn Kubernetes on your own machine, one building block at a time

Kubernetes runs containers for some of the largest systems in the world, but its core ideas are surprisingly approachable once you see them working. This course teaches those ideas hands on. You build a real multi-node cluster on your own Linux machine with kind (Kubernetes in Docker), and every example, command and manifest in the course runs on it.

No cloud account is needed, and nothing costs money to run. The course deliberately avoids AWS, Google Cloud and Azure so that you learn Kubernetes itself rather than one provider's extras. Everything you learn carries over to any cluster later.

What you will learn

  • Explain what Kubernetes does and how the control plane and worker nodes cooperate
  • Install Docker, kind and kubectl on Linux and create single-node and multi-node clusters
  • Write YAML manifests and manage objects declaratively with kubectl apply
  • Run, inspect, debug and troubleshoot Pods, including multi-container Pods
  • Scale applications, roll out new versions and roll back with Deployments
  • Connect and expose applications with Services and cluster DNS
  • Organize work with namespaces, and configure apps with ConfigMaps and Secrets
  • Keep data with PersistentVolumeClaims and run stateful apps with StatefulSets
  • Add health probes and resource limits, and run Jobs, CronJobs and DaemonSets
  • Install, configure, upgrade and roll back applications with Helm
  • Build your own container image, load it into kind and deploy a complete two-tier app

How the course works

  • 10 modules of short, practical lessons, with lab checklists you tick off as you go
  • Every module ends with a quiz with explanations for each answer. Score 70% to unlock the next module, and retake it as often as you like
  • A capstone project where you deploy a web app and a Redis database with everything you learned
  • A timed final exam, a printable kubectl cheat sheet (PDF) and a certificate of completion

The course was tested with kind v0.33, Kubernetes 1.37 and Helm 4.

Syllabus

Not started: From containers to orchestration Lesson
Not started: Inside a cluster: control plane and nodes Lesson
Not started: Desired state, objects and manifests Lesson
Not started: Module 1 quiz: Why Kubernetes Quiz

Not started: Installing Docker, kind and kubectl Lesson
Not started: Your first cluster Lesson
Not started: Building the course lab cluster Lesson
Not started: kubectl essentials Lesson
Not started: Module 2 quiz: Your local lab with kind Quiz

Not started: Your first Pod Lesson
Not started: Logs, exec and port forwarding Lesson
Not started: Labels, selectors and annotations Lesson
Not started: Multi-container Pods and init containers Lesson
Not started: Troubleshooting Pods Lesson
Not started: Module 3 quiz: Pods Quiz

Not started: Deployments and ReplicaSets Lesson
Not started: Scaling Lesson
Not started: Rolling updates and rollbacks Lesson
Not started: Module 4 quiz: Deployments and ReplicaSets Quiz

Not started: How Pods talk to each other Lesson
Not started: ClusterIP Services and DNS Lesson
Not started: Exposing apps outside the cluster Lesson
Not started: Module 5 quiz: Services and networking Quiz

Not started: Namespaces Lesson
Not started: ConfigMaps Lesson
Not started: Secrets Lesson
Not started: Module 6 quiz: Namespaces, ConfigMaps and Secrets Quiz

Not started: Volumes Lesson
Not started: PersistentVolumes and claims Lesson
Not started: StatefulSets Lesson
Not started: Module 7 quiz: Storage and stateful apps Quiz

Not started: Liveness, readiness and startup probes Lesson
Not started: Resource requests and limits Lesson
Not started: Jobs, CronJobs and DaemonSets Lesson
Not started: Module 8 quiz: Health, resources and other workloads Quiz

Not started: What Helm is and why it exists Lesson
Not started: Installing and managing a chart Lesson
Not started: Inside a chart Lesson
Not started: Module 9 quiz: A first look at Helm Quiz

Not started: The project: a visit counter Lesson
Not started: Building the image and loading it into kind Lesson
Not started: Deploying Redis Lesson
Not started: Deploying and testing the web app Lesson
Not started: Changing configuration and shipping v2 Lesson
Not started: Cleaning up and next steps Lesson
Not started: Final exam Quiz