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
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.
// simulator
Deployment Strategies Simulator
Learn deployment strategies like Blue-Green, Canary, Rolling Updates, and Recreate. Visualize how each strategy handles traffic routing, downtime, and rollbacks.
// simulator
GitOps Workflow Simulator
Learn GitOps principles through interactive scenarios. Understand Git as source of truth, automated sync, and drift detection.