Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Nomad
Commits
af898153
Commit
af898153
authored
7 years ago
by
Preetha Appan
Browse files
Options
Download
Email Patches
Plain Diff
Update docs to include ModifyTime in more places where allocations are returned
parent
b8d0d0de
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
website/source/api/deployments.html.md
+2
-1
website/source/api/deployments.html.md
website/source/api/nodes.html.md
+2
-1
website/source/api/nodes.html.md
website/source/docs/commands/job/status.html.md.erb
+1
-1
website/source/docs/commands/job/status.html.md.erb
website/source/intro/getting-started/jobs.html.md
+8
-7
website/source/intro/getting-started/jobs.html.md
with
13 additions
and
10 deletions
+13
-10
website/source/api/deployments.html.md
+
2
-
1
View file @
af898153
...
...
@@ -253,7 +253,8 @@ $ curl \
"DeploymentStatus"
:
null
,
"CreateIndex"
:
19
,
"ModifyIndex"
:
22
,
"CreateTime"
:
1498775380678486300
"CreateTime"
:
1498775380678486300
,
"ModifyTime"
:
1498775380678486300
}
]
```
...
...
This diff is collapsed.
Click to expand it.
website/source/api/nodes.html.md
+
2
-
1
View file @
af898153
...
...
@@ -504,7 +504,8 @@ $ curl \
"CreateIndex"
:
15052
,
"ModifyIndex"
:
15057
,
"AllocModifyIndex"
:
15052
,
"CreateTime"
:
1502140975600438500
"CreateTime"
:
1502140975600438500
,
"ModifyTime"
:
1502140975600438500
},
...
]
...
...
This diff is collapsed.
Click to expand it.
website/source/docs/commands/job/status.html.md.erb
+
1
-
1
View file @
af898153
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
website/source/intro/getting-started/jobs.html.md
+
8
-
7
View file @
af898153
...
...
@@ -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.
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help