Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new CLI: nomad job wait #24551

Open
thefallentree opened this issue Nov 24, 2024 · 1 comment
Open

new CLI: nomad job wait #24551

thefallentree opened this issue Nov 24, 2024 · 1 comment
Labels
hcc/jira stage/accepted Confirmed, and intend to work on. No timeline committment though. theme/cli type/enhancement

Comments

@thefallentree
Copy link
Contributor

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"

@jrasell jrasell added theme/cli stage/accepted Confirmed, and intend to work on. No timeline committment though. labels Nov 25, 2024
@jrasell jrasell moved this from Needs Triage to Needs Roadmapping in Nomad - Community Issues Triage Nov 25, 2024
@jrasell
Copy link
Member

jrasell commented Nov 25, 2024

Hi @thefallentree and thanks for raising this issue. I think is would be a good addition to the Nomad CLI, so I'll mark this for roadmapping.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hcc/jira stage/accepted Confirmed, and intend to work on. No timeline committment though. theme/cli type/enhancement
Projects
Status: Needs Roadmapping
Development

No branches or pull requests

2 participants