-
Notifications
You must be signed in to change notification settings - Fork 43.1k
Terminated but not GC'd Pods should not be re-admitted on kubelet restart #126341
Copy link
Copy link
Closed
Closed
Copy link
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.priority/important-soonMust be staffed and worked on either currently, or very soon, ideally in time for the next release.Must be staffed and worked on either currently, or very soon, ideally in time for the next release.sig/nodeCategorizes an issue or PR as relevant to SIG Node.Categorizes an issue or PR as relevant to SIG Node.triage/acceptedIndicates an issue or PR is ready to be actively worked on.Indicates an issue or PR is ready to be actively worked on.
Metadata
Metadata
Assignees
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.priority/important-soonMust be staffed and worked on either currently, or very soon, ideally in time for the next release.Must be staffed and worked on either currently, or very soon, ideally in time for the next release.sig/nodeCategorizes an issue or PR as relevant to SIG Node.Categorizes an issue or PR as relevant to SIG Node.triage/acceptedIndicates an issue or PR is ready to be actively worked on.Indicates an issue or PR is ready to be actively worked on.
Type
Projects
Status
Done
What happened?
Pods that already succeeded and waiting for finalizer are being readmitted, fail to be admitted and moving from Succeeded Phase to Failed (admission failed) phase.
What did you expect to happen?
The correct behavior would be to not try to re-admit the succeeded (or failed) Pod.
How can we reproduce it (as minimally and precisely as possible)?
Specific case:
But the same can happen with the variations of GC speed and other admission handlers.
Anything else we need to know?
/sig node
/priority important-soon
/cc @bobbypage @smarterclayton
There is also a wider issue: #123980, that concentrates on running pods. This issue is about terminated Pods, which is less controversial.
Kubernetes version
Details
For sure on master, may be on earlier versions.
Cloud provider
Details
N/AOS version
Details
N/AInstall tools
Details
N/AContainer runtime (CRI) and version (if applicable)
Details
N/ARelated plugins (CNI, CSI, ...) and versions (if applicable)
Details
N/A