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

Add support for pagination #477

Closed
jacobtomlinson opened this issue Aug 20, 2024 · 0 comments · Fixed by #523
Closed

Add support for pagination #477

jacobtomlinson opened this issue Aug 20, 2024 · 0 comments · Fixed by #523
Labels
enhancement New feature or request good second issue Clearly described and reproducible, but solution less clear than "good first issue" kr8s

Comments

@jacobtomlinson
Copy link
Member

Which project are you requesting an enhancement for?

kr8s

What do you need?

On clusters with thousands of Pods calling kr8s.get("pods") can take a long time and consume a lot of resources on the control plane.

It would be nice to support the pagination built into Kubernetes so that we can read the list in chunks.

This would likely mean that methods like kr8s.get() would need to become a generator.

@jacobtomlinson jacobtomlinson added enhancement New feature or request kr8s labels Aug 20, 2024
@jacobtomlinson jacobtomlinson added the good second issue Clearly described and reproducible, but solution less clear than "good first issue" label Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good second issue Clearly described and reproducible, but solution less clear than "good first issue" kr8s
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant