Commit graph

1645 commits

Author SHA1 Message Date
Danielle a34b950a89
Merge pull request #5565 from hashicorp/dani/alloc-restart-docs
docs: Add docs for nomad-alloc-restart
2019-04-15 17:26:28 +02:00
Danielle Lancashire 3aef4343ae docs: Add docs for nomad-alloc-restart 2019-04-15 17:21:06 +02:00
Chris Baker a73d7e797b
Update singularity.html.md 2019-04-15 09:49:30 -04:00
Eduardo Arango c9bae637f2
Merge branch 'website_docs_singularity' of github.com:ArangoGutierrez/nomad into website_docs_singularity 2019-04-12 16:27:33 -05:00
Eduardo Arango 7ada6a2c4c
address requestec changes, iteration 1
Signed-off-by: Eduardo Arango <eduardo@sylabs.io>
2019-04-12 16:26:52 -05:00
Chris Baker 32f02793cf
minor typographical changes 2019-04-12 15:05:56 -04:00
Chris Baker b52d1c9274 cli: add support for periodic force evaluation
resolves #3251
2019-04-12 18:56:35 +00:00
Chris Baker 3ed7783c66
Merge pull request #5556 from hashicorp/nmd-1403-vault-namespace-task-env
vault namespaces: inject VAULT_NAMESPACE alongside VAULT_TOKEN
2019-04-12 14:21:47 -04:00
Eduardo Arango 6f234382c4
list singularity as a community driver
Signed-off-by: Eduardo Arango <eduardo@sylabs.io>
2019-04-12 12:59:31 -05:00
Chris Baker 5a43f10aaf cli: add acl token list command, documentation
docs: fix some incorrect acl policy docs (typos, copy-paste errors)
2019-04-12 15:48:36 +00:00
Chris Baker 6848591914 vault namespaces: inject VAULT_NAMESPACE alongside VAULT_TOKEN + documentation 2019-04-12 15:06:34 +00:00
Omar Khawaja 46bbc4e5e7
add community section under task drivers and sync name with device plugins (#5542)
* add community section under task drivers and sync name with device plugins

* reword heading
2019-04-10 16:56:38 -04:00
Chris Baker a26d4fe1e5
docs: -vault-namespace, VAULT_NAMESPACE, and config
agent: added VAULT_NAMESPACE env-based configuration
2019-04-10 10:34:10 -05:00
Chris Baker 0eaeef872f
config/docs: added namespace to vault config
server/client: process `namespace` config, setting on the instantiated vault client
2019-04-10 10:34:10 -05:00
Michael Schurter e3613046b0
Update website/source/docs/commands/job/revert.html.md.erb
Co-Authored-By: cgbaker <cgbaker@hashicorp.com>
2019-04-10 10:34:10 -05: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 accf290d74 document force_pull and :latest tag interaction 2019-04-02 08:48:34 -04:00
Preetha Appan bd2e6b5bf9
minor fixes to spread stanza documentation 2019-03-26 15:01:56 -05:00
Mahmood Ali d9a3c92610
doc: fix tls_cipher_suites type (#5441)
tls_cipher_suites only accept a comma-separated string, as evident in:

0535dfd414/nomad/structs/config/tls.go (L61)
d37ed5c193/helper/tlsutil/config.go (L405)
2019-03-20 12:17:38 -04:00
Chris Baker a64b7651b2
Merge pull request #5373 from hashicorp/docs-artifact-stanza
artifact stanza documentation
2019-03-11 14:09:28 -04:00
Charlie Voiselle 2498ad954a
Merge pull request #5401 from hashicorp/doc-rkt-needs-root
Note rkt driver needs Nomad client run as root
2019-03-11 10:29:45 -04:00
Mahmood Ali 7a6ca67a32 fix typo 2019-03-06 20:24:01 -05:00
Charlie Voiselle de66f04450
Note rkt driver needs Nomad client run as root
The rkt driver requires that the Nomad agent to be running as the root user
2019-03-06 19:53:51 -05:00
Charlie Voiselle 2406b71e02
Tweaked deprecation wording for legacy config (#5394)
Made small adjustment to make it clear that 0.8.7 would require the legacy syntax and that the deprecation notice was more about the legacy syntax becoming unsupported at some point after v0.9.0
2019-03-06 11:07:54 -05:00
Nick Ethier 9dc5b3545a
website: add plugin docs 2019-03-04 09:04:53 -05:00
Chris Baker bf026fb91e artifact docs: modified the leading example and removed a treacherous (but potentially correct) example 2019-02-28 21:48:01 +00:00
Michael Schurter 7dd6259e93 docs: clarify use of toJSON for passwords
Fixes #5347
2019-02-21 09:47:18 -08:00
Charlie Voiselle 094e2a28d5 Warn that data_dir can't be in the jail (#4618) 2019-02-18 20:40:45 -05:00
Mahmood Ali 24d510290a
Fix device.attr typo (#5331)
Fix https://github.com/hashicorp/nomad/issues/5315
2019-02-16 13:07:02 -05:00
Preetha 412127e13b
Merge pull request #5287 from hashicorp/docs-fix-affinity-examples
docs: fixed some affinity examples
2019-02-12 09:13:27 -06:00
Chris Baker a4df11c4c8 restored previous example (it was correct) 2019-02-06 19:13:40 +00:00
Omar Khawaja b18006fe3f
add some cross-linking for easier reference (#5292) 2019-02-01 13:12:18 -05:00
Chris Baker c8cff1106b fixed typo in vault integration documentation 2019-01-31 16:00:54 +00:00
Chris Baker 2e74b1aa98 fixed some affinity examples 2019-01-31 15:15:00 +00:00
Alex Dadgar 41265d4d61 Change types of weights on spread/affinity 2019-01-30 12:20:38 -08:00
Preetha cfe9e7af05
Merge pull request #5273 from hashicorp/dani/nvidia-affinity
docs: Update affinity stanza in device
2019-01-30 10:51:21 -06:00
Preetha Appan e0beebc432
Add link to preemption from schedulers page 2019-01-30 09:24:18 -06:00
Danielle Tomlinson 6876d4e12f docs: Update affinity stanza in device 2019-01-30 14:23:03 +01:00
Preetha Appan bbf934ca02
fix broken link 2019-01-29 16:58:52 -06:00
Omar Khawaja 55ccd41634
add plugin content (docs) (#5186)
* call out pluggable drivers in task drivers section and link/add info to plugin stanza

* fix hyphenation

* removing page and nav that tells users drivers are not pluggable

* show new syntax for configuring raw_exec plugin on client

* enabled option value for raw_exec is boolean

* add plugin options section and mark client options as soon to be deprecated

* fix typos

* add plugin options for rkt task drivers and place deprecation warning in client options

* add some plugin options with plugin configuration example + mark client options as soon to be deprecated

* modify deprecation warning

* replace colon with - for options

* add docker plugin options

* update links within docker task driver to point to plugin options

* fix typo and clarify config options for lxc task driver

* replace raw_exec plugin syntax example with docker example

* create external section

* restructure lxc docs and add backward incompatibility warning

* update lxc driver doc

* add redirect for lxc driver doc

* call out plugin options and mark client config options for drivers as deprecated

* add placeholder for lxc driver binary download

* update data_dir/plugins reference with plugin_dir reference

* Update website/source/docs/external/lxc.html.md

Co-Authored-By: Omar-Khawaja <Omar-Khawaja@users.noreply.github.com>

* corrections

* remove lxc from built-in drivers navigation

* reorganize doc structure and fix redirect

* add detail about 0.9 changes

* implement suggestions/fixes

* removed extraneous punctuation

* add official lxc driver link
2019-01-29 15:53:05 -05:00
Preetha 7db55b50d4
Merge pull request #5258 from hashicorp/remove-mac-log-caveats
remove mac logs caveat
2019-01-28 17:19:36 -06:00
Omar Khawaja b0f779d428 remove mac logs caveat 2019-01-28 18:01:17 -05:00
Alex Dadgar 394d0da4b8 rework spread doc intro 2019-01-28 14:59:55 -08:00
Mahmood Ali f41606c11c website: redirect to new scheduling doc 2019-01-25 10:24:33 -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 78d98cd575
Delete intro section which is now in index page 2019-01-24 17:20:22 -06:00
Preetha Appan 437ccfc1a2
review comments 2019-01-24 16:50:23 -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 2db052d4ad
improve spread docs 2019-01-24 14:58:26 -06:00
Preetha Appan ed7e1bc064
Fix spacing and add links to affinity stanza from various pages 2019-01-24 12:12:40 -06:00
Alex Dadgar 87912de1af spelling mistakes 2019-01-23 17:47:07 -08:00
Preetha Appan 9983364df7
Add scheduler config docs and link from preemption docs 2019-01-23 18:57:45 -06:00
Preetha Appan 5bdfac0819
Add preemption section to scheduling internals
Also reorganize the docs so that scheduling has subpages in it
2019-01-23 18:10:36 -06:00
Alex Dadgar 3ecc68c6a6 change example job a bit 2019-01-23 10:58:46 -08:00
Alex Dadgar 003aa2a69c nvidia device plugin docs 2019-01-23 10:58:46 -08:00
Alex Dadgar 867ebce6b6 link to resources page 2019-01-23 10:58:45 -08:00
Alex Dadgar dbd9d22a32 Device job stanza 2019-01-23 10:58:45 -08:00
Alex Dadgar 5de91cbfb7
Merge pull request #5046 from oleksii-shyman/docker_runtimes
Nvidia runtime
2019-01-15 14:34:14 -08:00
oleksii.shyman e41fbf7577 Add support for docker runtimes
- docker fingerprint issues a docker api system info call to get the
  list of supported OCI runtimes.
  - OCI runtimes are reported as comma separated list of names
  - docker driver is aware of GPU runtime presence
  - docker driver throws an error when user tries to run container with
  GPU, when GPU runtime is not present
  - docker GPU runtime name is configurable
2019-01-15 11:34:47 -08:00
Chris Baker 8b15543a14 docs: updated tense around fixed bug 2019-01-15 17:43:03 +00:00
Alex Dadgar 5621086f50 Enable json logs 2019-01-11 11:36:37 -08:00
Preetha 2c358b4078
Merge pull request #5144 from hashicorp/f-spread-docs
Docs for spread stanza
2019-01-10 16:38:39 -06:00
Preetha Appan 602db06fad
Address review comments 2019-01-10 15:46:03 -06:00
Brian Lalor 337a6befa1
Oxford comma in variable interpolation summary
This improves the readability of this section.
2019-01-10 16:15:41 -05:00
Preetha Appan 12dddcc525
Initial spread docs 2019-01-10 11:10:04 -06:00
Nick Wales 7a7b5da0df Adds optional Consul service tags to nomad server and agent services, gh#4297 2019-01-09 22:02:46 +00:00
Chris Baker 42a336acfd
Merge pull request #4888 from hashicorp/f-docs-clarification-on-config-folders
config dir clarification
2019-01-08 17:18:14 -05: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
Mahmood Ali 94d43b8003
Merge pull request #4924 from hashicorp/f-docker-mounts
Support bind and tmpfs docker mounts
2018-11-30 07:27:17 -05:00
Michael Schurter 100e09b9ad
docs: Use valid docker bind propagation field
Co-Authored-By: notnoop <mahmood@notnoop.com>
2018-11-30 07:25:56 -05:00
Nick Ethier 80ae7e34f4
Merge pull request #4906 from hashicorp/f-metric-prefix-master
Port metric prefix filtering to master
2018-11-29 22:27:47 -05:00
Omar Khawaja 77945c9e4f
New Nomad Vault Integration Guide (#4886)
* add vault integration guide in guides section and move current vault integration content to docs section

* complete guide with image

* fix typos

* rename step 6 and fix typos

* fix typos and awkward phrasing along with links

* fix duplicated step #

* fix typo

* fix links so that pages that pointed to the original vault integration content still point there
2018-11-27 10:28:01 -05:00
Mahmood Ali 0f3d9aff1f document bind and tmpfs options 2018-11-27 07:27:57 -05:00
Omar Khawaja be1c2e6624
Move current telemetry page to docs (#4898)
* move current telemetry page to docs

* fix broken links to telemetry doc
2018-11-26 15:18:57 -05:00
Mahmood Ali c61d99b525
Merge pull request #4908 from hashicorp/f-docker-opts-storageopt
Add support for docker storage options
2018-11-20 21:08:27 -05:00
Mahmood Ali 841c1ec79b document storage opts 2018-11-20 16:11:02 -05:00
Preetha 67283aa133
Merge pull request #4857 from hashicorp/f-affinity-docs
docs for affinity
2018-11-20 14:17:28 -06:00
Nick Ethier b81e4e18f0
agent: suppose filter_default telemetry option 2018-11-19 23:21:48 -05:00
Nick Ethier 85b221a1d6
nomad: add flag to disable publishing of job_summary metrics for dispatched jobs 2018-11-19 23:21:19 -05:00
Omar Khawaja ba2514149f
clarification regarding Nomad client generating token vs retrieving (#4890) 2018-11-16 19:52:31 -05:00
Michael Schurter dac17f5337
Merge pull request #4843 from hashicorp/b-driver-env
client: interpolate driver configurations
2018-11-16 12:45:43 -06:00
Chris Baker 5682eb9097 config docs: added explicit clarification, that lexicographical ordering
is with respect to files in the specified folder
2018-11-16 14:28:36 +00:00
Preetha 7873b212af
Merge pull request #4882 from sportebois/f-update-docs-env-stanza-coercion
Change misleading boolean example in env stanza coercion section (#4820)
2018-11-16 08:00:56 -06:00
Michael Schurter 3b8fe566a9 docs: document new interpolation behavior and options 2018-11-15 16:26:25 -08:00
Danielle Tomlinson 023ef40cd0 docs: Add is_set/is_not_set 2018-11-15 11:00:32 -08:00
Sébastien Portebois bf494cb86c Change misleading boolean example in env stanza coercion section 2018-11-15 13:12:58 -05:00
Preetha Appan 4f7a78ba5c
review comments 2018-11-15 11:32:22 -06:00
Preetha Appan 7093fb55ed
Affinity stanza documentation 2018-11-05 14:47:40 -06:00
Danielle Tomlinson ea1b13cb15 docs: Fix broken link to cloud auto join 2018-11-03 15:45:36 -04:00
Matthieu Antoine 235783e015
Change 1hr to 1h on reschedule doc as 1hr is not supported by nomad 2018-11-02 15:32:43 +01:00
Alex Dadgar 421f03c0a6 cleanup pki docs 2018-10-17 15:14:40 -07:00
Richard Kettelerij 7dd85b0909
Update template.html.md 2018-10-15 12:27:14 +02:00
Richard Kettelerij bb6bbb2d51
[Docs] Make clear Nomad requires leases in Vault 2018-10-15 12:21:13 +02:00
Sébastien Portebois 7bea97366c Add missing ref for reschedule and migrate in job and group docs 2018-10-10 20:55:50 -04:00
Sébastien Portebois b00c580de1 Fix variable interpolation "active" state in docs menu 2018-10-10 20:37:49 -04:00
Michael Schurter 45250e808f
Merge pull request #4741 from sportebois/b-fix-task-docs-links
docs: fix links in task job specification
2018-10-09 16:19:12 -05:00
Sébastien Portebois e04c7f5060 Fix the service stanza link in task documentation
Only a single service link target was set for both the service job spec and the Consul-connect integration.
2018-10-09 09:39:33 -04:00
Chris Baker 6172eb92ca docs: fixed broken links to schedulers page 2018-10-08 13:23:14 -04:00
Sébastien Portebois 2d1f082a1d Add missing link to vault in task spec documentation 2018-10-01 20:13:03 -04:00
barda999 2c9f212dea
changed ${nomad.class} to ${node.class}
I guess that was an unintentional mistake
2018-09-24 16:48:06 -07:00
Shantanu Gadgil b81660622a
possible typo about node.class
I was checking up on how to set some metadata and stumbled upon this.
2018-09-07 15:52:53 +05:30
Preetha Appan 35de47a06e
Fix incorrect default mode for restart stanza in docs 2018-09-05 09:11:24 -05:00
Alex Dadgar 4f89cabd34
Merge pull request #4631 from hashicorp/f-plugin-config
Parse plugin configs
2018-09-04 17:04:13 -07:00
Alex Dadgar 845f75a45e Website docs 2018-08-30 14:20:32 -07:00
Michael Schurter b8b641c8e1 docs: mention rkt group option 2018-08-28 09:41:21 -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
Rob Genova 4f7fb30ee7
Misc. changes and fixes to docs/ 2018-08-25 11:35:56 -05:00
Rob Genova 5dde6d0e40
Fix broken links in docs/job-specification 2018-08-25 11:35:56 -05:00
Rob Genova 090b736692
Link Enterprise in header and footer to Nomad Enterprise docs page instead of marketing page; add "request more info" links 2018-08-25 11:35:56 -05:00
Rob Genova 1f77b2b7bb
Fix broken links in docs/drivers 2018-08-25 11:35:56 -05:00
Rob Genova 7914abdcee
Fix broken links in docs/configuration 2018-08-25 11:35:56 -05:00
Rob Genova cb0333069c
Fix broken links in docs/commands 2018-08-25 11:35:56 -05:00
Rob Genova e4120e34c9
Re-organize existing docs and guides 2018-08-25 11:35:56 -05:00
Wyatt Anderson 9dccb62489 Add documentation for eligibility toggle endpoint 2018-08-24 10:50:12 -04:00
Michael Schurter 97563ffd61 docs: fix description of update.stagger
Also add a bunch of links.
2018-08-16 11:29:58 -07:00
Charlie Voiselle e97fe2300c Clarify max_parallel interaction with taskgroups
Updates are parallelized at the task group level always.  The
`max_parallel` attribute controls parallelization over the `count`
allocations of the task group itself.
2018-08-16 12:11:30 -04:00
Michael Schurter 0b83575106
Merge pull request #4467 from cbednarski/nomad-vault-template-docs
Added docs on Vault KV API v2 template syntax
2018-07-27 15:18:46 -07:00
Alex Dadgar 2ec78f8d68
Merge pull request #4530 from volym3ad/update-periodic-stanza-documentation
Updated periodic stanza documentation
2018-07-26 16:42:49 -07:00
Alex Dadgar 49a1ba9297
Merge pull request #4535 from hashicorp/f-keep-docker-container-0.8.4
Option to prevent removal of container on exit
2018-07-26 11:11:22 -07:00
Charlie Voiselle f319a149cd Option to prevent removal of container on exit 2018-07-26 11:10:48 -07:00
Michael Schurter ddf948001e
Merge pull request #4462 from omame/omame/cpu_cfs_period
Add support for specifying cpu_cfs_period in the Docker driver
2018-07-25 09:34:38 -07:00
Vlad Voloshyn 9cf1fcfc86 updated periodic stanza documentation 2018-07-25 15:11:47 +03:00
Michael Schurter d8d7d4c1ad
Merge pull request #4502 from hashicorp/allthingsclowd-patch-1
typo - duplication of the word can
2018-07-16 09:54:41 -07:00
Graham Land 71984713e3
typo - duplication of the word can 2018-07-12 13:45:44 +01:00
M S Vishwanath Bhat b7dd9f8c29 Fix client metadata link in Nomad constraints docs
Signed-off-by: M S Vishwanath Bhat <msvbhat@gmail.com>
2018-07-12 11:56:01 +02:00
Daniele Valeriani ec948f648d Wrap a long line 2018-07-11 09:12:21 +02:00
Chris Bednarski cc0f865a6b Added docs on vault API v2 template syntax 2018-07-03 17:56:22 -07:00
Daniele Valeriani 417ee33fe2 Add documentation for cpu_cfs_period 2018-07-02 20:19:41 +02:00
Alex 061b7fee58
Fixed dead link to SWIM paper 2018-06-22 10:09:32 +02:00
Preetha Appan 310a203a35
Docs about node_class label 2018-06-21 11:17:39 -05:00
Preetha Appan 638874872e
add docs for new labels 2018-06-21 10:29:42 -05:00
Charlie Voiselle 38c59b8821
Merge pull request #4425 from hashicorp/d-warn-impossible-constraint
Added warning about impossible constraints
2018-06-19 12:06:22 -04:00
Charlie Voiselle ae89587efe Remove extra linefeed 2018-06-19 09:30:15 -04:00
Charlie Voiselle a3780d37e2 Added warning about impossible constraints
This was as a resolution to https://github.com/hashicorp/nomad/issues/4424
2018-06-19 09:27:16 -04:00
Marguerite des Trois Maisons 92d8ca66f8 Clarify defaults and behaviour of mode = fail in restart stanza 2018-06-14 17:28:52 -04:00
Preetha d2c8b56f68
Merge pull request #4404 from hashicorp/f-move-autopilot-guide
Move autopilot to top level and fix links
2018-06-11 15:46:19 -07:00
Preetha Appan 0b4fc2b755
make link relative 2018-06-11 17:43:42 -05:00
Preetha Appan aa8092337c
Move autopilot to top level and fix links 2018-06-11 17:22:31 -05:00
Alex Dadgar 6d5f32588b Fix broken link 2018-06-11 13:57:36 -07:00
Alex Dadgar 08e2251928 docs for tls defaults 2018-06-07 15:30:00 -07:00
Alex Dadgar a62dd2aadb
Merge pull request #4350 from hashicorp/b-raw-exec-cgroups
Raw exec can use cgroups to manage PIDs
2018-06-01 17:37:49 +00:00
Alex Dadgar 40fec81315
Merge pull request #4277 from hashicorp/f-retry-join-clients
Add go-discover support to Nomad clients
2018-06-01 16:57:40 +00:00
Alex Dadgar ebb45a6e87 retry-join flag docs 2018-06-01 09:57:13 -07:00
Alex Dadgar 460ecb8705 Comments 2018-05-31 18:05:03 -07:00
Alex Dadgar de98774f2c Add test and docs 2018-05-31 18:05:03 -07:00
Alex Dadgar b05740ad13
Merge pull request #4341 from hashicorp/f-docker-pids
Support Docker Pids Limit
2018-05-31 17:59:29 +00:00
Alex Dadgar f934ed4110 Fix website 2018-05-31 10:53:27 -07:00
Chelsea Holland Komlo 10aff14509 update config parse test
documentation fixes
2018-05-31 10:50:04 -07:00
Chelsea Holland Komlo 49c44eb453 fix doc links and other improvements 2018-05-31 10:50:04 -07:00