-
Notifications
You must be signed in to change notification settings - Fork 489
Increase visibility to resources stuck in a terminating state #1408
Comments
How do you distinguish "stuck" resources vs resources that are gracefully cleaning up external state before being fully deleted? |
For namespaces specifically, we can highlight the condition (kubernetes/kubernetes#82189). Octant doesn't have to distinguish the graceful case. It can show a warning to the effect of "if this resources is not terminating like you'd expect, consider looking at relevant finalizer/apiserver/controller". Maybe these is a way to be more specific |
Example of a terminating namespace status
|
I think is less about guess if something is "stuck" and more about surfacing the conditions in a way that can help a user decide if they want to wait or intervene. An idea that was discussed was looking at the lastTransitionTime of objects in the Terminating phase and using some delta of that to provider an extra layer of condition introspection. |
What about having a toast that informs that a resource is stuck, it could have the link to the resource and with that you don't need to keep checking a table to know the state of the resource, instead, you get an alert that something is not right |
To test this behavior, adding a finalizer that you know will never finish.
|
This may help for testing https://www.openshift.com/blog/the-hidden-dangers-of-terminating-namespaces |
Describe the problem/challenge you have
xref: kubernetes/kubernetes#60807
Cases where resources can be stuck in a terminating state:
Describe the solution you'd like
Users of Kubernetes who are unaware of this issue would have to find the relevant Github issue to fix this. Octant can provide value by suggesting cleanup of orphaned apiservices or an interface to patch over an unused finalizer.
Environment:
octant version
): 0.16kubectl version
): 1.18.2The text was updated successfully, but these errors were encountered: