Learn Everything

Paths/DevOps Engineer/Kubernetes / Fundamentals & Pods

Guided Taskbeginnerkubernetes 1.30 (kind)Ask AI

Run Your First Pod

A Pod is one or more containers that share network and storage — the smallest thing Kubernetes runs. Create one imperatively and watch it reach the Running state.

Validator

⏱ 0:00

IDLE — checks run live as you type commands; submit when done

01Requirements

live checks
  • Pod web exists○
  • Pod web is Running○

02Walkthrough

4 steps
  1. 01

    Create the Pod

    kubectl run creates a single Pod imperatively. --image specifies the container image. This is the fastest path; in real projects you usually write YAML manifests instead.

    kubectl run web --image=nginx:1.27
  2. 02

    Watch the Pod status

    kubectl get pods lists Pods in the current namespace. Fresh Pods sit in ContainerCreating while the image is pulled, then flip to Running.

    kubectl get pods
  3. 03

    Inspect the Pod

    kubectl describe pod web shows the full picture: image, node, events. When anything goes wrong, the Events section at the bottom is where the answer lives.

    kubectl describe pod web
  4. 04

    Submit for validation

    The validator asks the cluster itself whether default/web is Running.

03Stuck?

0 of 3 revealed

Take a hint without losing the lab — each one points at the thing to look at, not at the answer.

04AI Tutor

guides, never solves

Tell me what you're stuck on — I'll nudge, not solve. Which requirement are you looking at?

04Notebook

saved locally in this browser

learner@lab — kubernetes 1.30 (kind)

↑/↓ recalls commands · Ctrl+Enter submits · type help for the command list