Skip to content

configurable network retries #1443

@cgwalters

Description

@cgwalters

We should support configuration for network errors.

Related:

Especially in some scenarios, higher level software may want to retry a lot (e.g. potentially minutes) for network errors.

Bikeshed: Unlike podman/skopeo I'd say --network-retry instead of just --retry to be crystal clear what it does/doesn't do.

I think we could add a generic NetworkRetries struct that gets added to upgrade/switch/install.

NOTE this depends on #1424 because it effectively pulls in the retryable error code from https://github.com/containers/skopeo/blob/main/docs-experimental/skopeo-experimental-image-proxy.1.md

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/clientRelated to the client/CLIenhancementNew feature or requestgain/mediumMedium gaintriagedThis looks like a valid issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions