Commit Graph

452 Commits

Author SHA1 Message Date
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
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
Mike Wickett
a0fd438d9d website: Update k8s comparison docs, ecosystem and community (#9557)
* website: add k8s vs callout to homepage

* website: move resources to community

* website: add k8s comparison, ecosytem to docs

* website: update redirects

* website: fix homepage link

* website: fix sidebar data

* Update website/pages/docs/nomad-vs-kubernetes/index.mdx

Co-authored-by: changli0617 <39781496+changli0617@users.noreply.github.com>

* Update website/pages/docs/nomad-vs-kubernetes/alternative.mdx

Co-authored-by: changli0617 <39781496+changli0617@users.noreply.github.com>

* Update website/pages/docs/nomad-vs-kubernetes/alternative.mdx

Co-authored-by: changli0617 <39781496+changli0617@users.noreply.github.com>

* Update website/pages/docs/nomad-vs-kubernetes/alternative.mdx

Co-authored-by: changli0617 <39781496+changli0617@users.noreply.github.com>

Co-authored-by: changli0617 <39781496+changli0617@users.noreply.github.com>
2020-12-08 12:09:15 -05:00
Mahmood Ali
c7c386474d Remove Beta tag from 1.0 features (#9562)
* docs: Remove 1.0 beta warning about HCL2.0 docs

* docs: multiregion is not beta anymore either

* docs: scaling isn't beta

* docs: neither is events api
2020-12-08 09:39:25 -05:00
davemay99
bb5b0b826f nomad operator debug changelog / doc updates 2020-12-08 08:51:45 -05:00
Charlie Voiselle
c8e2c910d6 Upgade links to guides 2020-12-08 08:51:21 -05:00
Shishir
6cab345633 Update containerd task driver docs. (#9550) 2020-12-07 16:51:19 -05:00
Mark Lewis
3e4be747f2 docs: grammatical fixes in service jobspec 2020-12-07 15:41:44 -05:00
Mahmood Ali
6b43ecb425 document some hcl2 quarks (#9545)
Mainly note that block labels need to be string literals, and that decimals without a leading significant digits aren't acceptable anymore (e.g. .9 are required to be 0.9).

Dynamic blocks can be used here, but feels too much of a hack, or a hammer to highlight it here, specially given the error reporting and debugging isn't so straightforward. I'd advocate internally for relaxing the restriction and allowing expressions in block labels instead.

Related to https://github.com/hashicorp/nomad/issues/9522
2020-12-07 12:31:25 -05:00
Luiz Aoqui
0dcf6035b7 docs: update autoscaling docs for the new query interface (#8917)
* update autoscaling docs for the new query interface
* update default value for query_window in scaling policy
2020-12-07 10:43:08 -05:00
Seth Hoenig
572ed2f723 docs: note conflist extension for cni plugin configuration files 2020-12-07 09:36:39 -06:00
Michael Schurter
2dbc47ba5f docs: may->will after confirming with Consul
Consul 1.9 switched to agentless intentions which no longer require
synchronous communication from Envoy to Consul.
2020-12-03 13:48:06 -08:00
Michael Schurter
068d5a2603 docs: clarify connect upgrade procedure
During testing we discovered old versions of Nomad and Consul seemed to
prevent Envoy from accepting new connections while the Nomad agent was
being upgraded.
2020-12-03 13:36:13 -08:00
Seth Hoenig
641c089ef1 docs: fix link to windows docker issues 2020-12-03 09:19:22 -06:00
Charlie Voiselle
e64d528664 Small website updates (#9504)
* systemd should be downcased
* containerd should be downcased
* spellchecking, adjust list item spacing
* QEMU should be upcased
* spelling, it's->its
* Fewer exclamation points; drive-by list spacing
* Update website/pages/docs/internals/security.mdx
* Namespace is not ent only now.
Co-authored-by: Tim Gross <tgross@hashicorp.com>
2020-12-02 19:02:03 -05:00
Chris Baker
0e13770397 formatting fix from github-based commit 2020-12-02 22:25:36 +00:00
Chris Baker
e68b66253b Update website/pages/docs/job-specification/hcl2/index.mdx
Co-authored-by: Michael Schurter <mschurter@hashicorp.com>
2020-12-02 16:12:07 -06:00
Chris Baker
934f622f95 added some discussion of HCL parsing context 2020-12-02 20:41:53 +00:00
Tim Gross
44c2767f4f docs: using interpolation for volumes (#9449)
Expand `volume` and `volume_mount` sections to describe how to use HCL2
dynamic blocks and interpolation to have finer-grained control over how
allocations get volumes.
2020-12-02 08:57:47 -05:00
Seth Hoenig
4d6a166989 Merge pull request #9487 from hashicorp/f-connect-sidecar-concurrency
consul/connect: default envoy concurrency to 1
2020-12-01 15:51:41 -06:00
Michael Schurter
5ddaa1bb78 Merge pull request #9485 from hashicorp/docs-check-restart
docs: check_restart is broken for group networks
2020-12-01 11:39:45 -08:00
Seth Hoenig
2a397dbda2 consul/connect: default envoy concurrency to 1
Previously, every Envoy Connect sidecar would spawn as many worker
threads as logical CPU cores. That is Envoy's default behavior when
`--concurrency` is not explicitly set. Nomad now sets the concurrency
flag to 1, which is sensible for the default cpu = 250 Mhz resources
allocated for sidecar proxies. The concurrency value can be configured
in Client configuration by setting `meta.connect.proxy_concurrency`.

Closes #9341
2020-12-01 13:12:45 -06:00
Tim Gross
2c9850176f docs: move agent lifecycle doc under Operations heading (#9411) 2020-12-01 11:55:08 -05:00
Michael Schurter
16aced1dff docs: check_restart is broken for group networks
Add a warning about check_restart being limited to task networks and
link to the relevant issue: #9176.
2020-12-01 08:52:00 -08:00
Tim Gross
a340f00ca4 docs: warn about Docker auth_soft_fail behavior
If Docker auth helpers are used but aith fails or the image isn't found, we
hard fail the task. Users may set `auth_soft_fail` to fallback to the public
Docker Hub on a per-job basis. But users that mix public and private images
have to set `auth_soft_fail=true` for every job using a public image if Docker
auth helpers are used.
2020-12-01 09:05:35 -05:00
Mark Lewis
124f128137 Update proxy.mdx 2020-12-01 08:26:32 -05:00
Mark Lewis
5d4eb68658 Update reschedule.mdx 2020-12-01 08:26:12 -05:00
Mark Lewis
d54fa32486 Update restart.mdx 2020-12-01 08:22:13 -05:00