Commit graph

1967 commits

Author SHA1 Message Date
Preetha Appan 886e7dd0a5
Add paragraph about rescheduling during deployments 2018-02-06 10:19:45 -06:00
Preetha Appan 9632d0e352
Documentation for reschedule attempts in CLI/API 2018-02-06 10:19:45 -06:00
Preetha Appan f34ab642fa
Start of documentation for reschedule stanza 2018-02-06 10:19:45 -06:00
Michael Schurter 279a3b3f28
Merge pull request #3790 from 42wim/dockerv6
Service registration for IPv6 docker addresses (Fixes #3785)
2018-02-05 17:07:53 -08:00
Wim 6febe643f9 Update documentation 2018-02-01 14:25:14 +01:00
Wim db3bdfe898 * Change use_ipv6_address to advertise_ipv6_address.
* Set autoadvertise to true.
* Update documentation.
2018-02-01 00:01:25 +01:00
Preetha Appan 8ac05d4462
Reuse default policy structs in api, and other code review feedback 2018-01-31 16:33:00 -06:00
Preetha Appan 2a5df68e9a
Change the default mode for client side restarts to fail from delay 2018-01-31 10:39:11 -06:00
Kyle Havlovitz cb2321353c
Merge pull request #3812 from hashicorp/autopilot-config-change
Refactor redundancy_zone/upgrade_version out of client meta
2018-01-30 16:14:26 -08:00
Kyle Havlovitz 5cec4e794e Fix autopilot guide example 2018-01-30 16:12:39 -08:00
Kyle Havlovitz 0eb0acacdc Fix remaining issues with autopilot change 2018-01-30 15:21:28 -08:00
Michael Schurter 29a3c8f709
Merge pull request #3334 from hashicorp/f-vault-acl
Vault Secret Backend
2018-01-30 12:26:59 -08:00
Michael Schurter 40b558e00d Mention minimum Vault version 2018-01-30 11:31:10 -08:00
Michael Schurter c946255459 Minor formatting/style updates 2018-01-30 11:14:05 -08:00
Wim 76f09db067 Service registration for IPv6 docker addresses 2018-01-30 17:07:47 +01:00
Kyle Havlovitz 2ccf565bf6 Refactor redundancy_zone/upgrade_version out of client meta 2018-01-29 20:03:38 -08:00
Alex Dadgar 3d28774f74
Merge pull request #3802 from filipochnik/docker-readonly-rootfs
Add ReadonlyRootfs option to the Docker driver
2018-01-29 09:47:27 -08:00
Charlie Voiselle fb5091678b Changed nomad.rocks to localhost:4646 to align with defaults
Should provide cut and paste example for most users. Advanced users should be able to correct URLs to something appropriate.
2018-01-29 11:27:52 -05:00
Filip Ochnik 80a17ee8dd Add ReadonlyRootfs option to the Docker driver 2018-01-27 14:38:29 +01:00
Alex Dadgar 1fc6f2fb01 Link sentinel docs 2018-01-24 14:17:57 -08:00
Alex Dadgar a43e0a7b08 Allow overriding an image's entrypoint in Docker
Fixes https://github.com/hashicorp/nomad/issues/2219
2018-01-23 14:05:00 -08:00
Alex Dadgar 98a03ad689
Merge pull request #3754 from filipochnik/docker-caps
Add an option to add and drop capabilities in the Docker driver
2018-01-23 12:02:50 -08:00
Nicolas Corrarello d30bc34a27
Introducing @schmichael suggestions 2018-01-23 13:26:34 +01:00
Chelsea Komlo d09cc2a69f
Merge pull request #3492 from hashicorp/f-client-tls-reload
Client/Server TLS dynamic reload
2018-01-23 05:51:32 -05:00
Filip Ochnik 2f670b1b2a Document the ALL value for docker.caps.whitelist 2018-01-23 11:30:44 +01:00
Nicolas Corrarello 088a247310
Merge branch 'master' of github.com:/hashicorp/nomad into f-vault-acl 2018-01-23 06:37:46 +00:00
Filip Ochnik 4abd269a68
Merge branch 'master' into docker-caps 2018-01-21 12:18:22 +01:00
Filip Ochnik 558812350d Finish implementation of the capabilities whitelist 2018-01-21 12:14:24 +01:00
Kyle Havlovitz 901c8791f4
Merge pull request #3670 from hashicorp/autopilot
Add Autopilot feature from Consul
2018-01-19 12:52:56 -08:00
Michael Schurter 5a1fa05e40
Merge pull request #3766 from hashicorp/b-example-service-name
Make example service name make sense
2018-01-18 16:06:50 -08:00
Kyle Havlovitz 12ff22ea70 Merge branch 'master' into autopilot 2018-01-18 13:29:25 -08:00
Alex Dadgar dcbb4b3846
Merge pull request #3687 from mikemccracken/add-lxc-bindmounts
Add volumes config to LXC driver
2018-01-18 13:07:09 -08:00
Michael McCracken e8774d3161 lxc: Add documentation for volumes support
Signed-off-by: Michael McCracken <mikmccra@cisco.com>
2018-01-18 04:17:42 -08:00
Michael McCracken 6eb5732e04 website: fix example json job
Can't use the string syntax in json.

Also fixes typo in curl example command.

Signed-off-by: Michael McCracken <mikmccra@cisco.com>
2018-01-18 04:15:13 -08:00
Michael Schurter 9fcda9c5aa Make example service name make sense
Switch from global-redis-check for the example job's service name to
redis-cache. The former name is really confusing and someone finally
called us out on it:

https://groups.google.com/d/msg/nomad-tool/3RTh6CyYkWk/vEe_Sj7lAAAJ

Also specifically mention that the `service.name` parameter is what is
advertised in Consul.
2018-01-17 14:08:30 -08:00
Matthew Irish e28e1499c5 update middleman-hashicorp 2018-01-17 15:55:49 -06:00
Michael Schurter 57eb128dcf
Merge pull request #3718 from hashicorp/b-3713-fix-check-restart
Fix service.check_restart stanza propagation
2018-01-16 16:39:42 -08:00
Alex Dadgar 622aeb581e
Merge pull request #3751 from portworx/master
Docs:  update volume-driver, reflecting a supported driver
2018-01-16 15:58:54 -08:00
Alex Dadgar 68f3db0956
Update consul.html.md 2018-01-16 15:56:02 -08:00
Kyle Havlovitz 7b980c42d8 Add raft remove by id endpoint/command 2018-01-16 13:35:32 -08:00
Alex Dadgar 6420ba61bc actually show defaults 2018-01-16 11:37:59 -08:00
Chelsea Holland Komlo 5f52e8e103 feedback from code review 2018-01-16 11:55:11 -05:00
Filip Ochnik 8ee3ce7a26 Add an option to add and drop capabilities in the Docker driver 2018-01-14 19:56:57 +01:00
Jeff Silberman 270f8dafcf Update volume-driver, reflecting a supported driver 2018-01-12 16:09:50 -08:00
Shantanu Gadgil 318cec8ce6
'drain' node is a POST rather than a GET
'drain' node is a POST rather than a GET
2018-01-12 23:35:49 +05:30
Filip Ochnik 881ab93dfc Remove duplicate docs entry for docker privileged option 2018-01-12 14:29:31 +01:00
Alex Dadgar c1c975b59e
Merge pull request #3733 from hashicorp/d-merge-community-and-resources
Merge Community and Resources pages
2018-01-10 11:42:02 -08:00
Ron Alexssen 19430ba3ad remove duplicate typo 2018-01-09 15:21:30 -08:00
Michael Schurter 3ef1de4c63 Revert "Remove mention of check_restart on service"
This reverts commit 758b98685be4a2997bd0bc54f55b73ac3d0365cc.
2018-01-09 15:18:34 -08:00
Michael Schurter 6b6a14cf7e Revert "Missed header mention of server.check_restart"
This reverts commit 8295f81dddf8b53c0b78707be6fddc6e30f95640.
2018-01-09 15:18:22 -08:00
Chelsea Holland Komlo 21ceb0a46b add documentation 2018-01-09 06:34:46 -05:00
Rob Genova 9c2ec21daf Add new blog post 2018-01-08 21:42:47 +00:00
Rob Genova e5656e6b3c Add redirect from Community page to Resources page 2018-01-08 21:34:26 +00:00
Rob Genova 45d5799830 Remove Community links from header and footer 2018-01-08 21:33:55 +00:00
Rob Genova 149d175996 Merge Community page content into Resources page 2018-01-08 21:33:26 +00:00
Michael Schurter de62c3e933
Merge pull request #3716 from hashicorp/docs-3713-remove
Remove mention of check_restart on service
2018-01-08 10:53:27 -08:00
Michael Schurter 79d44050f3 Missed header mention of server.check_restart 2018-01-04 15:05:27 -08:00
Michael Schurter 337578effd Remove mention of check_restart on service
This is currently broken and should be removed from docs until a fix is
released.

See #3713
2018-01-04 11:30:03 -08:00
Michael Schurter eb104393c8
Merge pull request #3712 from hashicorp/docs-promote-group
Add missing -group=cache to docs
2018-01-04 11:08:59 -08:00
Michael Schurter 8496cc8192
Merge pull request #3685 from filipochnik/abs-path
Prevent absolute URLs in checks paths
2018-01-04 10:55:36 -08:00
Michael Schurter 22bcbe3dbc Add missing -group=cache to docs
Fixes #3699
2018-01-03 16:50:47 -08:00
Preetha 1712b03705
Merge branch 'master' into 0.8 2018-01-03 16:06:38 -06:00
Michael Schurter 402ef925a5
Merge pull request #3693 from rwaweber/guides_securing_typos
securing guide: small signal typo and argument consistency
2018-01-03 09:54:01 -08:00
Michael Schurter e6a5de7443
Merge pull request #3692 from jaeminsung/master
Add missing token option for nomad run command
2018-01-03 09:42:17 -08:00
Chris Kühl 6da376a110
Change 'CoreOS rkt' to just 'rkt'
CoreOS initiated the project but it is now under the CNCF banner and includes many contributors and core maintainers that are not at CoreOS.
2018-01-02 10:42:29 +01:00
Fabio Matos d630860036
removed duplicate stats command from output 2017-12-29 11:37:48 +00:00
rwaweber cdbce86918 small signal typo and argument consistency 2017-12-27 12:43:36 -05:00
Jaemin Sung 1cc4813d86
Add missing token option for nomad run command 2017-12-27 11:54:20 -05:00
Filip Ochnik fc99d3fc2d Prevent absolute URLs in checks paths 2017-12-21 10:32:12 +01:00
Alex Dadgar 180062f68f bump website 2017-12-19 17:12:21 -08:00
Michael Schurter 0bf86b8477
Merge pull request #3674 from hashicorp/b-3673-accept-empty-port
Services should not require a port
2017-12-19 16:51:05 -08:00
Michael Schurter 237dc52acc Fix missing fields in json jobspec docs 2017-12-19 16:19:40 -08:00
Michael Schurter 714eb0b266 Services should not require a port
Fixes #3673
2017-12-19 15:50:23 -08:00
Rob Genova ea4bfc0ec5 Add Spark configuration properties for ACL token and namespace. Remove spark.nomad.job property (deprecated in favor of spark.app.id). 2017-12-19 00:12:20 +00:00
Kyle Havlovitz 2455a205de Add autopilot docs 2017-12-18 14:29:41 -08:00
Rob Genova 2675ffbd57 minor formatting fixes and new resources 2017-12-15 20:35:51 +00:00
James Rasell 07134665c2
Update template.html.md Vault template example
The change updates the Vault example within the Environment Variables section to use the `.value` notation rather than the `.key` notation. This is because the example is calling a specific secret key and populating an env var with this; meaning the value of the secret is required over the value.
2017-12-13 10:40:22 +00:00
Rob Genova c14ea7a6ca
Merge pull request #3655 from hashicorp/d-docker-formatting
Fix minor formatting issue on Docker docs page
2017-12-12 14:32:02 -08:00
Rob Genova 9559341f42 fix minor formatting/spacing issue 2017-12-12 22:11:15 +00:00
Rob Genova 02bcb547b6 unbold hyperlinks 2017-12-12 22:01:17 +00:00
Kyle Havlovitz f088446d48
Add missing exist checks and doc line 2017-12-12 10:17:16 -06:00
Kyle Havlovitz b775fc7b33
Added support for v2 raft APIs and -raft-protocol option 2017-12-12 10:17:16 -06:00
Alex Dadgar d7464e7719 website 2017-12-11 17:54:33 -08:00
Michael Schurter 52bb3f592d
Merge pull request #3619 from hashicorp/f-3380-custom-ports
Allow custom ports for services and checks when using driver address_mode
2017-12-11 11:43:33 -08:00
Christian Winther 9672786b76
fix hashi-ui link 2017-12-10 21:05:30 +01:00
Michael Schurter 0d472b6a41 Expand port and address_mode docs 2017-12-08 12:39:50 -08:00
Michael Schurter f88f587ce1 Add Using Driver Address Mode docs 2017-12-08 12:03:43 -08:00
Michael Schurter e930057e4a Document service/check address_mode/port changes 2017-12-08 12:03:43 -08:00
Preetha Appan e652956496
Clarify difference between node and task metadata interpolated vars. 2017-12-08 11:44:15 -06:00
Chelsea Holland Komlo 61fa8ad4ba code review fixes 2017-12-07 13:46:25 -05:00
Chelsea Holland Komlo 54ec80adb0 add documention 2017-12-07 12:35:02 -05:00
Rob Genova 2a69339ef8
Update resources.html.erb 2017-12-05 21:30:07 -08:00
Rob Genova 4245dc6d47
Merge pull request #3617 from hashicorp/d-resources
Add a Resources page to the website
2017-12-05 15:49:53 -08:00
Rob Genova 5a94eafe36 Fix typo 2017-12-05 23:47:23 +00:00
Rob Genova 1bb667c4dd Minor changes and reformatting 2017-12-04 23:51:09 +00:00
Rob Genova 910b98c35b Add Resources page 2017-12-04 23:39:16 +00:00
Michael Schurter 0b12984552 Add atomic migrations to changelog and docs 2017-11-29 17:27:13 -08:00
Chelsea Komlo 8d786d82a8
Merge pull request #3597 from tbartelmess/b-fix-exhaustion-strings
Changed Superset to only return the resource name
2017-11-29 11:19:18 -05:00
James Rasell 2dbfec4d4c
Update community.html.erb to include Levant.
This change requests that Levant be added to the Nomad community page. Levant is an open source templating and deployment tool for HashiCorp Nomad jobs that provides realtime feedback and detailed failure messages upon deployment issues. Further details about Levant can be seen on the [jrasell/levant](https://github.com/jrasell/levant) GitHub page.
2017-11-29 12:39:28 +01:00
Thomas Bartelmess 9acfa166c0
Changed Superset to only return the resource name
The Superset method on Resources used to return a string in the format of “[resource name] exhausted”.
This was leading to the output in plan/create job API DimensionExhausted to return keys like
```
"DimensionExhausted": {"cpu exhausted": 1}
```
This was not anywhere documented, however, one of the examples on the website showed it like this.

The other side effect of this is that the CLI formats the strings from the name of the key leading to output like
```
* Dimension "cpu exhausted" exhausted on 1 nodes
```
2017-11-28 23:16:08 -05:00
Chelsea Komlo fc8f670b02
Merge pull request #3583 from neojin/update-docs-api-regions
update API docs for /regions endpoint
2017-11-28 10:00:31 -05:00
Chelsea Komlo bf389ed3f3
Merge pull request #3584 from neojin/update-api-docs-client-gc
API docs: /client/gc returns text/plain, not json
2017-11-28 09:59:12 -05:00
Iurii Skliar 71718db753 Fix Website Docs for Periodic jobs TimeZone 2017-11-27 18:06:26 +01:00
Jin Lee d669eb6b5c /client/gc returns text/plain, not json 2017-11-23 10:15:33 -08:00
Jin Lee 903fc6560d update API docs for /regions endpoint 2017-11-23 09:24:40 -08:00
Preetha 8b6b4f0caa
Merge pull request #3567 from hashicorp/d-enterprise-docs
Minor tweaks to Enterprise docs
2017-11-21 16:38:07 -06:00
Rob Genova 4be77ddb2c
Update index.html.md 2017-11-20 12:20:53 -08:00
Rob Genova 9f29cc8cfb
Update index.html.md 2017-11-20 12:19:42 -08:00
Rob Genova 0b01bd6c6f
Update index.html.md 2017-11-20 12:17:16 -08:00
Rob Genova efde1117de
Update index.html.md 2017-11-20 12:11:21 -08:00
Preetha d2558cc0ef
Merge pull request #3568 from hashicorp/f-docker-sysctl
Rebase and merge of docker sysctl support
2017-11-20 14:01:54 -06:00
Preetha Appan c68973747b Address some review comments 2017-11-20 11:15:09 -06:00
Chelsea Komlo 48e9e31cdf
Merge pull request #3565 from hashicorp/d-tls-reload-sighup
Update nomad guide for dynamic certificate reloading
2017-11-20 10:09:42 -05:00
Charlie Voiselle e02290d6c8
Merge pull request #3574 from multani/fix-doc-logs
doc: fix logs size
2017-11-20 09:43:04 -05:00
Jonathan Ballet 8fb62b598d doc: fix logs size 2017-11-20 12:36:56 +01:00
Preetha a00c878e59
Remove merge conflict marker from documentation 2017-11-19 16:10:56 -06:00
Jin Lee 8b94d235d9 update API docs for /agent/self from POST to GET 2017-11-18 19:03:33 -08:00
Rob Genova 97da591a7b slight wording changes; add links to Enteprise 2017-11-17 23:07:05 +00:00
Rob Genova 657349dae0 minor wording changes 2017-11-17 14:52:41 -08:00
Rob Genova 5a191b5483 update Enterprise language 2017-11-17 14:44:48 -08:00
Samuel BERTHE 0fca2e19c8 review(docker driver): sysctls -> sysctl + ulimits -> ulimit 2017-11-17 16:30:45 -06:00
Samuel BERTHE dc295b3ce1 doc(docker driver): Adds doc for ulimit and sysctl 2017-11-17 16:14:14 -06:00
Preetha e3b276b719
Merge pull request #3558 from hashicorp/b-nomad-validate-with-defaults
Make validate command ignore environment variables in service name
2017-11-17 14:31:42 -06:00
Preetha 8aa08682a9
Remove documentation around service name validation 2017-11-17 14:31:27 -06:00
Chelsea Holland Komlo 767a0be29d update nomad guide for dynamic certificate reloading 2017-11-17 12:46:45 -05:00
Preetha fa9f7df16e
Rewording for clarity 2017-11-17 08:38:55 -06:00
Preetha Appan 32e025e2ad Move service validation explanation doc 2017-11-16 16:58:37 -06:00
Preetha eb0f8bb02a
Update validate.html.md.erb 2017-11-16 07:56:26 -06:00
Preetha e99dec75a7
Adding some more explanatory text around validating 2017-11-15 16:48:16 -06:00
Preetha Appan d668afea7a Update documentation about validation logic for service names. 2017-11-15 15:42:03 -06:00
Alex Dadgar d01653266d use revised wording 2017-11-15 12:49:22 -08:00
Alex Dadgar 97ec3974a9 Use interface attached to default route 2017-11-15 11:32:32 -08:00
Alex Dadgar cb476f2f8c
Merge pull request #3537 from hashicorp/d-docker-endpoints
Better docs for docker.endpoint option
2017-11-13 11:00:57 -08:00
Alex Dadgar 7112c21508
Merge pull request #3538 from hashicorp/d-serf-name
Clarify Name config
2017-11-13 11:00:48 -08:00
Michael Schurter 61970f8468
unix -> Unix
I'm not going to leave a review comment just to uppercase one dumb letter
2017-11-13 10:45:21 -08:00
Alex Dadgar 83f25f4926 Clarify Name config
Fixes https://github.com/hashicorp/nomad/issues/3517
2017-11-13 10:37:55 -08:00
Preetha f8eeee06a4
Merge pull request #3512 from hashicorp/b-docker-device-option
Add support for passing device into docker driver
2017-11-13 12:37:14 -06:00
Alex Dadgar ba32088634 Better docs for docker.endpoint option
Fixes https://github.com/hashicorp/nomad/issues/3533
2017-11-13 10:20:40 -08:00
Alex Dadgar acee89ed2a fix vault grace docs 2017-11-13 09:59:20 -08:00
Preetha Appan 110c1fd4f0 Add support for passing device into docker driver 2017-11-13 09:56:54 -06:00
Alex Dadgar 82a891c0e6
Merge pull request #3531 from hashicorp/vault-nomad-docs-update
Updated Troubleshooting section of Vault Integration docs
2017-11-11 14:23:21 -08:00
Laura Uva bf23e75ca1 Updated Troubleshooting section of Vault Integration docs to mention the policy requirements for certain version combinations of Vault and Nomad, due to changes in Vault default policy and Nomad's vendored Vault lease renewal API. 2017-11-10 16:36:43 -08:00
Michael Lange 6c8d6b84f4
Merge pull request #3466 from hashicorp/f-ui-change-nodes-to-clients
Change nodes to clients in the ui
2017-11-09 10:12:38 -08:00
Nicolas Corrarello 3a4b9abaf0
Changed roles for role as the path changed in Vault 2017-11-07 15:11:41 +00:00
James Rasell a678b8d7c4
Update securing-nomad.html.md address flag example
The `nomad node-status` command incorrectly used the `-addr` flag; whereas the correct flag key is `-address`.
2017-11-07 09:05:06 +00:00
Jonathan Ballet afe804a230 doc: fix some typos in the "Guides" documentation 2017-11-05 09:39:42 +01:00
Preetha Appan 1378ebee01 Update deployments API documentation to add clarifying sentence about rollbacks triggering only when job spec is different. 2017-11-04 09:28:27 -05:00
Alex Dadgar f6dd1d1fa9 changelog and website 2017-11-03 16:43:16 -07:00
Alex Dadgar b3edc12dd9
Merge pull request #3411 from cheeseprocedure/f-qemu-graceful-shutdown
Qemu driver: graceful shutdown feature
2017-11-03 16:41:34 -07:00
Diptanu Choudhury cb68889652 Added the node_id as a tag 2017-11-02 13:29:10 -07:00