-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Description
Throughout https://learnk8s.io/troubleshooting-deployments there seems to be some confusion between the containers of a pod being ready and the pod itself being ready.
It is not possible to determine that a pod is ready from the default kubectl get pods output - only whether it is Running and how many of its containers are ready.
It is (unfortunately) possible for all of the containers in a pod to be Ready but the the Pod itself not to be Ready.
This is an important distinction and alters the fault finding flow.
You can see if a pod is ready in the Conditions section of kubectl describe pods...
Conditions:
Type Status
Initialized True
Ready True
ContainersReady True
PodScheduled True
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels