-
Notifications
You must be signed in to change notification settings - Fork 166
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
Support API chunking #283
Comments
Seems this is supported starting with kubernetes 1.8 API. |
2 open questions:
Perhaps we need a 2-step interface like
robust but awkward :-( |
Implement API chunking support as specified in https://kubernetes.io/docs/reference/using-api/api-concepts/#retrieving-large-results-sets-in-chunks Add limit and continue as parameters to get_entities and get_entities and add continue as an optional attribute (default to nil) to EntityList. Fixes: ManageIQ#283
@cben I took a crack at this over in #356 |
Implement API chunking support as specified in https://kubernetes.io/docs/reference/using-api/api-concepts/#retrieving-large-results-sets-in-chunks Add limit and continue as parameters to get_entities and watch_entities and add continue as an optional attribute (default to nil) to EntityList. Fixes: ManageIQ#283
Implement API chunking support as specified in https://kubernetes.io/docs/reference/using-api/api-concepts/#retrieving-large-results-sets-in-chunks Add limit and continue as parameters to get_entities add continue as an optional attribute (default to nil) to EntityList. Fixes: ManageIQ#283
Implement API chunking support as specified in https://kubernetes.io/docs/reference/using-api/api-concepts/#retrieving-large-results-sets-in-chunks Add limit and continue as parameters to get_entities add continue as an optional attribute (default to nil) to EntityList. Fixes: ManageIQ#283
k8s recently finally got response chunking (kinda pagination, of a consistent snapshot at single resourceVersion!):
kubernetes/community#896 => https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-chunking.md
kubernetes/enhancements#365
https://kubernetes.io/docs/reference/using-api/api-concepts/
This has similar benefits to streaming parsing (#254) for peak RAM on client, but also reduces peak RAM on server, and avoids some annoyances like client timing out while server builds response.
Would be great in at some point in kubeclient.
Do we still also want streaming parsing? Don't have an opinion yet.
First I want to figure out if same block-based API as in #254 is also good for chunking? Or do we need something lower-level that gives user more control?
The text was updated successfully, but these errors were encountered: