new CLI: nomad job wait #24551
Labels
hcc/jira
stage/accepted
Confirmed, and intend to work on. No timeline committment though.
theme/cli
type/enhancement
It would nice to have a equivalent for waiting batch job to finish with a timeout.
kubectl wait --for=condition=complete --timeout=30s job/myjob
This allows easy composable deployment scripts that uses one-off jobs . Currently, one have to do something like this with a loop
nomad job inspect -json <job name> | jq ".Status"
The text was updated successfully, but these errors were encountered: