Commit Graph

202 Commits

Author SHA1 Message Date
Alex Dadgar
c240e021cc change default to 10m and docs 2018-05-07 14:50:01 -05:00
Nick Ethier
059ea949be minor code review fixes to api/jobs 2018-04-17 10:18:36 -04:00
Nick Ethier
8ef7d208c9 website: fix type in api/jobs/parse 2018-04-16 19:32:37 -04:00
Nick Ethier
2e31bbe333 website: add standard blocking query/ACL table to jobs/parse ep 2018-04-16 19:21:09 -04:00
Nick Ethier
a5ffa2271a website: add api docs for v1/jobs/parse endpoint 2018-04-16 19:21:09 -04:00
Michael Schurter
7d1a63c259 Fix more broken links 2018-04-12 17:55:20 -07:00
Michael Schurter
31e97360c4 docs: add drain api and json jobspec 2018-04-12 11:34:01 -07:00
Michael Lange
c26ae1d955 Update the UI routes in the API docs 2018-04-02 18:19:17 -07:00
Chelsea Holland Komlo
58d24f8bd1 update timestamp and format api reference descriptions 2018-03-29 14:22:46 -04:00
Chelsea Holland Komlo
e7064fb164 update events in node api 2018-03-29 12:41:32 -04:00
Chelsea Holland Komlo
6e8007fd88 add field reference for node events 2018-03-29 12:29:55 -04:00
Chelsea Holland Komlo
86097b787d add node events to documentation 2018-03-29 12:17:03 -04: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
Josh Soref
6831e485ba spelling: operator 2018-03-11 18:34:07 +00:00
Josh Soref
1ccb07fe32 spelling: alternative 2018-03-11 17:39:19 +00:00
Josh Soref
85ae561283 spelling: address 2018-03-11 17:35:06 +00:00
Alex Dadgar
6a96b824f3 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
8ea2d8390b Fix erroneous metrics link + code block typo on the metrics page 2018-02-20 15:00:56 +00:00
Alex Dadgar
c4ef9a2958 doc improvements 2018-02-15 13:59:03 -08:00
Alex Dadgar
715006a52f 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
c8f0f4cbe1 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
d9276e22b3 Merge pull request #3868 from hashicorp/f-server-side-restarts
server side rescheduling
2018-02-13 20:09:51 -06:00
Preetha Appan
b1cac9296a Missed reschedule policy documentation in json-jobs page 2018-02-09 16:31:24 -06:00
Kyle Havlovitz
5af5e10886 Clean up some leftover autopilot differences from Consul 2018-02-08 10:27:26 -08:00
Preetha Appan
2da8133be4 More review feedback 2018-02-08 08:23:19 -06:00
Preetha Appan
8f73700314 Review feedback 2018-02-06 12:25:44 -06:00
Mahmood Ali
abfae77545 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
91a9118dfa Documentation for reschedule attempts in CLI/API 2018-02-06 10:19:45 -06:00
Preetha Appan
15186170b4 Reuse default policy structs in api, and other code review feedback 2018-01-31 16:33:00 -06:00
Kyle Havlovitz
2c873adba4 Refactor redundancy_zone/upgrade_version out of client meta 2018-01-29 20:03:38 -08:00
Charlie Voiselle
a6c3144fd5 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
0dab89f9ac Merge pull request #3670 from hashicorp/autopilot
Add Autopilot feature from Consul
2018-01-19 12:52:56 -08: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
Kyle Havlovitz
4e9735d69f Merge branch 'master' into autopilot 2018-01-18 13:29:25 -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
Kyle Havlovitz
254458703b Add raft remove by id endpoint/command 2018-01-16 13:35:32 -08:00
Shantanu Gadgil
6f038c8d1d '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
39e08ebd11 Merge pull request #3685 from filipochnik/abs-path
Prevent absolute URLs in checks paths
2018-01-04 10:55:36 -08:00
Preetha
781408bbf4 Merge branch 'master' into 0.8 2018-01-03 16:06:38 -06: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
Kyle Havlovitz
54e6b7ff74 Add autopilot docs 2017-12-18 14:29:41 -08:00
Kyle Havlovitz
5749297731 Add missing exist checks and doc line 2017-12-12 10:17:16 -06:00
Thomas Bartelmess
51a407f2bc 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
fdafc2946b 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
15904cd2fa 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