-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Also includes note that `nomad eval status -json` is deprecated and will be replaced with a single evaluation view in a future version of Nomad.
- Loading branch information
Showing
6 changed files
with
108 additions
and
3 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--- | ||
layout: docs | ||
page_title: 'Commands: eval' | ||
description: | | ||
The eval command is used to interact with evals. | ||
--- | ||
|
||
# Command: eval | ||
|
||
The `eval` command is used to interact with evals. | ||
|
||
## Usage | ||
|
||
Usage: `nomad eval <subcommand> [options]` | ||
|
||
Run `nomad eval <subcommand> -h` for help on that subcommand. The following | ||
subcommands are available: | ||
|
||
- [`eval list`][list] - List all evals | ||
- [`eval status`][status] - Display the status of a eval | ||
|
||
[list]: /docs/commands/eval/list 'List all evals' | ||
[status]: /docs/commands/eval/status 'Display the status of a eval' |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
--- | ||
layout: docs | ||
page_title: 'Commands: eval list' | ||
description: | | ||
The eval list command is used to list evaluations. | ||
--- | ||
|
||
# Command: eval list | ||
|
||
The `eval list` command is used list all evaluations. | ||
|
||
## Usage | ||
|
||
```plaintext | ||
nomad eval list [options] | ||
``` | ||
|
||
The `eval list` command requires no arguments. | ||
|
||
When ACLs are enabled, this command requires a token with the 'read-job' | ||
capability for the requested namespace. | ||
|
||
## General Options | ||
|
||
@include 'general_options.mdx' | ||
|
||
## List Options | ||
|
||
- `-verbose`: Show full information. | ||
- `-per_page`: How many results to show per page. | ||
- `-page_token`: Where to start pagination. | ||
- `-job`: Only show evaluations for this job ID. | ||
- `-status`: Only show evaluations with this status. | ||
- `-json`: Output the evaluation in its JSON format. | ||
- `-t`: Format and display evaluation using a Go template. | ||
|
||
## Examples | ||
|
||
List all tracked evaluations: | ||
|
||
```shell-session | ||
$ nomad eval list -per_page 3 -status complete | ||
ID Priority Triggered By Job ID Status Placement Failures | ||
456e37aa 50 deployment-watcher example complete false | ||
1a1eafe6 50 alloc-stop example complete false | ||
3411e37b 50 job-register example complete false | ||
Results have been paginated. To get the next page run: | ||
nomad eval list -page_token 9ecffbba-73be-d909-5d7e-ac2694c10e0c | ||
``` |
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
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
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
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