Skip to content

fix: added pagination to the workflow and pod listings. Fixes #14374 #14373

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

isubasinghe
Copy link
Member

@isubasinghe isubasinghe commented Apr 11, 2025

Fixes #14374

Motivation

This change ensures that pagination happens in our list calls to both pod and workflows. This is needed because when k8s has a large number of resources, it is generally better to perform some amount of pagination.

Modifications

Simple change that modified the list calls to use 'continue on' tokens.

Verification

Tested to ensure the k8s api calls function as is.

@isubasinghe isubasinghe changed the title feat: added pagination to the workflow and pod controller fix: added pagination to the workflow and pod controller Apr 11, 2025
@isubasinghe isubasinghe force-pushed the feat-paginate-list-calls branch from f24b256 to dc39ddb Compare April 11, 2025 12:50
@isubasinghe isubasinghe changed the title fix: added pagination to the workflow and pod controller fix: added pagination to the workflow and pod controllerl. Fixes #14374 Apr 11, 2025
Signed-off-by: isubasinghe <[email protected]>
Signed-off-by: isubasinghe <[email protected]>
@isubasinghe isubasinghe changed the title fix: added pagination to the workflow and pod controllerl. Fixes #14374 fix: added pagination to the workflow and pod listings. Fixes #14374 Apr 11, 2025
Signed-off-by: isubasinghe <[email protected]>
@isubasinghe isubasinghe marked this pull request as ready for review April 29, 2025 00:02
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

Successfully merging this pull request may close these issues.

Listing of workflows/pods should paginate to support the case where there is a large number of objects.
1 participant