Skip to main content

2. kubectl fundamentals & the object model

Imperative vs declarative, namespaces, get/describe/apply, running your first Pod.

⏱ ≈ 20 min this module · 📚 ≈ 6.9 h full track

🔒 Unlock this course to read the material and run the labs.

See options to unlock →
🔒 The written material unlocks with the course.
🧪 Hands-on lab Easy · 120 XP · 20min

Goal

Run an nginx Pod and confirm it reaches Running.

Requirements (your default namespace, lab)

  • A Pod named nginx, image nginx:1.25
  • The Pod must reach phase Running

Do it imperatively (kubectl run nginx --image=nginx:1.25) or by applying pod.yaml — your choice. The judge only checks the resulting state.

🔒 Unlock the course to run this lab.