Commit graph

267 commits

Author SHA1 Message Date
Kent 'picat' Gruber 23d0433596 Add TLS settings to the recommendations section 2020-07-23 11:11:40 -04:00
Nick Ethier 5167bae0d5
website: remove usage of task network stanza (#8498)
* website: remove usage of task network stanza and add documentation for group network and service stanzas

* docs: fix broken link in client config

* Update website/pages/docs/job-specification/group.mdx

Co-authored-by: Seth Hoenig <shoenig@hashicorp.com>

* Update website/pages/docs/job-specification/group.mdx

Co-authored-by: Seth Hoenig <shoenig@hashicorp.com>

Co-authored-by: Seth Hoenig <shoenig@hashicorp.com>
2020-07-23 09:18:59 -04:00
Drew Bailey f7c2ecb205
move podman out of external task drivers (#8502)
* move podman out of external task drivers

* document driver capabilities

* add redirect from old podman url to new one

* fix syntax
2020-07-22 14:55:40 -04:00
Mahmood Ali 898d8d849d docs: snapshot uses consul 2020-07-22 13:53:54 -04:00
Tim Gross 77f4189cd2
docs: expand explanation of task driver capabilities (#8485) 2020-07-22 12:14:20 -04:00
Michael Schurter be43ae77f0 docs: remove mention of custom schedulers
Not sure if this was meant to imply adding more schedulers to Nomad is
easy, or that we plan on adding pluggable schedulers. Either way,
neither of those statements is really true unless you really stretch the
definitions of "easy" and "plan".

So remove this sentence as I can't imagine it does anything other than
confuse people.
2020-07-22 08:57:43 -07:00
James Rasell b391ec2a06
Merge pull request #8494 from hashicorp/b-fix-snapshot-agent-example-config-file
docs: fix snapshot agent example config file syntax and values.
2020-07-22 14:09:11 +02:00
James Rasell ba25492fc4
docs: fix snapshot agent example config file syntax and values. 2020-07-22 13:30:18 +02:00
Lance Haig 014175de45
Update snapshot-save.mdx
Fix the nomad operator snapshot command examples.
They were missing the "operator" option
2020-07-22 13:04:47 +02:00
kobayashi e095a70bd6
Add capabilities to task drivers' pages (#8476) 2020-07-21 14:54:31 -04:00
Mahmood Ali b614d0a67b
docs: enabled option for nvidia device plugin (#8480) 2020-07-21 10:14:32 -04:00
Michael Schurter 30fbec3557 docs: document enterprise upgrade bug #8457 2020-07-17 11:57:29 -07:00
Charlie Voiselle 551ac184ee
Merge pull request #8437 from angrycub/d-reschedule-in-deploys
[docs] Rescheduling does happen during deployments
2020-07-15 15:24:21 -04:00
Mahmood Ali b6e9265d0f
Merge pull request #8383 from hashicorp/docs-security-model-followup
Revise security model feedback
2020-07-15 13:11:39 -04:00
Charlie Voiselle baaab98a0d
[docs] Reschedule does happen during deployments 2020-07-14 16:29:30 -04:00
Michael Schurter 64e81f0549
Merge pull request #7042 from hashicorp/docs-healthy-deadline
docs: clarify healthy/progress_deadline relationship
2020-07-13 08:40:11 -07:00
Seth Hoenig 61b1aa5775
Merge pull request #8417 from hashicorp/docs-docker-kill-signal
docs: clarify kill_signal default for docker
2020-07-10 11:50:21 -05:00
Seth Hoenig 21a74b4bd4 docs: clarify kill_signal default for docker
Before docker, the only default was `SIGINT` for `kill_signal`. The
docker driver however defaults to `SIGTERM`, and we should document
as such.

Fixes #7140
2020-07-10 09:57:49 -05:00
James Rasell d517c2e1d5
docs: fix minor incorrect syntax in autoscaling plugin docs.
This changes fixes a syntax error in the autoscaling apm plugin
docs as well as updates the scaling stanza doc. The stazna wording
implied its use was only for external autoscalers, whereas it also
is used by the UI.
2020-07-10 16:07:29 +02:00
kaybr01 9804aacd5c
Update preemption.mdx
Typo
2020-07-09 11:44:57 -04:00
Tim Gross a4b76e0203
docs: fix markdown syntax in job stop page (#8401) 2020-07-09 08:45:25 -04:00
Chris Baker 56aea23b4e
[docs] more specific link in enterprise docs 2020-07-09 06:25:44 -05:00
Gale Fagan bbdb568802
Update website/pages/docs/enterprise/index.mdx
Those pesky caps

Co-authored-by: Chris Baker <1675087+cgbaker@users.noreply.github.com>
2020-07-08 17:56:44 -07:00
Gale Fagan 6d71b8f00b Update Enterprise docs page, add new features 2020-07-08 16:19:12 -07:00
Luiz Aoqui 0b76c12cf8
docs: fix broken links and formatting of the autoscaler docs 2020-07-08 18:42:41 -04:00
Nick Ethier 119ece09a0
docs: add CNI and host_network docs (#8391)
Co-authored-by: Seth Hoenig <shoenig@hashicorp.com>
2020-07-08 15:45:04 -04:00
Seth Hoenig 1a75da0ce0 consul/connect: infer task name in service if possible
Before, the service definition for a Connect Native service would always
require setting the `service.task` parameter. Now, that parameter is
automatically inferred when there is only one task in the task group.

Fixes #8274
2020-07-08 13:31:44 -05:00
Mahmood Ali 865844df2a address some review feedback 2020-07-07 13:09:50 -04:00
James Rasell cf38a4ef7c
Merge pull request #8315 from hashicorp/autoscaler-docs-migration
docs: migration of Nomad Autoscaler docs with cluster updates.
2020-07-07 15:20:11 +02:00
Chris Baker ed146a991f fix spelling error to make linter happy 2020-07-07 02:02:19 +00:00
Mahmood Ali 55d10e6bd0
Merge pull request #8369 from hashicorp/docs-security-model
Add security model document
2020-07-06 17:37:05 -04:00
Tim Gross c74d820ae1
docs: note MRD is beta and removing regions doesn't work (#8370) 2020-07-06 16:02:10 -04:00
Mahmood Ali 0e4346986d Add security model document 2020-07-06 14:54:49 -04:00
Chris Baker 64feb9aacf added scaling->min default discussion to group->count documentation 2020-07-04 18:33:19 +00:00
Drew Bailey 194c414928
podman documentation (#8331)
* podman documentation

* capitalizations
2020-07-01 16:41:39 -04:00
James Rasell fdce1e43bb
docs: add autoscaler plugin ACL details and SIGHUP mention. 2020-07-01 15:41:16 +02:00
James Rasell 9cc5540926
docs: migration of Nomad Autoscaler docs with cluster updates.
Co-authored-by: Chris Baker <1675087+cgbaker@users.noreply.github.com>
2020-07-01 13:03:49 +02:00
Ricardo Martins ce1fdc0dfc
docs: fix typo in upgrade instructions (#8301)
The suggested plugin configuration to re-enable Docker volumes was erroneously
using the singlular `volume` instead of the correct `volumes`, making the
client fail to parse the configuration and causing it not to start.
2020-06-29 08:27:45 -04:00
Michael Fellinger 8f41747645
Fix environment variable for NOMAD_ADDR (#8302) 2020-06-29 08:26:20 -04:00
Jeff Escalante 35b87e2b89
docs: update deployment guide title (#7381) 2020-06-26 09:26:27 -04:00
Ali 6ca679d182
docs: updated docs on Vault TLS settings (#7097)
Co-authored-by: Ali Ibrahim <ibrahimalihc@users.noreply.github.com>
2020-06-26 09:18:04 -04:00
Ali 4e52527c27
docs: runtime interpolation for AWS (#7859)
Co-authored-by: Ali Ibrahim <ibrahimalihc@users.noreply.github.com>
2020-06-26 09:16:34 -04:00
Michael Schurter d2a4e0557d docs: clarify healthy/progress_deadline relationship
Validation code already enforces this, but I think documenting it makes
it more immediately clear how the 2 settings interact.
2020-06-26 09:02:32 -04:00
Mahmood Ali ac066c4fc8
Merge pull request #8233 from bmenn/master
Fixes Nvidia plugin configuration docs (#7711)
2020-06-26 08:31:44 -04:00
James Rasell 9062a2d27e
Merge pull request #7752 from hashicorp/docs-update-datadog-agent-link
docs: update Datadog agent telemetry link to rewritten version.
2020-06-26 08:19:22 +02:00
Lang Martin 717741a4cb
doc: nomad debug cli (#8278)
* doc: nomad debug cli

* CHANGELOG

* website/data/docs-navigation: add debug to navigation

* contributing/checklist-command: add website nav link to checklist
2020-06-25 13:48:27 -04:00
Tim Gross d1f3c40098
docs: spellcheck fix for multiregion (#8286) 2020-06-25 12:56:40 -04:00
Mahmood Ali 4f1df4af40
Merge pull request #8261 from hashicorp/f-disable-host-volume-by-default
Restrict Host filesystem access in Docker and Qemu
2020-06-25 07:51:13 -04:00
Tim Gross 13776cc9dc
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 3872b493e5
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 011c6b027f connect/native: doc and comment tweaks from PR 2020-06-24 10:13:22 -05:00
Mahmood Ali 2d64a404e6 docs: update docs for host path flags 2020-06-24 08:03:56 -04:00
James Rasell 1530cd58d0
docs: fix license command index page formatting. 2020-06-24 08:16:41 +02:00
Kevin Pruett 97ddb74a6c
Merge pull request #8092 from hashicorp/je.website-maintenance-6-1-20
🌷 Website Maintenance
2020-06-23 18:14:36 -04:00
Jeff Escalante 6a1e059ff4
Dependency updates and improvements 2020-06-23 17:43:43 -04:00
Tim Gross 010d94d419
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 6c5ab7f45e consul/connect: split connect native flag and task in service 2020-06-23 10:22:22 -05:00
Mahmood Ali d30a7c3e37
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 01fc6e9525
Add missing CLI flag to Nomad snapshot example 2020-06-22 21:52:33 +02:00
Seth Hoenig 4d71f22a11 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 9669446b56 docs: note 0.11.3 fixes a critical issue 2020-06-22 12:02:01 -04:00
Bryant Menn f2958b534c docs: fixes Nvidia plugin configuration docs (#7711) 2020-06-21 20:48:35 -04:00
Mahmood Ali bf08b7a890
Merge pull request #8214 from hashicorp/docs-snapshot-update
Update changelog and snapshot docs
2020-06-19 14:27:12 -04:00
Mahmood Ali fe8f5d2f95 docs: snapshot agent command 2020-06-19 12:53:22 -04:00
Mahmood Ali 2c89280fa9 Update docs for snapshot CLI 2020-06-19 12:31:40 -04:00
Mahmood Ali 963b1251ff
Merge pull request #8082 from hashicorp/f-raft-multipler
Implement raft multipler flag
2020-06-19 10:04:59 -04:00
Tim Gross 2e2d9ad5ae
docs: fix for multiregion count explanation (#8202) 2020-06-19 07:52:58 -04:00
Michael Schurter 31f36620db docs: finally document the 0.9 port_map break 2020-06-18 14:56:47 -07:00
Nick Ethier 0bc0403cc3 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 e369e76643
Fix typo in link to Cloud Auto-join section (#8116) 2020-06-18 10:21:31 -04:00
Tim Gross 63ae10f0d0
docs: multiregion deployment feature (#8185) 2020-06-18 08:41:22 -04:00
Mahmood Ali 4f1ca98db6 docs: elaborate on raft_multipler default 2020-06-18 08:04:22 -04:00
Chris Baker de8a46b0f8 added -preserve-counts to job run CLI, updated website 2020-06-16 18:45:28 +00:00
Seth Hoenig 006dca2418 docs: update cronexpr github link 2020-06-15 08:48:32 -05:00
Frederic Hemberger 55909c7c91
[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 ee616f6f91
Fix review comments. 2020-06-01 19:15:01 -07:00
Shishir Mahajan e9136e0044 Fix go-lint issue. 2020-06-01 18:54:58 -07:00
Dustin Taylor 166793e9f6 Descriptions 2020-06-01 18:54:58 -07:00
Shishir Mahajan 3207e224ff Fix review comments. 2020-06-01 18:54:58 -07:00
Shishir Mahajan 7cc40906fc Add nomad-driver-iis to nomad UI docs. 2020-06-01 18:54:58 -07:00
Seth Hoenig 4bfa0548d9
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 bf78912642 docs: reference kernel documentation regarding soft memory limit activation 2020-06-01 11:16:11 -05:00
Seth Hoenig a5fb9b1811
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 34c3a8674a
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 d10a018283 docs: update docs & changelog for docker driver memory_hard_limit configuration 2020-06-01 09:24:49 -05:00
Mahmood Ali d9e24d1d85 document raft_multiplier 2020-05-31 12:24:44 -04:00
Nicolas Decoster 59fa7681ba
docs: fix typo in eligibility command doc 2020-05-29 15:14:59 +02:00
Seth Hoenig ec9fd328b1 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 30cb844581 docs: preemption is no longer an Enterprise feature 2020-05-27 15:05:52 -04:00
G cb07ba7b64
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 ec3531cdac
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 d2a0d0d0cc add notes about delay requirement for reschedule 2020-05-20 11:57:12 -05:00
Tim Gross 4b4bf84d79
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 d5fc981636
Merge branch 'master' into patch-3 2020-05-20 00:16:43 +05:30
Charlie Voiselle 31c71767ec
Merge pull request #7870 from hashicorp/d-fix-version-typo
[docs] Fix version typo
2020-05-19 14:09:53 -04:00
Charlie Voiselle e63346560c
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 15d6f0e80e
Adding info about bootstrap 2020-05-19 09:14:17 -04:00
Jeff Escalante 636f174f48
fix shell-session snippet error 2020-05-18 16:53:06 -04:00
Charlie Voiselle 2dd34efacc
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 32046d6f18
Update server.mdx 2020-05-18 17:54:27 +05:30