Commit Graph

668 Commits

Author SHA1 Message Date
Luiz Aoqui
033f4fbd3f docs: update file scaling policy docs 2021-01-04 18:52:11 -05:00
Tim Gross
ba596ea1e3 docs: update metrics tables 2021-01-04 12:47:35 -05:00
Tim Gross
5b3357180c client: improve alloc GC API error messages (#9488)
The client allocation GC API returns a misleading error message when the
allocation exists but is not yet eligible for GC. Make this clear in the error
response.

Note in the docs that the allocation will still show on the server responses.
2021-01-04 11:34:12 -05:00
James Rasell
3153c1449f Merge pull request #9584 from hashicorp/f-docs-api-job-reg-preserve-counts
docs: add PreserveCounts param to job API doc.
2021-01-04 16:01:17 +01:00
Aaron Harper
bd276c3e63 Fixed typo in index.mdx 2021-01-01 23:04:04 -05:00
Drew Bailey
7a5ac679d2 Docs/operator subpages (#9689)
* operator subpages

* line wrapping, fixed
2020-12-21 10:29:06 -05:00
Kris Hicks
b4f7e113da docs: Remove network_speed client config field (#9685) 2020-12-21 07:26:25 -08:00
Michael Lange
807c765c6a Remove unlinked getting started pages. These are all on Learn now 2020-12-18 15:32:41 -08:00
Chris Baker
f3d1fc3bb9 Merge pull request #9696 from hashicorp/docs-7655-lifecycle-json
docs: added lifecycle example to JSON Jobs API docs
2020-12-18 16:41:10 -06:00
Kris Hicks
af34ccccf9 docs: Document required name for expose=true check (#9691) 2020-12-18 14:34:47 -08:00
Chris Baker
ed5a4b5984 docs: added lifecycle example to JSON Jobs API docs 2020-12-18 22:26:30 +00:00
Chris Baker
db6bb50b0d Merge pull request #9693 from hashicorp/docs-7655-lifecycle-block
docs: more documentation for lifecycle stanza
2020-12-18 16:12:25 -06:00
Chris Baker
09b1af3890 typo fixes 2020-12-18 22:12:12 +00:00
Tim Gross
39bf72676e docs: data directory permissions 2020-12-18 16:43:01 -05:00
Chris Baker
ef03db613d Update website/pages/docs/job-specification/lifecycle.mdx
Co-authored-by: Tim Gross <tgross@hashicorp.com>
2020-12-18 14:30:44 -06:00
Chris Baker
513a168580 Update website/pages/docs/job-specification/lifecycle.mdx
Co-authored-by: Tim Gross <tgross@hashicorp.com>
2020-12-18 14:30:17 -06:00
Chris Baker
5d100df9fe docs: more documentation for lifecycle stanza 2020-12-18 20:18:45 +00:00
Michael Lange
5b78dab61a Enumerate job statuses and types in docs 2020-12-18 12:14:50 -08:00
Drew Bailey
e20dff75ae add job register preservecounts param, update job versions response (#9676)
* add job register preservecounts param, update job versions response

* include job version diffs param

* update
2020-12-18 14:54:39 -05:00
Kris Hicks
5d3b32a65f docs: Add quota removal step to namespace apply (#9684) 2020-12-18 10:55:31 -08:00
Chris Baker
0f7b7e5c90 docs: added examples of device responses to api docs 2020-12-18 17:30:26 +00:00
Tim Gross
8d0fdb0472 docs: clarify behavior of plugin block merging
Although this behavior is unfortunate, we want to document the existing
behavior rather than break backwards compatibility.
2020-12-18 11:56:02 -05:00
Tim Gross
4981e5ecfb docs: document SIGHUP handling behavior 2020-12-18 11:55:00 -05:00
Tim Gross
f43128ce5e docs: describe gossip encryption encoding requirements 2020-12-18 09:58:42 -05:00
Tim Gross
dd0e507115 docs: clarify which address configurations can include ports 2020-12-18 09:42:06 -05:00
Seth Hoenig
ac24722ead docs: improve gateway docs 2020-12-17 11:08:48 -06:00
Seth Hoenig
5adcfc4a31 docs: gateway task docs changes
Co-authored-by: Tim Gross <tgross@hashicorp.com>
2020-12-17 10:37:02 -06:00
Seth Hoenig
fe91f37640 docs: gateway task docs changes
Co-authored-by: Tim Gross <tgross@hashicorp.com>
2020-12-17 10:36:56 -06:00
Seth Hoenig
7c98547247 docs: gateway task docs changes
Co-authored-by: Tim Gross <tgross@hashicorp.com>
2020-12-17 10:36:42 -06:00
Seth Hoenig
81d82dc651 consul/connect: enable configuring custom gateway task
Add the ability to configure the Task used for Connect gateways,
similar to how sidecar Task can be configured.

The implementation here simply re-uses the sidecar_task stanza,
and now gets applied whether connect.sidecar_service or
connect.gateway is the thing being defined. In retrospect,
connect.sidecar_task could have been more generically named
like connect.task to make it a little more re-usable.

Closes #9474
2020-12-17 08:51:52 -06:00
Mahmood Ali
5365ed3b43 note that the mount flag was added in 1.0.1 2020-12-16 18:56:08 -05:00
Mahmood Ali
f365f7a9d0 document the new /dev/disk1s5 on / (apfs, local, read-only, journaled)
devfs on /dev (devfs, local, nobrowse)
/dev/disk1s1 on /System/Volumes/Data (apfs, local, journaled, nobrowse)
/dev/disk1s4 on /private/var/vm (apfs, local, journaled, nobrowse)
map auto_home on /System/Volumes/Data/home (autofs, automounted, nobrowse)
/dev/disk2s1 on /Volumes/nRF Connect 3.6.1 (hfs, local, nodev, nosuid, read-only, noowners, quarantine, mounted by notnoop) syntax
2020-12-16 17:25:02 -05:00
Mahmood Ali
e6e86e9095 Revert "docs: deactivate var-file section"
This reverts commit 4ad0a882ec.
2020-12-16 17:17:16 -05:00
Mahmood Ali
6389d7965b Revert "docs: remove envvar option"
This reverts commit 205a1de6f3.
2020-12-16 17:17:09 -05:00
Tim Gross
004f1c972f template: trigger change_mode for dynamic secrets on restore (#9636)
When a task is restored after a client restart, the template runner will
create a new lease for any dynamic secret (ex. Consul or PKI secrets
engines). But because this lease is being created in the prestart hook, we
don't trigger the `change_mode`.

This changeset uses the the existence of the task handle to detect a
previously running task that's been restored, so that we can trigger the
template `change_mode` if the template is changed, as it will be only with
dynamic secrets.
2020-12-16 13:36:19 -05:00
Mahmood Ali
0993d5ce70 docs: more notes about hcl2 compatibility (#9634)
Make backward compatibility notes about Task Driver config options. Namely, call out the use of blocks with non-identifier attributes (like in docker systctl and storage_options) or nesting block syntax within an attribute assignment. Neither of these are valid HCL2. The solution is relatively simple: We can add = and quote the non-identifier attribute names.

Co-authored-by: Tim Gross <tgross@hashicorp.com>
2020-12-14 17:07:09 -05:00
Mahmood Ali
205a1de6f3 docs: remove envvar option 2020-12-11 13:34:53 -05:00
Michael Lange
893211f6f6 Merge pull request #9599 from hashicorp/changli0617-patch-1
Highlight "alternative to Kubernetes"
2020-12-10 14:29:32 -08:00
Michael Lange
3097739b77 Merge pull request #9600 from hashicorp/changli0617-patch-2
Update index.jsx
2020-12-10 14:28:55 -08:00
Michael Lange
1cae1ff602 Add a line break before the "learn why" cta on our home page 2020-12-10 12:26:53 -08:00
Michael Lange
916c7f65d0 Fix mismatched quotes in JSX strings 2020-12-10 12:04:11 -08:00
Seth Hoenig
6fe1df166c Merge pull request #9611 from hashicorp/b-gateway-concurrency
consul/connect: set default Envoy worker threads for gateways
2020-12-10 12:44:28 -06:00
Mahmood Ali
64caae7393 Apply suggestions from code review
Co-authored-by: Seth Hoenig <shoenig@hashicorp.com>
2020-12-10 12:21:01 -05:00
Mahmood Ali
d4b153aded note environment variables needing to be valid unicode identifier 2020-12-10 12:03:19 -05:00
Mahmood Ali
4ad0a882ec docs: deactivate var-file section
--var-files has a bug where we don't honor it properly.  Let's remove it
from docs, to be enabled for 1.0.1.
2020-12-10 12:03:19 -05:00
Mahmood Ali
e7ace9f004 docs: ensure meta keys are not quoted 2020-12-10 12:03:19 -05:00
Seth Hoenig
fdcfaed92a consul/connect: set default Envoy worker threads for gateways
Applying the default --concurrency for gateways was missed before.
Set the default Envoy concurrency to 1 for connect gateways. The
same override value meta.connect.proxy_concurrency applies.
2020-12-10 10:36:29 -06:00
Mahmood Ali
3ce044876e unquote env attributes 2020-12-10 11:30:01 -05:00
André Peters
82828aaa00 Update index.mdx
"Invalid argument name; Argument names must not be quoted."
2020-12-10 08:21:47 -05:00
changli0617
9deaadba23 Update index.jsx
Replace a value card to show case "2 million container challenge"
2020-12-09 18:32:17 -08:00