Commit graph

202 commits

Author SHA1 Message Date
Alex Dadgar 224b3092ae
change default to 10m and docs 2018-05-07 14:50:01 -05:00
Nick Ethier 1f99c3a0f7
minor code review fixes to api/jobs 2018-04-17 10:18:36 -04:00
Nick Ethier f72c76c373
website: fix type in api/jobs/parse 2018-04-16 19:32:37 -04:00
Nick Ethier bfc0e49ff2
website: add standard blocking query/ACL table to jobs/parse ep 2018-04-16 19:21:09 -04:00
Nick Ethier ecce6d7366
website: add api docs for v1/jobs/parse endpoint 2018-04-16 19:21:09 -04:00
Michael Schurter 2775d80611 Fix more broken links 2018-04-12 17:55:20 -07:00
Michael Schurter 41d3e1f27c docs: add drain api and json jobspec 2018-04-12 11:34:01 -07:00
Michael Lange f09c2e9dad Update the UI routes in the API docs 2018-04-02 18:19:17 -07:00
Chelsea Holland Komlo 33b3eca8b7 update timestamp and format api reference descriptions 2018-03-29 14:22:46 -04:00
Chelsea Holland Komlo d5a4f28868 update events in node api 2018-03-29 12:41:32 -04:00
Chelsea Holland Komlo 4019723cf5 add field reference for node events 2018-03-29 12:29:55 -04:00
Chelsea Holland Komlo 81cab6d21c add node events to documentation 2018-03-29 12:17:03 -04: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
Josh Soref 6fa81bc3ff spelling: operator 2018-03-11 18:34:07 +00:00
Josh Soref 8fdfaf3a2e spelling: alternative 2018-03-11 17:39:19 +00:00
Josh Soref 6abae72734 spelling: address 2018-03-11 17:35:06 +00:00
Alex Dadgar 483e011720
Merge pull request #3892 from hashicorp/f-tunnel
Client RPC Endpoints, Server Routing and Streaming RPCs
2018-02-20 16:35:42 -08:00
John Cowen 28dd41c419 Fix erroneous metrics link + code block typo on the metrics page 2018-02-20 15:00:56 +00:00
Alex Dadgar bdefb9f2c7 doc improvements 2018-02-15 13:59:03 -08:00
Alex Dadgar 4aa8bdd4e1 Document server handling of client endpoints
This PR adds API documentation noting the change in 0.8 where servers
can handle client endpoints and annotated the endpoints that now have an
optional parameter to specify the node_id.
2018-02-15 13:59:02 -08:00
Kyle Havlovitz 54b691f538
Merge pull request #3852 from hashicorp/autopilot-cleanup
Clean up some leftover autopilot differences from Consul
2018-02-14 10:42:32 -08:00
Preetha df6400222b
Merge pull request #3868 from hashicorp/f-server-side-restarts
server side rescheduling
2018-02-13 20:09:51 -06:00
Preetha Appan 023468f112
Missed reschedule policy documentation in json-jobs page 2018-02-09 16:31:24 -06:00
Kyle Havlovitz 709b693d39 Clean up some leftover autopilot differences from Consul 2018-02-08 10:27:26 -08:00
Preetha Appan 9e3e929382
More review feedback 2018-02-08 08:23:19 -06:00
Preetha Appan 4db169ce0a
Review feedback 2018-02-06 12:25:44 -06:00
Mahmood Ali bebafb5234 Add tags option to datadog telemetry
Expose an global tags option in telemetry config for dogstatsd, for
purposes of distinguishing between multiple nomad cluster metrics.
2018-02-06 12:08:37 -05:00
Preetha Appan 9632d0e352
Documentation for reschedule attempts in CLI/API 2018-02-06 10:19:45 -06:00
Preetha Appan 8ac05d4462
Reuse default policy structs in api, and other code review feedback 2018-01-31 16:33:00 -06:00
Kyle Havlovitz 2ccf565bf6 Refactor redundancy_zone/upgrade_version out of client meta 2018-01-29 20:03:38 -08:00
Charlie Voiselle fb5091678b Changed nomad.rocks to localhost:4646 to align with defaults
Should provide cut and paste example for most users. Advanced users should be able to correct URLs to something appropriate.
2018-01-29 11:27:52 -05:00
Kyle Havlovitz 901c8791f4
Merge pull request #3670 from hashicorp/autopilot
Add Autopilot feature from Consul
2018-01-19 12:52:56 -08: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
Kyle Havlovitz 12ff22ea70 Merge branch 'master' into autopilot 2018-01-18 13:29:25 -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
Kyle Havlovitz 7b980c42d8 Add raft remove by id endpoint/command 2018-01-16 13:35:32 -08:00
Shantanu Gadgil 318cec8ce6
'drain' node is a POST rather than a GET
'drain' node is a POST rather than a GET
2018-01-12 23:35:49 +05:30
Michael Schurter 8496cc8192
Merge pull request #3685 from filipochnik/abs-path
Prevent absolute URLs in checks paths
2018-01-04 10:55:36 -08:00
Preetha 1712b03705
Merge branch 'master' into 0.8 2018-01-03 16:06:38 -06: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
Kyle Havlovitz 2455a205de Add autopilot docs 2017-12-18 14:29:41 -08:00
Kyle Havlovitz f088446d48
Add missing exist checks and doc line 2017-12-12 10:17:16 -06:00
Thomas Bartelmess 9acfa166c0
Changed Superset to only return the resource name
The Superset method on Resources used to return a string in the format of “[resource name] exhausted”.
This was leading to the output in plan/create job API DimensionExhausted to return keys like
```
"DimensionExhausted": {"cpu exhausted": 1}
```
This was not anywhere documented, however, one of the examples on the website showed it like this.

The other side effect of this is that the CLI formats the strings from the name of the key leading to output like
```
* Dimension "cpu exhausted" exhausted on 1 nodes
```
2017-11-28 23:16:08 -05:00
Chelsea Komlo fc8f670b02
Merge pull request #3583 from neojin/update-docs-api-regions
update API docs for /regions endpoint
2017-11-28 10:00:31 -05:00
Chelsea Komlo bf389ed3f3
Merge pull request #3584 from neojin/update-api-docs-client-gc
API docs: /client/gc returns text/plain, not json
2017-11-28 09:59:12 -05:00