Home / Kubernetes Beginner
Kubernetes Beginner
Kubernetes runs containers across many machines, so one app scales without managing each machine by hand. Pods, Deployments, Services, storage, health checks, RBAC and troubleshooting — ending with a real three-tier app.
Kubernetes runs containers across a group of machines, so one app can scale without managing each machine by hand. This course starts from zero and takes you from your first pod to a real three-tier app, one short lesson at a time.
Course contents
Work top to bottom — the sidebar is the course. Topics later in the list assume the ones before them.
Basics
- Kubernetes: What It Is
- Kubernetes vs Docker
- Kubernetes: Why It Exists
- Kubernetes vs Virtual Machines
- Kubernetes: What It Is Used For
- Kubernetes Pros and Cons
How It Works
- Kubernetes Architecture
- Kubernetes: The Control Plane
- Kubernetes: The Worker Node
- Kubernetes: How One Command Travels
Your First Cluster
- Kubernetes: Install kubectl
- Kubernetes: Minikube on macOS and Windows
- Kubernetes: Minikube on Ubuntu and Linux
- Kubernetes: Minikube vs kind
- Kubernetes: kubeconfig and Contexts
Pods
- Kubernetes: What Is a Pod?
- Kubernetes: Create Your First Pod
- Kubernetes: Read a Pod
- Kubernetes: Multi-Container Pods and Init Containers
Deployments
- Kubernetes: What Is a Deployment?
- Kubernetes: Create a Deployment
- Kubernetes: Scale a Deployment
- Kubernetes: ReplicaSets, Plainly
Other Workloads
- Kubernetes: Jobs and CronJobs
- Kubernetes: DaemonSets
- Kubernetes: Deployment vs StatefulSet vs DaemonSet
Services and Networking
- Kubernetes: What Is a Service?
- Kubernetes: Expose Your App
- Kubernetes: Service Discovery and DNS
- Kubernetes: Ingress and the Gateway API
Config and Storage
- Kubernetes: ConfigMaps
- Kubernetes: Secrets
- Kubernetes: Persistent Volumes and Claims
- Kubernetes: StatefulSets
- Kubernetes: Persist a Database
Health and Security
- Kubernetes: Liveness, Readiness and Startup Probes
- Kubernetes: Resource Requests and Limits
- Kubernetes: Service Accounts and RBAC
- Kubernetes: Security Basics
Scaling and Updating
Start: Kubernetes: Horizontal Pod Autoscaler ❯Troubleshooting
- Kubernetes: The Four-Move Debug Routine
- Kubernetes: Fix CrashLoopBackOff
- Kubernetes: Fix ImagePullBackOff and Pending
- Kubernetes: Fix the Selector Mismatch
Helm, GitOps and the Project
- Kubernetes: Helm in One Lesson
- Kubernetes: Managed Kubernetes in Brief
- Kubernetes: GitOps in Brief
- Kubernetes Project: Deploy a Real Three-Tier App
- Kubernetes Project: Expose It, Scale It, Break It
Learn Kubernetes
Kubernetes is a system that runs containers across a group of machines. You state how many copies of an app you want, and Kubernetes places them, watches them, and replaces the ones that stop.
This course teaches that system in plain words, with short command examples you can run as you read. Every closing example was run for real against Kubernetes 1.37.1 on minikube, and the printed output is the real result.
What you will learn
The lessons follow the order they appear on the page:
- What Kubernetes is, and what it is not for
- How Kubernetes differs from Docker and from virtual machines
- How the control plane and the worker node share the work
- How to start a local cluster with minikube, and how kind compares
- How to read kubeconfig and switch between clusters and namespaces
- Pods, Deployments, Jobs, DaemonSets and StatefulSets, and which one to pick
- Services, DNS, Ingress and the Gateway API
- ConfigMaps, Secrets, volumes, and a database that keeps its data
- Probes, resource limits, RBAC and security basics
- Scaling, rolling updates and deployment strategies
- The four-move debug routine, and how to fix the six classic failures
- Helm, managed Kubernetes, GitOps, and a real three-tier project
Who this course is for
This course is for anyone who knows basic Docker and wants to run containers at scale. No cluster experience is needed. Docker Beginner is the prerequisite, and the course says so where it matters.
Each lesson takes about eight minutes on average, and every idea arrives with a short command example. The course adds up to 388 minutes, about six and a half hours of reading and exercises.
How this course works
Lessons run in order, because each one builds on the ones before it. The first sections need only Docker. The cluster sections teach what you need as they go.
Every closing example was run for real on a stated Kubernetes version, and the printed output is the real result. The commands cannot run inside the lesson page, because there is no cluster in a browser, so each lesson shows the command and its real output for you to run in your own terminal.
An exercise closes each lesson, with a short note saying why the right answer is right. Your place is kept in this browser on this device, with no account to create.
Frequently asked questions
What is Kubernetes?
Kubernetes is an open source system that runs containers across a group of machines. You state how many copies of an app you want, and Kubernetes places them on machines, watches them, and replaces the ones that stop.
Do I need to know Docker before learning Kubernetes?
Yes. Kubernetes runs containers, and Docker is how containers are built and run. Docker Beginner is the prerequisite for this course, and the first lessons assume you can run a container.
What is the difference between Kubernetes and Docker?
Docker builds and runs containers on one machine. Kubernetes runs containers at scale across many machines. They work together: Docker packs the app, and Kubernetes places and watches the copies.
Can I learn Kubernetes without a cloud account?
Yes. This course uses minikube, a free tool that runs a whole Kubernetes cluster on your own machine. No cloud account and no payment are needed for any lesson.
What is the Gateway API?
The Gateway API is the successor to Ingress for routing HTTP traffic into a cluster. It replaces the retired ingress-nginx controller as the taught path in this course, and it works the same way on any cluster.
What do I build in this course?
A real three-tier app: a React frontend, a Node API, and a Postgres database, with a ConfigMap, a Secret, a persistent volume, a Service and a Gateway API route. The last lesson scales it, updates it, and then breaks it on purpose to practise debugging.
Next steps
- Node Beginner ❯ — Learn the language the capstone API uses. Node runs JavaScript on the server, and this course covers modules, npm, async code, files and Express.
- React Beginner ❯ — Learn the library the capstone frontend uses. React builds user interfaces from components, and this course covers JSX, props, state, Hooks and forms.
- Git Beginner ❯ — Learn the version control GitOps depends on. Git tracks snapshots, branches and merges, and this course teaches one command at a time.