Commit Graph

72 Commits

Author SHA1 Message Date
Chelsea Komlo
552b369b94 Merge pull request #3219 from hashicorp/f-acl-job-list
Add job list ACL
2017-09-15 19:32:34 -04:00
Chelsea Holland Komlo
c513bdfd15 add documentation for job list acl 2017-09-15 21:26:27 +00:00
Michael Schurter
3fbd3a10c9 Node.List ACL enforcement 2017-09-14 22:01:18 -07:00
Michael Schurter
71ae8a555e Node.GetAllocs ACL enforcement 2017-09-14 21:42:19 -07:00
Michael Schurter
2d4ec79d75 Node.GetNode ACL enforcement 2017-09-14 20:59:18 -07:00
Michael Schurter
5b22fd4b6d Node.Evaluate ACL enforcement 2017-09-14 20:41:44 -07:00
Michael Schurter
69be9f3808 Node.UpdateDrain ACL enforcement 2017-09-14 20:33:31 -07:00
Michael Schurter
a014676c94 Alloc.GetAlloc ACL enforcement 2017-09-14 17:44:57 -07:00
Michael Schurter
d992d00ca6 Alloc.List ACL enforcement 2017-09-14 17:43:17 -07:00
Chelsea Holland Komlo
0ae023f3d4 add job endpoint ACL 2017-09-14 18:17:35 +00:00
Alex Dadgar
58f3a29d07 Merge pull request #3205 from hashicorp/f-deployment-acl
Deployment.GetDeployment ACL enforcement
2017-09-14 10:50:17 -07:00
Chelsea Holland Komlo
356375687a add documentation for prometheus config option 2017-09-13 19:21:21 +00:00
Alex Dadgar
ad73dbb70d Deployment.GetDeployment ACL enforcement 2017-09-13 11:44:23 -07:00
Armon Dadgar
d6faa383d7 website: document ACL bootstrap reset process 2017-09-10 16:18:39 -07:00
Chelsea Holland Komlo
1df5310c6e tagged metrics config options should be on telemetry config
better api example, add telemetry documentation
2017-09-06 15:25:36 +00:00
Chelsea Holland Komlo
cc00c13f4a add documentation for new HTTP metrics endpoint 2017-09-06 13:51:19 +00:00
Armon Dadgar
8586781a6e website: pointing to ACL guide 2017-09-04 13:07:44 -07:00
Armon Dadgar
045e659390 website: Document ACL APIs and configuration 2017-09-04 13:07:44 -07:00
Alex Dadgar
914ed9ffeb Clarify all_at_once parameter
Fixes https://github.com/hashicorp/nomad/issues/3125
2017-08-29 16:20:28 -07:00
Alex Dadgar
472a1f7943 Merge pull request #3107 from hashicorp/b-migrate-context-all
All context should use string context "all"
2017-08-28 12:38:54 -07:00
Alex Dadgar
d40037e138 Merge pull request #3096 from hashicorp/d-all-allocs
Describe the all parameter when listing job allocs
2017-08-28 12:25:24 -07:00
Chelsea Holland Komlo
7ed974c57e migrate all context 2017-08-28 05:29:38 +00:00
Chelsea Holland Komlo
004f984147 alignment and fixups from code review 2017-08-25 14:12:23 +00:00
Chelsea Holland Komlo
fa215ede1a add HTTP documentation for search api 2017-08-25 00:14:04 +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
Alex Dadgar
711e7c85ca clarify deployment api docs 2017-08-23 10:35:29 -07:00
Michael Schurter
a6bf5b6098 Document check header and method 2017-08-17 16:49:14 -07:00
Michael Schurter
32d782deb1 Add ShutdownDelay to JSON Job docs 2017-08-17 11:30:29 -07:00
Hynek Schlawack
0566af8d83 Off by one! 2017-08-12 16:06:20 +02:00
Nicolae Vlădescu
054a9eeb0b Fix navigation highlight for JSON Jobs 2017-08-11 11:37:40 +03:00
Nicolae Vlădescu
48b5555623 Fix documentation bug
Fix documentation bug: distinct_host -> distinct_hosts
2017-08-11 11:29:53 +03:00
Alex Dadgar
b14cc6243f Merge pull request #2980 from hashicorp/b-doc-missing-node-allocations
Re-added Allocations documentation
2017-08-08 10:23:02 -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
798b779609 Merge pull request #2947 from hashicorp/f-vault-grace
Allow template to set Vault grace
2017-08-07 16:29:53 -07:00
Charlie Voiselle
f4bcde52e2 Added code block styling 2017-08-07 17:34:18 -04:00
Charlie Voiselle
7ba5436f66 Re-added Allocations documentation
In a content reorganization, the allocations endpoint documentation was removed.  This just brings it back in and updates the output to match v0.6.0 output
2017-08-07 17:28:06 -04:00
Jonathan Cross
f5def9b3b3 fix wording 2017-08-02 13:54:49 -04:00
Jonathan Cross
a2ce21af33 add third party client library link for python 2017-08-02 13:51:37 -04: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
2e7d8adfa4 Merge pull request #2942 from hashicorp/f-distinct-count
Distinct Property supports arbitrary limit
2017-08-01 14:19:09 -07:00
Alex Dadgar
053cff812a Allow template to set Vault grace
This PR allows a template to specify the Vault grace duration.

Fixes https://github.com/hashicorp/nomad/issues/2922
2017-08-01 14:14:08 -07:00
Alex Dadgar
4e71ba2e71 Distinct Property supports arbitrary limit
This PR enhances the distinct_property constraint such that a limit can
be specified in the RTarget/value parameter. This allows constraints
such as:

```
constraint {
  distinct_property = "${meta.rack}"
  value = "2"
}
```

This restricts any given rack from running more than 2 allocations from
the task group.

Fixes https://github.com/hashicorp/nomad/issues/1146
2017-07-31 16:52:13 -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
Alex Dadgar
c94aa29ddc Example JSON is submitable
This PR makes the example JSON job submitable via the HTTP API.
2017-07-28 09:02:15 -07:00
Alex Dadgar
58898e1426 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
Seth Vargo
36fe551231 Use a subdirectory for operator commands 2017-07-25 15:55:35 -04:00
Charlie Voiselle
77c6f32243 Spellcheck sweep of website directory
Caught some typos.  Made units separate from the numbers 1GHz -> 1 GHz
after talking to Nick about questions of style (this has the side effect of making future spell checking easier).
2017-07-17 14:41:50 -04:00
Michael Schurter
02447214d5 an user -> a user 2017-07-07 12:12:48 -07:00
Alex Dadgar
27048bb7fa events 2017-07-07 12:12:48 -07:00