Michael Schurter
41d3e1f27c
docs: add drain api and json jobspec
2018-04-12 11:34:01 -07:00
Preetha Appan
e0b5b6f59f
more review feedback
2018-03-27 14:55:19 -05:00
Preetha Appan
7b0aaebb50
Initial docs for new delayed rescheduling options
2018-03-27 14:55:19 -05:00
Alex Dadgar
17fc9a6283
Fix old references
2018-03-22 13:39:18 -07:00
Josh Soref
1284459a67
spelling: parameterized
2018-03-11 18:36:05 +00:00
Preetha Appan
023468f112
Missed reschedule policy documentation in json-jobs page
2018-02-09 16:31:24 -06:00
Preetha Appan
9e3e929382
More review feedback
2018-02-08 08:23:19 -06:00
Preetha Appan
8ac05d4462
Reuse default policy structs in api, and other code review feedback
2018-01-31 16:33:00 -06:00
Michael Schurter
5a1fa05e40
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
6eb5732e04
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
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
Filip Ochnik
fc99d3fc2d
Prevent absolute URLs in checks paths
2017-12-21 10:32:12 +01:00
Michael Schurter
237dc52acc
Fix missing fields in json jobspec docs
2017-12-19 16:19:40 -08:00
Iurii Skliar
71718db753
Fix Website Docs for Periodic jobs TimeZone
2017-11-27 18:06:26 +01:00
Alex Dadgar
60111b5af7
Spell check website
2017-09-27 11:14:37 -07:00
Alex Dadgar
e5ec915ac3
sync
2017-09-19 10:08:23 -05:00
Michael Schurter
95c6077435
Document new check_restart stanza
2017-09-14 16:46:54 -07:00
Alex Dadgar
feace39196
Clarify all_at_once parameter
...
Fixes https://github.com/hashicorp/nomad/issues/3125
2017-08-29 16:20:28 -07:00
Michael Schurter
b1fa005656
Document check header and method
2017-08-17 16:49:14 -07:00
Michael Schurter
188e89c77f
Add ShutdownDelay to JSON Job docs
2017-08-17 11:30:29 -07:00
Nicolae Vlădescu
cb46b6ca91
Fix navigation highlight for JSON Jobs
2017-08-11 11:37:40 +03:00
Nicolae Vlădescu
8c8cd3b312
Fix documentation bug
...
Fix documentation bug: distinct_host -> distinct_hosts
2017-08-11 11:29:53 +03:00
Alex Dadgar
79d25b7db9
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
067a638478
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
2650bb1d12
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
a883b325ff
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
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
Charlie Voiselle
3cff38ff94
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
2193721e59
Migrate JSON Jobs to new namespace
2017-05-30 20:25:08 -04:00