Hands-On LabBeginner

Drive Your First Cluster with kubectl Verbs

Practice kubectl get, describe, and explain on a pre-built kind cluster before touching any YAML.

35 minEstimated time
4Guided steps
AutoVerification
IsolatedSandbox
Drive Your First Cluster with kubectl Verbs

Lab overview

Kubernetes is an API-driven control plane: every Pod, Service, Deployment, and Node in your cluster is a typed object stored in the API server's etcd database. The kubectl command-line tool is the canonical client to that API, and every troubleshooting session, exam task, and incident response begins the same way - by reading object state with kubectl. Operators who can fluently navigate kubectl get, describe, and explain resolve issues faster than those who jump straight to writing manifests, because they can see what the cluster actually thinks is happening before changing anything.

In this lab, you will drive a pre-provisioned kind Kubernetes cluster using only read-only kubectl verbs. You will list workloads across namespaces, switch between human-readable and YAML output to see the fields the API server actually stores, describe a Node to read its capacity and events, and use kubectl explain as an offline manual page for every resource kind in the cluster. No Pods will be created in this lab - the goal is to build muscle memory for the reading half of the kubectl workflow before you start applying YAML in later labs.

Objectives

Upon completion of this beginner level lab, you will be able to:

  • List Pods, Nodes, Services, and Deployments in the default namespace and across all namespaces using kubectl get
  • Switch between -o wide, -o yaml, and -o jsonpath output formats and read the resulting object representations
  • Inspect the kind control-plane Node with kubectl describe to identify capacity, conditions, and recent events
  • Use kubectl explain recursively to navigate the Pod spec schema down to container-level fields
  • Discover every namespaced and cluster-scoped resource kind in the cluster with kubectl api-resources

Who is this lab for?

This lab is designed for:

  • Engineers and students taking their first hands-on steps with Kubernetes
  • Learners preparing for the CKA, CKAD, or CKS certification exams
  • DevOps practitioners who want to ground their kubectl workflow in reading state before writing manifests

Verified against your live environment

An automated validation engine inspects your actual resources and configurations as you work. Completion means the task was performed — not multiple choice, real-world proficiency.

[CHECK] validation_activelive
Inspecting deployed resources...
Verifying configuration state...
✓ Step requirements satisfied

More labs like this

Related reading

PremiumIncluded in Premium
Duration
35 min
Steps
4

Environment

Dedicated VM IDE

Every lab includes

  • Real environment, pre-credentialed
  • Automated checks on every step
  • Isolated sandbox, auto cleanup
  • AI-recommended next steps

Lab curriculum

  1. 01

    Getting Started with Kubernetes IDE

    1 automated check

  2. 02

    List Cluster Objects Across All Namespaces

    1 automated check

  3. 03

    Switch Output Formats and Describe a Node

    1 automated check

  4. 04

    Explore Resource Schema with kubectl Explain

    1 automated check

Skills validated

Kuberneteskubectl

Not the lab you were looking for?

Browse 150+ hands-on labs across AWS, Azure, Kubernetes, Docker, and cloud security.

Explore the catalog