Describing Pods
Part of the Introduction to Kubernetes section of Coddy's Terminal journey. Lesson 5 of 45.
kubectl get gives you one line per Pod. For everything about a single Pod, use describe:
kubectl describe pod webThe output lists the Pod's Namespace, the Node it runs on, its Status and IP, and a Containers section with the Image and the container's State.
At the bottom is the Events section: the story of the Pod in order. A healthy start reads Scheduled, Pulling, Pulled, Created, Started. When something goes wrong, the events are the first place to look.
Challenge
BeginnerStart a Pod named web from the nginx image, then describe it and find the Events section at the bottom.
Try it yourself
This lesson includes a short quiz. Start the lesson to answer it and track your progress.
All lessons in Introduction to Kubernetes
Practice on your own: Terminal playground