Skip to content

Support pagination on Informer list operation #1976

Closed
@Bijnagte

Description

@Bijnagte

When an Informer gets started if a limit value is supplied instead of trying to fetch all items in a single call the fabric8 client will paginate to get all of the items. This has an impact on large informer caches where timeouts may be experienced or where it may cause memory pressure on the api server when all resources are in memory prior to completing the request.

The default should continue to be to use a non-paginated approach because pagination puts more pressure on etcd than non paginated listing.

We experienced issues with our ability to start informers when the size was large (> 100k resources) but are unsure of the tipping point.

This is more of a feature request than a bug and I will open a PR for this enhancement

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions