Skip to content

Give occasional progress updates during image pull and pushes #3633

Open
@AustinAbro321

Description

@AustinAbro321

Is your feature request related to a problem? Please describe.

Zarf does not give progress for image pulls and pushes. Some images can be quite large especially as the AI industry often packs large models into images. There is a Kubernetes beta feature for image pod volumes. This will increase the likelihood of large images. As a design principal, we would like a user to have to go no more than 5-10 seconds without feedback from the system. Image pulls & pushes are most likely to be leave a user with no feedback.

Describe the behavior you'd like

  • Given A user has a zarf.yaml with an image that takes over five seconds to download
  • When they run zarf package create and it takes more than five seconds to download the image
  • Then they see a log message that looks like below
    ` image download in progress... completion=x%, remaining=xGB

Describe alternatives you've considered

An alternative would be to re-introduce progress bars. There is an avenue to do this since the ORAS cli has progress bars while calling the same functions we call with oras-go, however log messages will be much simpler to implement and likely will get users most of what they are looking for.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Planned

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions