Skip to content

upgrade/switch: Support trickle-fetch #1375

@cgwalters

Description

@cgwalters

We should have explicit support for "trickle fetching" where we fetch as much as we can given a certain amount of bandwidth.

Related to this, it'd be good to document how to apply explicit bandwidth limits (via e.g. tc).

A simple way to do things today would be something like bootc upgrade --max-layers; that'd limit the number of newly fetched layers. Or we could have bootc upgrade --max-bytes 100M to fetch at most 100M of data (ignoring metadata overhead). Today at least with the default ostree-container backend we don't retain partially fetched layers, so that'd need to be done. Alternatively we could dig into whether c/storage supports all of this and build on unified storage.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/clientRelated to the client/CLIenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions