Rob Genova
7a640bf3fc
Fix broken links in API docs
2018-08-25 11:35:56 -05:00
Alex Dadgar
796e623dde
Use Tags when CanaryTags isn't specified
...
This PR fixes a bug where we weren't defaulting to `tags` when
`canary_tags` was empty and adds documentation.
2018-05-23 13:07:47 -07:00
Aymeric Beaumet
d2c851d148
docs: fix typo in json documentation
2018-05-21 12:01:44 +02:00
Alex Dadgar
c240e021cc
change default to 10m and docs
2018-05-07 14:50:01 -05:00
Michael Schurter
31e97360c4
docs: add drain api and json jobspec
2018-04-12 11:34:01 -07:00
Preetha Appan
ab39d028ce
more review feedback
2018-03-27 14:55:19 -05:00
Preetha Appan
8f208055bc
Initial docs for new delayed rescheduling options
2018-03-27 14:55:19 -05:00
Alex Dadgar
f5ebe7da8e
Fix old references
2018-03-22 13:39:18 -07:00
Josh Soref
4770c12be2
spelling: parameterized
2018-03-11 18:36:05 +00:00
Preetha Appan
b1cac9296a
Missed reschedule policy documentation in json-jobs page
2018-02-09 16:31:24 -06:00
Preetha Appan
2da8133be4
More review feedback
2018-02-08 08:23:19 -06:00
Preetha Appan
15186170b4
Reuse default policy structs in api, and other code review feedback
2018-01-31 16:33:00 -06:00
Michael Schurter
7fe2993421
Merge pull request #3766 from hashicorp/b-example-service-name
...
Make example service name make sense
2018-01-18 16:06:50 -08:00
Michael McCracken
58a270cff1
website: fix example json job
...
Can't use the string syntax in json.
Also fixes typo in curl example command.
Signed-off-by: Michael McCracken <mikmccra@cisco.com >
2018-01-18 04:15:13 -08: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
Filip Ochnik
d234641d1c
Prevent absolute URLs in checks paths
2017-12-21 10:32:12 +01:00
Michael Schurter
e12f0d1d2c
Fix missing fields in json jobspec docs
2017-12-19 16:19:40 -08:00
Iurii Skliar
3e8e1faabc
Fix Website Docs for Periodic jobs TimeZone
2017-11-27 18:06:26 +01:00
Alex Dadgar
b84472f5c5
Spell check website
2017-09-27 11:14:37 -07:00
Alex Dadgar
ddc2efa4ac
sync
2017-09-19 10:08:23 -05:00
Michael Schurter
7e103f69cb
Document new check_restart stanza
2017-09-14 16:46:54 -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
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
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
798b779609
Merge pull request #2947 from hashicorp/f-vault-grace
...
Allow template to set Vault grace
2017-08-07 16:29:53 -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
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
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
Seth Vargo
0929c6c766
Migrate JSON Jobs to new namespace
2017-05-30 20:25:08 -04:00