New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deleting pods and other resources with graceful shutdown #2789
Comments
Going to use this as a proposal issue, with those two as reference. Once I get to it... :) |
This is on my list after uniquification names and pod templatesif no one else gets to it. |
One issue that's come up lately: Nothing GCs terminated pods. We could use this issue for that, or file a new one. |
This is addressed by #5085, and copying the discussion from #1535: Ok, here's the rough design I'm going with (with various caveats):
There is weirdness about removing the pod from the bindings, until the kubelet stops using bound pods we have an unclean setup. It can be worked around in a way that isn't visible to end users though. |
DeleteOptions should also support "reason" as described by #1535 |
Actually, reason parameter issue is #1462. |
I see a couple issues:
Setting the object TTL is useful for (2). It feels like we need to treat (1) distinctly. |
|
@bgrant0607 is there something still that needs working here? IIRC current pod deletion is working as described by @smarterclayton in the issue description. Unless this issue of yours, which, I admit, might be reasonable solution in my use-case in #17940:
|
Sounds like we can close this -- cascading deletion seems big enough to deserve its own issue, #1535 can serve for now. |
On Friday there was a discussion about how pods could be deleted and convey graceful shutdown of processes.
Goals
Non-goals
Assumptions
T(delete)
- in order to free the name for a subsequent createT(delete)
and so if users wish to continue to watch for process termination, there must be an endpoint that displays the process status of a pod after it has been deletedOptions
TBD, sleep
The text was updated successfully, but these errors were encountered: