CertGrid CertGrid
Hands-on Lab·Certified Kubernetes Administrator

First kubectl Session: Inspecting a Cluster

Six commands that tell you what cluster you are pointed at, what it can be asked for, and what every field in a manifest means. Learn these and you stop needing the documentation open for field names.

Foundations Guide 2 of 103 Beginner

Written against the versions above. Counts like 27 API groups and 26 running Pods are this cluster's, not universal. The commands that produce them are.

Any cluster does. The output below is from the four-node lab.
Server NameIP AddressOSRolesCPURAMHDD
CKA1001192.168.0.175Ubuntu 26.04 LTSControl Plane Node2 Core4 GB50 GB
CKA1001-NODE01192.168.0.176Ubuntu 26.04 LTSWorker Node2 Core4 GB50 GB
CKA1001-NODE02192.168.0.177Ubuntu 26.04 LTSWorker Node2 Core4 GB50 GB
CKA1001-NODE03192.168.0.178Ubuntu 26.04 LTSWorker Node2 Core4 GB50 GB

Before you start

  1. Which cluster am I actually talking to?

  2. Client and server version, separately

  3. What can this cluster even be asked for?

  4. The API groups, and why there are so many

  5. kubectl explain, the field reference you already have

  6. Shape the output instead of reading it

Official sources