Interactive · Runs in your browser · 100% free

Kubernetes Playground

The best way to learn Kubernetes is by doing. Read the quick primer below, then launch a full-screen, hands-on lab that grows with you — from your very first kubectl command as a beginner all the way to deployments, services, rolling updates and rollbacks. Each step asks what you need to do; you type the answer in a safe, simulated cluster that checks your work instantly.

~30 min · 18 guided steps · Beginner → Advanced

Kubernetes in 60 seconds

The three ideas you need first

A quick primer before you jump in. Skim these, then head to the terminal.

01

What is Kubernetes?

Kubernetes (K8s) is an open-source system that runs and manages containers across a fleet of machines for you. You declare the desired state — "run 3 copies of this app" — and Kubernetes continuously makes reality match, self-healing failed containers and scaling on demand.

Read the intro tutorial
02

What are pods & deployments?

A pod is the smallest unit you deploy — a wrapper around one or more containers that share a network and storage. A deployment keeps a desired number of identical pods alive, recreating any that die and rolling out new versions with zero downtime.

Explore pods
03

What is this playground?

A safe, simulated Kubernetes cluster that runs entirely in your browser. You type real kubectl commands and see realistic output — but nothing runs on your computer and nothing can break. Guided steps check your work and track your progress automatically.

Jump into the lab

What you'll do in the lab

18 bite-sized, auto-checked challenges that build on each other — from your first kubectl command as a beginner all the way to advanced rolling updates and rollbacks.

  1. 1

    How do you check that kubectl can reach your cluster?

    Print the kubectl client and server version.

  2. 2

    How do you find out where the control plane is running?

    Show the cluster’s control plane endpoints.

  3. 3

    How do you list the machines that make up your cluster?

    List the nodes in the cluster.

  4. 4

    How do you see how the cluster is divided into namespaces?

    List all namespaces.

  5. 5

    How do you launch your very first pod?

    Run a single nginx pod named “nginx”.

  6. 6

    How do you confirm your pod is actually running?

    List the pods in the default namespace.

  7. 7

    How do you inspect the fine details and events of a pod?

    Describe the nginx pod.

  8. 8

    How do you run an app that heals itself when a pod dies?

    Create a deployment named “web” from the nginx image.

  9. 9

    How do you check a deployment’s desired vs. available replicas?

    List the deployments.

  10. 10

    How do you run 3 copies of your app for availability?

    Scale the “web” deployment to 3 replicas.

  11. 11

    How do you give your pods one stable network address?

    Expose the “web” deployment on port 80.

  12. 12

    How do you find a service’s cluster IP and ports?

    List the services.

  13. 13

    How do you read the logs a container is printing?

    View the logs of one of your pods.

  14. 14

    How do you run a command inside a running container?

    Exec a command inside a pod (e.g. ls).

  15. 15

    How do you ship a new version with zero downtime?

    Update the “web” deployment to a newer nginx image.

  16. 16

    How do you confirm a rolling update finished successfully?

    Check the rollout status of the “web” deployment.

  17. 17

    How do you instantly roll back a bad release?

    Roll the “web” deployment back to its previous version.

  18. 18

    How do you tear an application down cleanly?

    Delete the “web” deployment.

How the playground works

1

Read the question

The left panel teaches a Kubernetes concept, then asks what you need to do — with a hint on standby if you get stuck.

2

Type it in the terminal

Work out the kubectl command and type it yourself. The simulated cluster responds just like a real one.

3

Auto-check & advance

When your command hits the goal, the step turns green, the progress bar fills, and the next step unlocks.

Frequently asked questions

Is this Kubernetes playground free?+

Yes. The Kubernetes playground is 100% free with no sign-up, no credit card and no downloads. Just open the page and start typing kubectl commands in your browser.

Do I need to install Kubernetes or minikube to use it?+

No. Nothing is installed on your computer. The playground runs a safe, simulated Kubernetes cluster entirely in your browser, so you can practice real kubectl commands without minikube, kind or a cloud cluster.

Is this a real Kubernetes cluster?+

It is a high-fidelity simulation. You type real kubectl commands (kubectl get pods, run, create deployment, scale, expose, rollout and more) and get realistic output — but nothing runs on your machine, so you cannot break anything.

Which kubectl commands can I practice?+

The guided lab covers the full workflow: version and cluster-info, listing nodes and namespaces, running pods, describing resources, creating and scaling deployments, exposing services, reading logs, exec-ing into pods, rolling updates, rollbacks and cleanup.

Is the Kubernetes playground good for complete beginners?+

Absolutely. The lab starts with your very first kubectl command and grows step by step into intermediate and advanced topics like deployments, services and rolling updates, so it builds your Kubernetes muscle memory gradually — no prior experience required.

How long does the lab take?+

About 30 minutes for all 18 steps, and your progress is saved automatically so you can pause and come back anytime.

Ready to launch your first pod?

No setup, no downloads, no risk. Jump straight into the terminal and start learning Kubernetes by doing.

Launch Playground →