Menu
Coddy logo textTech
terminal iconPart of the Terminal JourneyJourney

Learn Kubernetes & kubectl

A free, interactive course on Kubernetes. You practice the core kubectl commands on every lesson - get, describe, apply, scale, rollout, expose, logs, exec - running Pods, Deployments and Services in a simulated cluster, with AI hints when you get stuck and a free certificate when you finish. No minikube and no cloud account needed: the cluster is simulated, so you can focus on the commands and concepts. Part of the wider Terminal journey, right after the Docker section, so the container basics Kubernetes builds on are right there.

35,201+ codders enrolled

45 lessons41 challenges182 quiz questions

  • Beginner friendly
  • sparkles iconAI-assisted coding help
  • hint iconHands-on interactive lessons
  • volume On iconAudio narration on every lesson
  • quiz iconQuizzes to test your knowledge
  • certificate iconFree certificate of completion

Syllabus

1 sections1 projects45 lessons41 challenges182 quiz questions

This section is part of the Terminal Journey. The full syllabus has more sections - click any preview below to view it on the Journey page.

  1. Section 1Fundamentals82 lessons
  2. Section 2Version Control58 lessons
  3. Section 3Introduction to Docker40 lessons
  4. Start sectionStartExpandCollapseLearn Kubernetes from the command line: run and inspect Pods, write manifests, manage Deployments, Services and configuration, work with namespaces and Jobs, and debug what goes wrong.

    Introduction

    2 lessons212

    Pods

    5 lessons525

    Manifests

    3 lessons313

    Deployments

    6 lessons630

    Services

    4 lessons418

    Debugging

    5 lessons524

    Configuration

    4 lessons418

    Namespaces & Jobs

    4 lessons418

    Output Formats

    4 lessons418

    Web Shop Project

    Project5 lessons16

    Final Challenges

    3 lessons3
What you get
Everything you'll use to learn to code

Learn by Doing

Write real code, query databases, build websites, and master AI prompts. Our interactive lessons cover every skill modern developers need.

playground.js
Code Editor
1const greeting = "Hello, Coddy!"
2function sayHi(name) {
3    return greeting + " " + name
4}
5
bottombar Collapse icon
Test #1test Case Success icon
Test #2test Case Success icon
Test #3test Case Failure icon
Input
"Alex"
Output
"Hello, Coddy! Alex"

Build Your Coding Streak

Stay consistent and watch your progress grow! Track your daily coding habit, protect your streak with freeze days, and earn rewards for showing up every day.

12 days streak

Return tomorrow to keep your streak!

fire Filled icon
left icon

January 2026

right icon

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

21

22

23

24

25

26

27

28

29

30

product Double Or Nothing icon

Double or Nothing

Day 5 of 7

fire Freeze icon

Streak Freeze

2 left

Code Anywhere, Anytime

Take your coding journey on the go! No setup, no downloads - just open and start coding. Available on iOS, Android and Web with 4.9 star ratings.

Python
7Streak
250Score
5Energy
Variables
journey Hex Done Base iconjourney Hex Done Shadow iconjourney Hex Done Top iconjourney Lesson Done icon
journey Path Right Done icon
journey Hex Done Base iconjourney Hex Done Shadow iconjourney Hex Done Top iconjourney Lesson Done icon
journey Path Left Done icon
journey Hex Active Base iconjourney Hex Active Shadow iconjourney Hex Active Top iconjourney Lesson Theory Challenge icon
CONTINUE
journey Path Right icon
journey Hex Locked Base iconjourney Hex Locked Shadow iconjourney Hex Locked Top iconjourney Lesson Theory Challenge icon
journey Path Left icon
journey Hex Locked Base iconjourney Hex Locked Shadow iconjourney Hex Locked Top iconjourney Lesson All icon
Journey
Goals
Leaderboard
Profile
4.9
StarStarStarStarStar
Rating

You're Not Alone in This

Compete on global leaderboards, invite friends to earn rewards, and celebrate each other's wins. Coding is better with friends!

Challenger League
Challenger LeagueTop 7 advance
leaderboard First icon1
avatar 1 icon
fire Filled icon
Alex7+ Days
2840
leaderboard Second icon2
avatar 2 icon
fire Filled icon
Jordan7+ Days
2650
leaderboard Third icon3
avatar 3 icon
fire Filled icon
Sam7+ Days
2420
4
avatar 4 icon
Casey
2180
5
avatar placeholder icon
fire Filled icon
Morgan7+ Days
1950
leaderboard Arrow Up iconPromotion zoneleaderboard Arrow Up icon

Every way to learn

Read, listen, test yourself, ask the AI, or look up anything you've already covered. Every lesson meets you where you are.

Intro to Variables
Audio

A variable is a named container that stores a value you can reference later in your program.

In Python, you create one by writing the name, an equals sign, then the value you want to store.

