Skip to main content

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.

Supported byDigitalOceanDevDojoSMTPfastQuizAPIBecome a sponsor

// 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.

Progress0/24

3

Nodes

0

Pods

1

Services

Lessons
Lesson 1 / 6
Step 1 / 4

Start by checking the kubectl client and cluster version.

kubectl
devops-lab/default

Welcome to the Kubernetes terminal lab.

Type "help", run "ls", or follow the current task above.

$
deployment.yaml
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: 80
service.yaml
apiVersion: v1
kind: Service
metadata:
  name: web
spec:
  type: ClusterIP
  selector:
    app: web
  ports:
    - port: 80
      targetPort: 80
Cluster

control-plane-1

Ready
control-planev1.32.4cpu 22%mem 41%

worker-1

Ready
workerv1.32.4cpu 18%mem 37%

worker-2

Ready
workerv1.32.4cpu 27%mem 46%
Workloads

No application Deployment yet.

Networking

Expose a Deployment to create a stable Service endpoint.

Recent Events

Starting

Normal

Starting kubelet.

NodeReady

Normal

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

Sponsored
Carbon Ads
$ cd /games
// share