Commit Graph

54 Commits

Author SHA1 Message Date
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
Alex Dadgar
6925255fe4 add to docs 2017-07-07 12:10:04 -07:00
Alex Dadgar
4e4c4a0f46 feedback 2017-07-07 12:10:04 -07:00
Alex Dadgar
65abc9ae41 HTTP API docs for job 2017-07-07 12:10:04 -07:00
Alex Dadgar
89d86bc4bd Deployments HTTP docs 2017-07-07 12:03:11 -07:00
Rob Genova
51ca07c50a Remove Atlas references from docs 2017-06-05 23:05:43 +00:00
Seth Vargo
5916480c7f Remove links to consistency modes 2017-05-30 21:08:23 -04:00
Seth Vargo
949a078266 Remove consistency modes 2017-05-30 20:53:37 -04:00
Seth Vargo
4d144e404f Cleanup links to limit redirects 2017-05-30 20:25:11 -04:00
Seth Vargo
b6ce5671ad Migrate API index 2017-05-30 20:25:10 -04:00
Seth Vargo
44e039712e Migrate validate APIs 2017-05-30 20:25:10 -04:00
Seth Vargo
085e57a3a9 Migrate system APIs 2017-05-30 20:25:10 -04:00
Seth Vargo
10fbdc5203 Migrate status APIs 2017-05-30 20:25:10 -04:00
Seth Vargo
6d44b632d4 Migrate regions APIs 2017-05-30 20:25:09 -04:00
Seth Vargo
1e05ae5353 Migrate operator APIs 2017-05-30 20:25:09 -04:00
Seth Vargo
681da3fea3 Migrate nodes APIs 2017-05-30 20:25:09 -04:00
Seth Vargo
5927099646 Add libraries & SDKs page 2017-05-30 20:25:08 -04:00
Seth Vargo
0929c6c766 Migrate JSON Jobs to new namespace 2017-05-30 20:25:08 -04:00
Seth Vargo
04cace3e1d Migrate jobs APIs 2017-05-30 20:25:08 -04:00