Skip to content
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

The list() method with config maps exceeds Akka max entity size #254

Closed
sathibault opened this issue Feb 20, 2019 · 2 comments
Closed

The list() method with config maps exceeds Akka max entity size #254

sathibault opened this issue Feb 20, 2019 · 2 comments

Comments

@sathibault
Copy link

Since the list method returns the entire content of the objects, it can result in a very large result for config maps that can be arbitrarily large. Is there any way to fetch the names of config maps without their actual content?

@doriordan
Copy link
Owner

doriordan commented Feb 23, 2019

At the moment there isn't a clean way to do this with skuber - the nearest you can get would probably be to use the limit and continue flags in ListOptions passed to a series of listWithOptions call to basically retrieve the resources in a paged manner (see https://kubernetes.io/docs/reference/using-api/api-concepts/#retrieving-large-results-sets-in-chunks for how this works from a Kubernetes perspective).
What would probably be better for your use case is support for the relatively new Kubernetes API feature that allows resource lists to be returned in tabular format (see https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables). I've raised issue #257 to track adding support to skuber for this.

@sathibault
Copy link
Author

Okay, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants