Skip to content

[feature]: cli job run retry on "Error fetching deployment" #12062

@resmo

Description

@resmo

Proposal

Add an option --retry (default 3) for monitoring the job run status.

Use-cases

We run a reverse proxy as a cetralized entry point for our devs to the nomad API. The proxy itself runs on nomad.

If our CI re-deploys that proxy accessing the API through that proxy, even with canary and rolling update it might be the cli errors out with "Error fetching deployment".

We added a retry on error in our CI, but we wished the CLI job monitoring would just retry a couple of times by itself e.g. 3 times with a delay of a second.

Attempted Solutions

canary and rolling update

Metadata

Metadata

Assignees

No one assigned

    Labels

    help-wantedWe encourage community PRs for these issues!stage/acceptedConfirmed, and intend to work on. No timeline committment though.theme/clitype/enhancement

    Type

    No type

    Projects

    Status

    Needs Roadmapping

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions