Commit graph

267 commits

Author SHA1 Message Date
Lang Martin def417a33a docs: update quota docs to include network limits 2019-11-20 18:44:06 -05:00
Drew Bailey 9b63828658
serverID to target remote leader or server
handle the case where we request a server-id which is this current server

update docs, error on node and server id params

more accurate names for tests

use shared no leader err, formatting

rm bad comment

remove redundant variable
2019-11-14 10:07:35 -05:00
Drew Bailey 6fd1901ef0
fix long lines, add possible values 2019-11-05 14:24:52 -05:00
Drew Bailey 8e1fa5ca06
agent api docs for monitor
update CHANGELOG
2019-11-05 13:53:35 -05:00
Luiz Aoqui 488a2f6f3a
docs: fix ACL prefix param documentation 2019-10-11 10:28:44 -04:00
Luiz Aoqui 521c0ad2a5
docs: clarify prefix API param requirements 2019-10-08 18:11:56 -04:00
Luiz Aoqui b9ef978641
docs: add missing prefix param to the ACL API endpoints 2019-10-08 14:13:36 -04:00
Preetha Appan 1ca3fcca35 clarify index starting value for blocking queries 2019-09-30 09:46:42 -05:00
Mahmood Ali 934937f252 website: document Quota field in ns payloads 2019-09-09 13:48:58 -07:00
Danielle Lancashire 7d1f313091
docs: Sort keys in node response 2019-08-26 14:10:13 +02:00
Danielle Lancashire 9ab3fb0908
docs: Update /v1/node/{node-id} example response
The nodes api documentation is fairly out of date, here I've updated the
entire response based on a local dev agent, rather than explicitly
adding new fields to bring us up to the current api shape.
2019-08-26 12:27:16 +02:00
Jerome Gravel-Niquet cbdc1978bf Consul service meta (#6193)
* adds meta object to service in job spec, sends it to consul

* adds tests for service meta

* fix tests

* adds docs

* better hashing for service meta, use helper for copying meta when registering service

* tried to be DRY, but looks like it would be more work to use the
helper function
2019-08-23 12:49:02 -04:00
Charlie Voiselle 7a5983b381 --payload -> --data for curl; consistent @payload 2019-08-15 14:09:44 -04:00
Buck Doyle 7a29fdfaf7
website: Add TOC links in page body (#6113)
This adds the “Jump to section” feature from Terraform’s documentation.
2019-08-13 08:19:01 -05:00
Buck Doyle 62480898a1
Fix namespace parameter name (#6056)
I missed this in #6051.
2019-08-01 09:49:41 -05:00
Tim Gross 443ce3a831
api: add follow param to file stream endpoint (#6049)
The `/v1/client/fs/stream endpoint` supports tailing a file by writing
chunks out as they come in. But not all browsers support streams
(ex IE11) so we need to be able to tail a file without streaming.

The fs stream and logs endpoint use the same implementation for
filesystem streaming under the hood, but the fs stream always passes
the `follow` parameter set to true. This adds the same toggle to the
fs stream endpoint that we have for logs. It defaults to true for
backwards compatibility.
2019-08-01 08:32:43 -04:00
Buck Doyle b81b87e219
Fix documentation namespace API property (#6051) 2019-07-31 16:05:48 -05:00
Gustav 78f4b11207
Fix typo in Spreads key in JSON Job Specification 2019-07-30 11:25:29 +02:00
Omar Khawaja b9f0407f17
make purge parameter lowercase (#5895) 2019-06-27 14:07:25 -04:00
Omar Khawaja da4c801eb2
fixing typos in operator endpoint api docs (#5854) 2019-06-19 10:35:47 -04:00
Chris Baker ccb9992930 documentation: fixed incorrect URLs in allocation signal/restart documentation 2019-06-12 15:14:34 +00:00
Danielle Lancashire bea23e1eb1
docs: Add missing docs for alloc restart api 2019-06-12 15:09:52 +02:00
Preetha Appan 16f422589a
revert 0.9.2 super script tags 2019-06-05 20:39:22 +05:30
Michael Schurter 073893f529 nomad: disable service+batch preemption by default
Enterprise only.

Disable preemption for service and batch jobs by default.

Maintain backward compatibility in a x.y.Z release. Consider switching
the default for new clusters in the future.
2019-06-04 15:54:50 -07:00
Mahmood Ali a9f81f2daa client config flag to disable remote exec
This exposes a client flag to disable nomad remote exec support in
environments where access to tasks ought to be restricted.

I used `disable_remote_exec` client flag that defaults to allowing
remote exec. Opted for a client config that can be used to disable
remote exec globally, or to a subset of the cluster if necessary.
2019-06-03 15:31:39 -04:00
Mahmood Ali c37ce19ac1 docs: Tag all 0.9.2 features 2019-05-23 10:51:03 -04:00
Lang Martin b5fd735960 add update AutoPromote bool 2019-05-22 12:32:08 -04:00
Preetha Appan 26ea951627
docs 2019-05-14 16:13:59 -05:00
Mahmood Ali 3a3165f127 update links to use new canonical location 2019-05-10 09:41:19 -04:00
Charlie Voiselle 45ff97cb7a querystring -> query string 2019-05-08 15:14:31 -04:00
Charlie Voiselle ce5023ee95
Typo fixes (#5661)
* Typo fixes
* it's -> its
* plugable -> pluggable
2019-05-08 12:54:44 -04:00
Preetha 1538913a2a
Merge pull request #5628 from hashicorp/f-preemption-config
Add config to disable preemption for batch/service jobs
2019-05-06 15:40:35 -05: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
Preetha Appan ad3c263d3f
Rename to match system scheduler config.
Also added docs
2019-05-03 14:06:12 -05:00
Danielle Lancashire 78350bfd77 docs: Add nomad alloc signal docs 2019-04-25 14:39:49 +02:00
Danielle Lancashire fde36992f1 api docs: Add allocation stop 2019-04-23 13:28:21 +02:00
Chris Baker ee3b8f75c4
docs: added vault token documentation to job revert command, documented VaultToken field of api.JobRevertRequest 2019-04-10 10:34:10 -05:00
Mahmood Ali c737a155f8
docs: fix job json example (#5274)
The internal needs to be long enough to accomodate the attempts.

Also, clarify that the input should be a json file rather than an hcl
`.nomad` one.
2019-01-30 10:33:10 -05:00
Preetha 729917182c
Merge pull request #5234 from hashicorp/b-preemption-docs
Documentation for preemption
2019-01-24 18:32:14 -06:00
Preetha Appan 1cbabb33b5
fixed formatting 2019-01-24 17:24:20 -06:00
Preetha Appan 920eb28aca
more code review comments 2019-01-24 16:40:00 -06:00
Alex Dadgar 98b53956c0
Apply suggestions from code review
Co-Authored-By: preetapan <preetha@hashicorp.com>
2019-01-24 15:42:11 -06:00
Preetha Appan 9983364df7
Add scheduler config docs and link from preemption docs 2019-01-23 18:57:45 -06: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
Alex Dadgar 300926552b Fix example drain API request 2018-10-08 10:06:39 -07:00
Michael Schurter c4028769ad
Merge pull request #4614 from wyattanderson/wa-eligibility-docs
Add documentation for eligibility toggle endpoint
2018-08-27 10:48:47 -07:00