Kubernetes Terminal Simulator
Practice Kubernetes commands in an interactive browser terminal. Learn kubectl contexts, nodes, Pods, Deployments, Services, rollouts, logs, exec, events, ConfigMaps, and cleanup workflows with a live cluster visualization.
Category: DevOps
Topics covered: kubernetes, kubectl, containers, terminal, pods, deployments, services, rollouts, devops, educational, interactive
// simulator
Kubernetes Terminal Simulator
Practice Kubernetes commands in an interactive browser terminal. Learn kubectl contexts, nodes, Pods, Deployments, Services, rollouts, logs, exec, events, ConfigMaps, and cleanup workflows with a live cluster visualization.
// kubectl lab
Kubernetes Terminal Simulator
Practice Kubernetes commands in a safe browser lab. Learn contexts, nodes, Pods, Deployments, Services, rollouts, logs, exec, events, ConfigMaps, and cleanup workflows.
3
Nodes
0
Pods
1
Services
Start by checking the kubectl client and cluster version.
Welcome to the Kubernetes terminal lab.
Type "help", run "ls", or follow the current task above.
apiVersion: apps/v1
kind: Deployment
metadata:
name: web
spec:
replicas: 3
selector:
matchLabels:
app: web
template:
metadata:
labels:
app: web
spec:
containers:
- name: nginx
image: nginx:1.27
ports:
- containerPort: 80apiVersion: v1
kind: Service
metadata:
name: web
spec:
type: ClusterIP
selector:
app: web
ports:
- port: 80
targetPort: 80control-plane-1
worker-1
worker-2
No application Deployment yet.
Expose a Deployment to create a stable Service endpoint.
Starting
Starting kubelet.
NodeReady
Node worker-2 status is now: NodeReady.
About this Kubernetes simulator
What you'll learn
- How kubectl targets a cluster through kubeconfig contexts
- The relationship between Nodes, Pods, Deployments, ReplicaSets, and Services
- How labels and selectors connect workloads to stable network endpoints
- How scaling and rolling updates change desired state
- How logs, describe, exec, and events help during debugging
- How ConfigMaps and cleanup workflows fit into daily operations
Key commands covered
- Cluster: kubectl version, config current-context, cluster-info, get nodes
- Workloads: create deployment, get pods, get deployments
- Networking: expose deployment, get svc, describe service
- Operations: scale, rollout status, set image, logs, describe, exec, events
Browser-safe by design
This lab does not connect to a real Kubernetes cluster. It models Kubernetes API objects in the browser so you can practice commands, see cause and effect, and build confidence before using kubectl against shared environments.
Why learn Kubernetes this way?
- Kubernetes can feel abstract until you see how controllers reconcile state.
- Most day-to-day debugging starts with a small set of repeatable kubectl commands.
- Understanding Pods, Deployments, Services, and Events makes production incidents less mysterious.
Try next
// simulator
How Docker Works Under the Hood
Watch what really happens when you run docker run -p 8080:80 nginx, one layer at a time. Step down the whole stack: the CLI, the daemon, the registry pull, containerd, the OCI runtime bundle, runc, the running container, and the shared Linux kernel. Every stage shows the real low-level command you can run yourself, so it doubles as a tour of the primitives that make a container: namespaces, cgroups, and runc. A container is not a small VM, and this shows you why.
// simulator
Agentic Loop Simulator
Watch a coding agent run an agentic loop, one step at a time. A planner, a builder, and a judge cycle through plan, build, verify, and repeat until the goal is met. Toggle the separate judge off to see why an agent grading its own work ships confident bugs. An animation-first, interactive explainer of loop engineering and how it maps to Claude Code.
// simulator
Docker Terminal Simulator
Practice Docker commands in an interactive browser terminal. Learn images, containers, logs, exec, Dockerfile builds, volumes, networks, and Docker Compose with a live Docker daemon visualization.