Commit graph

55 commits

Author SHA1 Message Date
Preetha Appan 7614f841b0
Spread json docs 2019-01-10 11:10:04 -06:00
Alex Dadgar 1e3c3cb287 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 8b3de1f8d9
More docs for affinities 2018-11-05 16:41:20 -06:00
Preetha Appan bfa0937bbb
Code review feedback 2018-05-10 14:42:24 -05:00
Preetha Appan b811018b23
Documentation for evaluate endpoint 2018-05-09 16:52:15 -05:00
Nick Ethier 1f99c3a0f7
minor code review fixes to api/jobs 2018-04-17 10:18:36 -04:00
Nick Ethier f72c76c373
website: fix type in api/jobs/parse 2018-04-16 19:32:37 -04:00
Nick Ethier bfc0e49ff2
website: add standard blocking query/ACL table to jobs/parse ep 2018-04-16 19:21:09 -04:00
Nick Ethier ecce6d7366
website: add api docs for v1/jobs/parse endpoint 2018-04-16 19:21:09 -04:00
Preetha Appan 7b0aaebb50
Initial docs for new delayed rescheduling options 2018-03-27 14:55:19 -05:00
Preetha Appan 4db169ce0a
Review feedback 2018-02-06 12:25:44 -06:00
Preetha Appan 9632d0e352
Documentation for reschedule attempts in CLI/API 2018-02-06 10:19:45 -06:00
Charlie Voiselle fb5091678b 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 9fcda9c5aa 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 9acfa166c0
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 7116487a96 Document modify time in a bunch of places 2017-11-01 15:16:38 -05:00
Michael Schurter 0cf7a3950b Force Periodic ACL enforcement 2017-10-10 15:16:41 -07:00
Chelsea Komlo 7c8a5228d4 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 97e34725e1 Merge pull request #3278 from hashicorp/f-acl-job-getjob
Add ACL for GetJob
2017-09-29 17:44:31 -04:00
Chelsea Komlo 388cdaa2e8 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 3a015016cc 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 c54a4f7c91 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 c242ac1431 job dispatch should have dispatch policy 2017-09-28 14:28:28 +00:00
Chelsea Komlo 77ae328fbe 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 09cd8b2792 add documnetation 2017-09-27 21:06:13 +00:00
Chelsea Komlo d3d1bc6498 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 8f1c89c721 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 41c30183ee add documentation 2017-09-27 20:23:06 +00:00
Chelsea Holland Komlo fe226a8f87 add documentation 2017-09-27 20:20:04 +00:00
Chelsea Holland Komlo aa026e708a add documentation 2017-09-27 20:17:58 +00:00
Chelsea Holland Komlo 4e18d060b0 add documentation 2017-09-27 20:12:49 +00:00
Alex Dadgar bed56cbb1e Merge pull request #3292 from hashicorp/f-lint-website
Spell check website
2017-09-27 12:56:13 -07:00
Chelsea Holland Komlo 1bab53c9fd acl for job deregister 2017-09-27 19:21:10 +00:00
Chelsea Komlo b40de659a7 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 60111b5af7 Spell check website 2017-09-27 11:14:37 -07:00
Chelsea Holland Komlo 0db1367d43 add acl for dispatch job 2017-09-27 16:33:49 +00:00
Chelsea Holland Komlo 55c4ca187e add acl for job deployments endpoint 2017-09-26 20:33:03 +00:00
Chelsea Holland Komlo a7b7b3f6c6 add acl for Job Evaluations endpoint 2017-09-26 20:12:37 +00:00
Chelsea Holland Komlo 2fb7772c2c add acl to job allocations endpoint 2017-09-26 18:01:23 +00:00
Chelsea Holland Komlo 021dae5452 add acl documentation 2017-09-25 21:53:32 +00:00
Alex Dadgar e5ec915ac3 sync 2017-09-19 10:08:23 -05:00
Chelsea Holland Komlo 6ca7a5f4db add documentation for job list acl 2017-09-15 21:26:27 +00:00
Chelsea Holland Komlo 3eff2a06c5 add job endpoint ACL 2017-09-14 18:17:35 +00:00
Alex Dadgar 8eb3db6e98 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 07e3bed923 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 80f41d2389 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 08e98e1de4 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 489d635de2 add job creating json sample in jobs api doc 2017-07-29 09:04:30 +08:00
Alex Dadgar fac2567521 Update API and JSON Job Documentation
This PR updates the api documentation to reflect 0.6 HTTP API and the
JSON job specification as well.
2017-07-25 17:18:15 -07:00
Alex Dadgar a7fdc74bd4 feedback 2017-07-07 12:10:04 -07:00