@kubernetes/sig-apps-bugs two issues here: 1) the main issue is most likely a dupe of #30628 and 2) we may want to revisit hiding terminated pods. I have seen more user confusion about the fact that we are hiding them than not. Also @kubernetes/sig-cli-misc
—
You are receiving this because you are on a team that was mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
IMHO, pods should always be visible, until they are terminated. I expect kubectl get po
to give me an accurate representation of all pods, regardless of state, in the default namespace.
Agreed, I have also felt the pain and I am in favor of switching it back.
Even with --show-all
, they don't show up.
IMHO, pods should always be visible, until they are terminated.
@Thermi Would you clarify what "terminated" means to you? Did you mean the pods that are "complete" (either Succeeded and Failed), or the pods that are deleted completely from the cluster?
@mengqiy #48786 fixes a bug of kubectl get pods
not hiding some complete (evicted) pods by default. The behavior that @Thermi described is different -- some pods aren't visible even through kubectl get pods -a
.
I'm not sure why kubectl get pods
or kubectl get pods -a
would not list a pod that still exists. @Thermi is there a way to reproduce this issue?
The log you paste looks like an issue where the kubelet has a deleted pod still in its list and is processing it. There have been a few reasons this could happen on the node.
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale
.
Stale issues rot after an additional 30d of inactivity and eventually close.
Prevent issues from auto-closing with an /lifecycle frozen
comment.
If this issue is safe to close now please do so with /close
.
Send feedback to sig-testing, kubernetes/test-infra and/or @fejta
.
/lifecycle stale
/lifecycle frozen
/remove-lifecycle stale
--show-all was defaulted to true in 1.10, made inert in 1.11, and removed in 1.14
/close
Closed #41913.
@liggitt: Closing this issue.
In response to this:
--show-all was defaulted to true in 1.10, made inert in 1.11, and removed in 1.14
/close
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.