Commit Graph

40 Commits

Author SHA1 Message Date
Mahmood Ali 3a3165f127 update links to use new canonical location 2019-05-10 09:41:19 -04:00
Mahmood Ali bfc907827c docs: update s3 urls to use virtual bucket style
In response to https://forums.aws.amazon.com/ann.jspa?annID=6776
2019-05-06 10:39:51 -04:00
Alex Dadgar 37d5def1d5 Json job 2019-01-23 10:58:46 -08:00
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 4f7a78ba5c
review comments 2018-11-15 11:32:22 -06:00
Preetha Appan 8b3de1f8d9
More docs for affinities 2018-11-05 16:41:20 -06:00
Rob Genova f10155f285
Fix broken links in API docs 2018-08-25 11:35:56 -05:00
Alex Dadgar 51e67daf69 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 0d3f6c9733
docs: fix typo in json documentation 2018-05-21 12:01:44 +02:00
Alex Dadgar 224b3092ae
change default to 10m and docs 2018-05-07 14:50:01 -05:00
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
Renamed from website/source/docs/http/json-jobs.html.md (Browse further)