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
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