Chris Baker
548d029ca5
docs: added vault token documentation to job revert command, documented VaultToken field of api.JobRevertRequest
2019-04-10 10:34:10 -05:00
Mahmood Ali
541cddd3e2
docs: fix job json example ( #5274 )
...
The internal needs to be long enough to accomodate the attempts.
Also, clarify that the input should be a json file rather than an hcl
`.nomad` one.
2019-01-30 10:33:10 -05:00
Preetha Appan
7ef1669363
Spread json docs
2019-01-10 11:10:04 -06:00
Alex Dadgar
0953d913ed
Deprecate IOPS
...
IOPS have been modelled as a resource since Nomad 0.1 but has never
actually been detected and there is no plan in the short term to add
detection. This is because IOPS is a bit simplistic of a unit to define
the performance requirements from the underlying storage system. In its
current state it adds unnecessary confusion and can be removed without
impacting any users. This PR leaves IOPS defined at the jobspec parsing
level and in the api/ resources since these are the two public uses of
the field. These should be considered deprecated and only exist to allow
users to stop using them during the Nomad 0.9.x release. In the future,
there should be no expectation that the field will exist.
2018-12-06 15:09:26 -08:00
Preetha Appan
c0868c5765
More docs for affinities
2018-11-05 16:41:20 -06:00
Preetha Appan
879c2c93c9
Code review feedback
2018-05-10 14:42:24 -05:00
Preetha Appan
2d0e273c43
Documentation for evaluate endpoint
2018-05-09 16:52:15 -05:00
Nick Ethier
059ea949be
minor code review fixes to api/jobs
2018-04-17 10:18:36 -04:00
Nick Ethier
8ef7d208c9
website: fix type in api/jobs/parse
2018-04-16 19:32:37 -04:00
Nick Ethier
2e31bbe333
website: add standard blocking query/ACL table to jobs/parse ep
2018-04-16 19:21:09 -04:00
Nick Ethier
a5ffa2271a
website: add api docs for v1/jobs/parse endpoint
2018-04-16 19:21:09 -04:00
Preetha Appan
8f208055bc
Initial docs for new delayed rescheduling options
2018-03-27 14:55:19 -05:00
Preetha Appan
8f73700314
Review feedback
2018-02-06 12:25:44 -06:00
Preetha Appan
91a9118dfa
Documentation for reschedule attempts in CLI/API
2018-02-06 10:19:45 -06:00
Charlie Voiselle
a6c3144fd5
Changed nomad.rocks to localhost:4646 to align with defaults
...
Should provide cut and paste example for most users. Advanced users should be able to correct URLs to something appropriate.
2018-01-29 11:27:52 -05:00
Michael Schurter
94e6b9cff6
Make example service name make sense
...
Switch from global-redis-check for the example job's service name to
redis-cache. The former name is really confusing and someone finally
called us out on it:
https://groups.google.com/d/msg/nomad-tool/3RTh6CyYkWk/vEe_Sj7lAAAJ
Also specifically mention that the `service.name` parameter is what is
advertised in Consul.
2018-01-17 14:08:30 -08:00
Thomas Bartelmess
51a407f2bc
Changed Superset to only return the resource name
...
The Superset method on Resources used to return a string in the format of “[resource name] exhausted”.
This was leading to the output in plan/create job API DimensionExhausted to return keys like
```
"DimensionExhausted": {"cpu exhausted": 1}
```
This was not anywhere documented, however, one of the examples on the website showed it like this.
The other side effect of this is that the CLI formats the strings from the name of the key leading to output like
```
* Dimension "cpu exhausted" exhausted on 1 nodes
```
2017-11-28 23:16:08 -05:00
Preetha Appan
f3075f66ec
Document modify time in a bunch of places
2017-11-01 15:16:38 -05:00
Michael Schurter
1c1781917e
Force Periodic ACL enforcement
2017-10-10 15:16:41 -07:00
Chelsea Komlo
bb8ce73cc7
Merge pull request #3290 from hashicorp/f-acl-job-dispatch
...
Add ACL for dispatch job
2017-10-06 13:33:21 -04:00
Chelsea Komlo
ebc79fba33
Merge pull request #3278 from hashicorp/f-acl-job-getjob
...
Add ACL for GetJob
2017-09-29 17:44:31 -04:00
Chelsea Komlo
909912e603
Merge pull request #3272 from hashicorp/f-acl-job-stable
...
Add ACL endpoint for Job Stable
2017-09-29 17:44:09 -04:00
Chelsea Komlo
45881b662b
Merge pull request #3294 from hashicorp/f-acl-job-deregister
...
Add ACL for job deregister
2017-09-28 10:57:51 -04:00
Chelsea Komlo
39960d9a65
Merge pull request #3291 from hashicorp/f-acl-get-job-versions
...
Add ACL for job endpoint GetJobVersions
2017-09-28 10:35:19 -04:00
Chelsea Holland Komlo
5a738d28af
job dispatch should have dispatch policy
2017-09-28 14:28:28 +00:00
Chelsea Komlo
db4ea27457
Merge pull request #3276 from hashicorp/f-acl-job-evaluate
...
Add read job permissions to evaluate endpoint
2017-09-27 18:01:15 -04:00
Chelsea Holland Komlo
6323f46712
add documnetation
2017-09-27 21:06:13 +00:00
Chelsea Komlo
6d8bd9a16d
Merge pull request #3279 from hashicorp/f-acl-job-allocations
...
Add ACL to job allocations endpoint
2017-09-27 16:57:04 -04:00
Chelsea Komlo
d60ec5499e
Merge pull request #3283 from hashicorp/f-acl-job-latest-deployment
...
Add ACL to latest job api
2017-09-27 16:54:44 -04:00
Chelsea Holland Komlo
1b2364b1c6
add documentation
2017-09-27 20:23:06 +00:00
Chelsea Holland Komlo
88d3a83057
add documentation
2017-09-27 20:20:04 +00:00
Chelsea Holland Komlo
06d061c2a8
add documentation
2017-09-27 20:17:58 +00:00
Chelsea Holland Komlo
8b2cdac917
add documentation
2017-09-27 20:12:49 +00:00
Alex Dadgar
6a655600fe
Merge pull request #3292 from hashicorp/f-lint-website
...
Spell check website
2017-09-27 12:56:13 -07:00
Chelsea Holland Komlo
5a6b76e403
acl for job deregister
2017-09-27 19:21:10 +00:00
Chelsea Komlo
ecf55998f7
Merge pull request #3281 from hashicorp/f-acl-job-evaluations
...
Add ACL for Job Evaluations endpoint
2017-09-27 15:15:35 -04:00
Alex Dadgar
b84472f5c5
Spell check website
2017-09-27 11:14:37 -07:00
Chelsea Holland Komlo
3a4eb87693
add acl for dispatch job
2017-09-27 16:33:49 +00:00
Chelsea Holland Komlo
21e33571c1
add acl for job deployments endpoint
2017-09-26 20:33:03 +00:00
Chelsea Holland Komlo
edafd1fedf
add acl for Job Evaluations endpoint
2017-09-26 20:12:37 +00:00
Chelsea Holland Komlo
faa4c99281
add acl to job allocations endpoint
2017-09-26 18:01:23 +00:00
Chelsea Holland Komlo
28177185f2
add acl documentation
2017-09-25 21:53:32 +00:00
Alex Dadgar
ddc2efa4ac
sync
2017-09-19 10:08:23 -05:00
Chelsea Holland Komlo
c513bdfd15
add documentation for job list acl
2017-09-15 21:26:27 +00:00
Chelsea Holland Komlo
0ae023f3d4
add job endpoint ACL
2017-09-14 18:17:35 +00:00
Alex Dadgar
0d17cd78ce
Describe the all parameter when listing job allocs
...
Fixes https://github.com/hashicorp/nomad/issues/3092
2017-08-24 17:01:24 -07:00
James Rasell
a2cd9ad079
Update job.html read most recent deployment sample
...
The sample request incorrectly used `https://nomad.rocks/v1/job/my-job/deployments ` which listed all deployments for the specified job. The sample request has therefore been updated to use the correct endpoint which returns only the jobs most recent deployment.
2017-08-08 10:47:24 +01:00
Alex Dadgar
37c3801082
Merge pull request #2931 from zsluedem/master
...
add job creating json sample in jobs api doc
2017-08-01 14:21:45 -07:00
Alex Dadgar
c620a23412
Document Purge parameter on deregister request
...
This PR documents the purge parameter when deregistering a job.
2017-07-31 14:03:35 -07:00
Will
5916183bf8
add job creating json sample in jobs api doc
2017-07-29 09:04:30 +08:00