-
Notifications
You must be signed in to change notification settings - Fork 13
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
notification events from CRI runtime #39
Comments
This is a good idea and definitely worth exploring! Currently, I only see |
@swatisehgal, @fromanirh my college interested in this, but for solving issues with PLEG. |
@AlexeyPerevalov very nice! thanks for letting us know. I'll surely have a look ASAP. |
Brainstorming a bit more of implementation details.
Hence the implementation could look like
|
Even simpler implementation discussed offline with @cynepco3hahue
I think this is actually better than my proposal because leaving room for future expansion is a double edged sword. The real path forward is to make the podresources kubelet api watchable. |
tentative implementation: #54 |
implemented in #54 (merged) |
The major container runtimes, containerd and cri-o, both offer extensive hooking mechanism we can leverage to get container lifecycle events while the podresources API catches up. It could work like this:
GetAllocatable
/List
poll to update its status.The text was updated successfully, but these errors were encountered: