-
Notifications
You must be signed in to change notification settings - Fork 489
Show pod status in Workloads / Pods view #201
Comments
We are planning to refactor the way we do object status and this will be addressed at that time. Though it still may not map exactly to what you see in kubectl output, it will be improved to provide a better level of detail over just pending / running. |
Both status and phase should be displayed in Octant. Example YAML below of a Pod status / phase.
|
This one is pretty clear of what should be done, I'd like to take this one and work on it |
I've been working on this one, the only problem I'm having is with the Terminated state. When we are in a Pending phase like when we are creating a Pod, I can extract a Reason message from the Pod struct that says "ContainerCreating" as we need.
But, when I get a Terminated state this is the output from
And the Reason message from the Pod struct says Completed Also, is visible in the image that with a Terminated state the phase is still on Running This is the only inconsistency I'm having to finish the issue. Here is the draft PR #2675 |
@ftovaro and I met up, we are going to us |
Kubectl seems to do some magic to show a "STATUS" of a given pod:
I was somewhat surprised when I used Octant to look at the same set of pods. This is what Octant shows:
Notice how kubectl says the first pod is
Terminating
and the second isContainerCreating
, whereas Octant showsRunning
andPending
.I understand that Octant is showing the pod's
Phase
and not theStatus
(I am actually not sure how kubectl computes this), but it was super confusing at first.I am wondering if we should follow kubectl here and show
Status
instead ofPhase
, or perhaps add a new column that showsStatus
.The text was updated successfully, but these errors were encountered: