You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Document odd kubectl get output for pods w/ sidecars
With the current sidecar implementation `kubectl get pods` will
show pods with successful sidecars as Completed but pods with
errored sidecars as Error.
It looks like the kubectl get pods printer code is just using
the status of the last container in the container list as the
source of the "Reason" that it prints for a pod ending. Seems
a bit janky but ¯\_(ツ)_/¯
I'm documenting the behaviour rather than looking to fix it since
there's are existing proposals to improve the sidecar
implementation and this appears to simple be a UI/UX issue. The
status of the TaskRun that generated the pod has the correct
end status regardless of the output from `kubectl get pods`.
0 commit comments