-
Notifications
You must be signed in to change notification settings - Fork 2k
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
cli: Add nomad job allocs command #11242
Conversation
4cfb5dc
to
c223f0b
Compare
FYI I rebased onto main to see if that will fix the 2 autopilot test failures |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I push a commit with some minor fixes.
Such a nice and helpful command 🎉
I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions. |
This PR provides a CLI interface to display allocations for a particular job.
nomad job allocs [options] <job>
-json
: Output the allocations in JSON format.-t
: Format and display the allocations using a Go template.-verbose
: Show full information.-all
: Display all allocations matching the job ID, even those from anolder instance of the job.