Created
July 12, 2022 14:08
-
-
Save lgfa29/f68afcf232872e709b936ff3d0d9393b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nomad job allocs -t '{{range .}}{{println .ID}}{{end}}' example | xargs -n1 nomad alloc restart | |
nomad job allocs -json example | jq '.[].ID' | xargs -n1 nomad alloc restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment