Quick way to summarise container status within a multi-container pod

10/19/2021

If I have several containers in a pod, and 2/3 are OK, is there a nice way to obtain a summary of which are OK and which are not?

-- conjectures
kubernetes

1 Answer

10/19/2021

For this kind of info I usually filter out the output from describe command:

kubectl describe pod myFailingPod | grep -E "(Image:|State:)"
-- marcostvz
Source: StackOverflow