Commit Graph

166 Commits

Author SHA1 Message Date
Tim Gross
5716fb9375 docs: fix broken link in server config (#8267)
* missing the trailing `)`
* consistency with the code span
* minor grammar fix ("is" to "are")
2020-06-24 11:53:19 -04:00
Seth Hoenig
41b94eedc2 Merge pull request #8011 from hashicorp/f-cnative-host
consul/connect: implement initial support for connect native
2020-06-24 10:33:12 -05:00
Seth Hoenig
ef52328eb4 connect/native: doc and comment tweaks from PR 2020-06-24 10:13:22 -05:00
James Rasell
a190d529de docs: fix license command index page formatting. 2020-06-24 08:16:41 +02:00
Kevin Pruett
d86ff236ee Merge pull request #8092 from hashicorp/je.website-maintenance-6-1-20
🌷 Website Maintenance
2020-06-23 18:14:36 -04:00
Jeff Escalante
b56428862f Dependency updates and improvements 2020-06-23 17:43:43 -04:00
Tim Gross
a74c9a9af8 multiregion: job stop across regions with -global flag (#8258)
Adds a `-global` flag for stopping multiregion jobs in all regions at
once. Warn the user if they attempt to stop a multiregion job in a single
region.
2020-06-23 15:56:04 -04:00
Seth Hoenig
520d35e085 consul/connect: split connect native flag and task in service 2020-06-23 10:22:22 -05:00
Mahmood Ali
8febccf97e Merge pull request #8031 from BijanJohn/reschedule_delay_requirement
add notes about delay requirement for reschedule
2020-06-23 08:39:03 -04:00
Richard Kettelerij
8728f959c8 Add missing CLI flag to Nomad snapshot example 2020-06-22 21:52:33 +02:00
Seth Hoenig
7e8d5c2392 consul/connect: add support for running connect native tasks
This PR adds the capability of running Connect Native Tasks on Nomad,
particularly when TLS and ACLs are enabled on Consul.

The `connect` stanza now includes a `native` parameter, which can be
set to the name of task that backs the Connect Native Consul service.

There is a new Client configuration parameter for the `consul` stanza
called `share_ssl`. Like `allow_unauthenticated` the default value is
true, but recommended to be disabled in production environments. When
enabled, the Nomad Client's Consul TLS information is shared with
Connect Native tasks through the normal Consul environment variables.
This does NOT include auth or token information.

If Consul ACLs are enabled, Service Identity Tokens are automatically
and injected into the Connect Native task through the CONSUL_HTTP_TOKEN
environment variable.

Any of the automatically set environment variables can be overridden by
the Connect Native task using the `env` stanza.

Fixes #6083
2020-06-22 14:07:44 -05:00
Mahmood Ali
df232a1a8f docs: note 0.11.3 fixes a critical issue 2020-06-22 12:02:01 -04:00
Mahmood Ali
a1a140ca5d Merge pull request #8214 from hashicorp/docs-snapshot-update
Update changelog and snapshot docs
2020-06-19 14:27:12 -04:00
Mahmood Ali
90071464c6 docs: snapshot agent command 2020-06-19 12:53:22 -04:00
Mahmood Ali
9f7657dc86 Update docs for snapshot CLI 2020-06-19 12:31:40 -04:00
Mahmood Ali
0821c0a7e3 Merge pull request #8082 from hashicorp/f-raft-multipler
Implement raft multipler flag
2020-06-19 10:04:59 -04:00
Tim Gross
8ce13f304e docs: fix for multiregion count explanation (#8202) 2020-06-19 07:52:58 -04:00
Michael Schurter
a0c77c10c1 docs: finally document the 0.9 port_map break 2020-06-18 14:56:47 -07:00
Nick Ethier
e9ff8a8daa Task DNS Options (#7661)
Co-Authored-By: Tim Gross <tgross@hashicorp.com>
Co-Authored-By: Seth Hoenig <shoenig@hashicorp.com>
2020-06-18 11:01:31 -07:00
Charlie Jones
2f770b1e10 Fix typo in link to Cloud Auto-join section (#8116) 2020-06-18 10:21:31 -04:00
Tim Gross
6fd4f3e985 docs: multiregion deployment feature (#8185) 2020-06-18 08:41:22 -04:00
Mahmood Ali
744539cdb1 docs: elaborate on raft_multipler default 2020-06-18 08:04:22 -04:00
Chris Baker
4a6ec2c13e added -preserve-counts to job run CLI, updated website 2020-06-16 18:45:28 +00:00
Seth Hoenig
c371a31e00 docs: update cronexpr github link 2020-06-15 08:48:32 -05:00
Frederic Hemberger
bfe729f7ed [docs/docker driver] fix username in example
> If you do not run Nomad as root, make sure you add the Nomad user to the Docker group so Nomad can communicate with the Docker daemon.

Changing the username in the example from `vagrant` to `nomad`. Vagrant isn't addressed in the entire document, so I guess that this was a mistake.
2020-06-11 12:29:43 +02:00
Shishir Mahajan
5574d57315 Fix review comments. 2020-06-01 19:15:01 -07:00
Shishir Mahajan
7570887bc6 Fix go-lint issue. 2020-06-01 18:54:58 -07:00
Dustin Taylor
38112e2dab Descriptions 2020-06-01 18:54:58 -07:00
Shishir Mahajan
9435013a2c Fix review comments. 2020-06-01 18:54:58 -07:00
Shishir Mahajan
e13b30da65 Add nomad-driver-iis to nomad UI docs. 2020-06-01 18:54:58 -07:00
Seth Hoenig
81355d9578 Merge pull request #8087 from hashicorp/f-docker-mem-config
driver/docker: enable setting hard/soft memory limits
2020-06-01 12:16:55 -05:00
Seth Hoenig
0d0d245981 docs: reference kernel documentation regarding soft memory limit activation 2020-06-01 11:16:11 -05:00
Seth Hoenig
779b615a52 docs: use correct url path for doc string
Co-authored-by: Michael Schurter <mschurter@hashicorp.com>
2020-06-01 10:52:36 -05:00
Drew Bailey
13f26183f5 Docs/license (#8076)
* license cli documentation

license docs

backout doc change

more docs

* license api endpoint documentation
2020-06-01 10:55:03 -04:00
Seth Hoenig
d35358a07c docs: update docs & changelog for docker driver memory_hard_limit configuration 2020-06-01 09:24:49 -05:00
Mahmood Ali
38f6be0b8d document raft_multiplier 2020-05-31 12:24:44 -04:00
Nicolas Decoster
6f8829e57e docs: fix typo in eligibility command doc 2020-05-29 15:14:59 +02:00
Seth Hoenig
c9d1ae133b docs: update CNI version in setup docs
Update reference to CNI from version 0.8.4 to 0.8.6, which includes
bug fixes, new features, etc.

https://github.com/containernetworking/plugins/releases/tag/v0.8.6
2020-05-28 10:23:02 -05:00
Mahmood Ali
379a85c8f0 docs: preemption is no longer an Enterprise feature 2020-05-27 15:05:52 -04:00
G
3f47a67f88 docs: static port incorrectly declared as a string (#8046)
static attribute of the port stanza is supposed to be an integer but is incorrectly declared as a string in the example.
2020-05-26 08:51:16 -04:00
Tim Gross
262cafcdff docs: add missing fields to driver Capabilities (#8037)
Adds `NetIsolationModes`, `MustInitiateNetwork`, and `MountConfigs` fields to
the driver `Capabilities` internals documentation.
2020-05-21 13:56:40 -04:00
BijanJohn
f8e7a9f0ab add notes about delay requirement for reschedule 2020-05-20 11:57:12 -05:00
Tim Gross
c2dd6f9dba docs: notice to operators about script check timeouts (#8015)
The tasklet passes the timeout for the script check into the task
driver's `Exec`, and its up to the task driver to enforce that via a
golang `context.WithDeadline`. In practice, this deadline is started
before the task driver starts setting up the execution
environment (because we need it to do things like timeout Docker API
calls).

Under even moderate load, the time it takes to set up the execution
context for the script check regularly exceeds a full second or
two. This can cause script checks to unexpected timeout or even never
execute if the context expires before the task driver ever gets a
chance to `execve`.

This changeset adds a notice to operators about setting script check
timeouts with plenty of padding and what to monitor for problems.
2020-05-20 10:28:14 -04:00
Shantanu Gadgil
f3f1467278 Merge branch 'master' into patch-3 2020-05-20 00:16:43 +05:30
Charlie Voiselle
1778c387a5 Merge pull request #7870 from hashicorp/d-fix-version-typo
[docs] Fix version typo
2020-05-19 14:09:53 -04:00
Charlie Voiselle
27c12a6e70 Interlinking API, FAQ, and Config
Creating a FAQ question to provide a home for additional context around
bootstrapping. Linking from API page to `default_server_config`
attribute. Added sample API response to to discuss "Updated: false"
2020-05-19 13:51:47 -04:00
Charlie Voiselle
2e4919d616 Adding info about bootstrap 2020-05-19 09:14:17 -04:00
Jeff Escalante
e69fc1f459 fix shell-session snippet error 2020-05-18 16:53:06 -04:00
Charlie Voiselle
8623725397 Alternative treatment
A variation of the treatment that surfaces "spread scheduling" in the example while referring to the API docs as canonical for this setting.
2020-05-18 09:51:16 -04:00
Shantanu Gadgil
860fb4d35b Update server.mdx 2020-05-18 17:54:27 +05:30