Kubernetes Simulator
beginner · ~8 min
Pods that heal
A lone pod has no one looking after it. A Deployment does: you declare how many copies (replicas) you want and of which image, and its controller keeps reality matching — making pods when there are too few and removing them when there are too many.
Under the hood a Deployment makes a ReplicaSet, and the ReplicaSet makes the pods. Their names show the chain: web-<template hash>-<random>.
Your pod from the last mission is still here. Replace it with something that heals.
Objectives
- Create a deployment called web running 3 replicas of nginx:1.27
- Delete the lone pod called web
- Delete one of the deployment's pods and watch it come back
- Bonus: Look at the ReplicaSet the deployment made
Best on a computer with a keyboard. It works on a phone, with shortcuts under the terminal.