To retrieve pod information

Steps
 

Enter the following to view information about a specific pod:

kubectl describe pod --namespace pod_namespace pod_name

where pod_namespace is the name of the pod’s namespace and pod_name is the name of the pod

Note: Ensure the full name of the pod is entered for pod_name. To find the full name of a pod, see the procedure To retrieve a list of pods.


The command output includes many parameters, including any events associated with the pod. For example:

Type     Reason            Age        From               Message

----     ------            ----       ----               -------

Warning  FailedScheduling  <unknown>  default-scheduler  0/1 nodes are available: 1 Insufficient memory.

End of steps