The value can change over time - reassigning the name simply points it to a new value.

1xSarah

Prove Your Skills

Earn certificates for every course you complete. Add them to your LinkedIn profile and resume to showcase your coding expertise to employers.

CoddyCertificate of Completion
This certifies thatJohn Doehas successfully completed
python iconPython Fundamentals
Verified
DateJan 2026
LinkedInAdd to LinkedIn

Why learn Kubernetes with Coddy

  • Practice Kubernetes in your browser. No minikube, no kind, no Docker Desktop and no cloud bill - every lesson runs against a simulated single-node cluster, so you can start typing kubectl commands immediately and watch how the cluster responds.
  • Core Kubernetes: Pods, YAML manifests and labels, Deployments with scaling, rolling updates and rollbacks, Services and their endpoints, ConfigMaps and Secrets, namespaces and Jobs, and kubectl output from -o wide to JSONPath. The Kubernetes basics you'll use every day on the job.
  • AI hints help you read what the cluster is telling you - a Pod stuck in ImagePullBackOff, a container in CrashLoopBackOff, the events at the bottom of kubectl describe - without spoiling the answer, so debugging stops being guesswork.
  • Free Kubernetes certificate when you finish the section, with a hands-on web shop project along the way. A credible proof point for DevOps, platform and backend roles, where Kubernetes is the standard way to run containers in production.

Frequently asked questions about learning Kubernetes

What is Kubernetes?

Kubernetes (often shortened to K8s) is an open-source system for running containers across a cluster of machines. You describe the state you want - which images to run, how many copies, how they're reached over the network - and Kubernetes keeps the cluster matching that description: it schedules Pods onto nodes, restarts containers that crash, replaces Pods that disappear, and rolls out new versions gradually.

What is kubectl?

kubectl is the command-line tool for working with a Kubernetes cluster. You use it to create and inspect resources (kubectl get pods, kubectl describe), apply YAML manifests (kubectl apply -f), scale and update Deployments, read logs, and run commands inside containers. Almost every lesson in this section is a kubectl exercise, because that's how most engineers work with Kubernetes day to day.

Do I need to install Kubernetes or set up a cluster?

No. The lessons run against a simulated cluster right in your browser - no minikube, no kind, no Docker Desktop, no cloud account and no admin rights. It's designed to teach you the commands, the manifest syntax and the concepts, so that when you set up a real cluster, everything is already familiar. When you're ready to run your own workloads, minikube or kind on your own machine is the natural next step.

Is this a real Kubernetes cluster?

No - it's a simulated single-node cluster built for learning. kubectl answers the way a real cluster would: Pods move from ContainerCreating to Running, a bad image ends in ImagePullBackOff, a crashing container in CrashLoopBackOff, and kubectl describe shows the events that explain why. There's no real control plane behind it, so it's for learning the commands and concepts, not for running production workloads. The same commands work against minikube, kind or a cloud cluster.

Kubernetes vs Docker: what's the difference?

Docker builds images and runs containers on one machine. Kubernetes runs containers across a cluster: it decides where they run, keeps the right number of copies alive, restarts them when they fail, spreads traffic across them with Services, and rolls out new versions without downtime. They work together rather than compete - you package your app as an image, and Kubernetes runs it at scale.

Should I learn Docker before Kubernetes?

Yes, ideally. Kubernetes runs containers, so knowing what an image and a container are makes Pods and Deployments click much faster. The Docker section comes right before this one in the Terminal journey, so if containers are new to you, start there. Being comfortable at the command line helps too, since everything here is typed into a terminal.

Is Kubernetes hard to learn?

It has that reputation, mostly because there are so many resource types. The core is smaller than it looks: Pods, Deployments, Services, ConfigMaps and Secrets, and namespaces cover most day-to-day work, and that's what this section teaches, one hands-on step at a time. Debugging - reading the events in kubectl describe, spotting an ImagePullBackOff or a CrashLoopBackOff - is where most beginners get stuck, so it has a chapter of its own.

Can I learn Kubernetes online for free?

Yes. The interactive Kubernetes section is free - full lessons, hands-on kubectl practice in every exercise, a project and a certificate. Everything runs in a simulated browser environment, so you don't need to install anything or pay for a cloud cluster to start.

Does the course come with a Kubernetes certification?

It comes with a free certificate of completion you can share on LinkedIn or add to your resume. It isn't the CNCF's CKA or CKAD certification - those are proctored, paid exams - but the kubectl fluency you build here is the foundation they build on. Kubernetes appears in most DevOps, platform and backend job descriptions, so the certificate is a meaningful signal alongside your projects.

Learning paths that include this course

This course is one step of a longer path: several courses in the order a mentor would teach them, each with its own free certificate.

Coddy programming languages illustration

Learn Introduction to Kubernetes with Coddy

GET STARTED