We're sorry but this app doesn't work properly without JavaScript enabled. Please enable it to continue.

This lesson's interactive features are locked, please to keep using them

Describe

kubectl get gives you a one-line summary of an object. When you need to see more, use kubectl describe instead:

kubectl describe pod POD_NAME

It prints a human-readable report that includes:

  • The pod's labels, IP address, and the node it's running on

  • Each container's image, state, and restart count

  • Events: a timeline of what Kubernetes has done with the pod

The events are at the very bottom, and they're often the most useful part. For a healthy pod, you'll see it get scheduled to a node, its image get pulled, and its container get created and started. When a pod is having issues and you need to debug it, the events are often the first place to look.

The describe command works on most kinds of objects, not just pods.

Assignment

Submit the shell checks.