Commit af898153 authored by Preetha Appan's avatar Preetha Appan
Browse files

Update docs to include ModifyTime in more places where allocations are returned

parent b8d0d0de
No related merge requests found
Showing with 13 additions and 10 deletions
+13 -10
......@@ -253,7 +253,8 @@ $ curl \
"DeploymentStatus": null,
"CreateIndex": 19,
"ModifyIndex": 22,
"CreateTime": 1498775380678486300
"CreateTime": 1498775380678486300,
"ModifyTime": 1498775380678486300
}
]
```
......
......@@ -504,7 +504,8 @@ $ curl \
"CreateIndex": 15052,
"ModifyIndex": 15057,
"AllocModifyIndex": 15052,
"CreateTime": 1502140975600438500
"CreateTime": 1502140975600438500,
"ModifyTime": 1502140975600438500
},
...
]
......
......@@ -23,7 +23,7 @@ information will be displayed.
If the ID is omitted, the command lists out all of the existing jobs and a few of
the most useful status fields for each. As of Nomad 0.7.1, alloc status also shows allocation
modification time in addition to create time. When the -verbose flag is not set, allocation
modification time in addition to create time. When the `-verbose` flag is not set, allocation
creation and modify times are shown in a shortened relative time format like `5m ago`.
## General Options
......
......@@ -78,8 +78,8 @@ Task Group Desired Placed Healthy Unhealthy
cache 1 1 1 0
Allocations
ID Node ID Task Group Version Desired Status Created At
8ba85cef 171a583b cache 0 run running 07/25/17 23:14:43 UTC
ID Node ID Task Group Version Desired Status Created Modified
8ba85cef 171a583b cache 0 run running 5m ago 5m ago
```
Here we can see that the result of our evaluation was the creation of an
......@@ -100,7 +100,8 @@ Client Status = running
Client Description = <none>
Desired Status = run
Desired Description = <none>
Created At = 07/25/17 23:14:43 UTC
Created = 5m ago
Modified = 5m ago
Deployment ID = fa882a5b
Deployment Health = healthy
......@@ -321,10 +322,10 @@ Task Group Desired Placed Healthy Unhealthy
cache 3 3 3 0
Allocations
ID Node ID Task Group Version Desired Status Created At
8ace140d 2cfe061e cache 2 stop complete 07/26/17 17:51:01 UTC
8af5330a 2cfe061e cache 2 stop complete 07/26/17 17:51:01 UTC
df50c3ae 2cfe061e cache 2 stop complete 07/26/17 17:51:01 UTC
ID Node ID Task Group Version Desired Status Created Modified
8ace140d 2cfe061e cache 2 stop complete 5m ago 5m ago
8af5330a 2cfe061e cache 2 stop complete 6m ago 6m ago
df50c3ae 2cfe061e cache 2 stop complete 6m ago 6m ago
```
If we wanted to start the job again, we could simply `run` it again.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment