Commit graph

250 commits

Author SHA1 Message Date
Michael Schurter 2e57f39915 Minor wording updates 2017-05-24 13:55:21 -07:00
Alex Dadgar 541241acc3 Update template.html.md 2017-05-24 09:54:22 -07:00
Michael Schurter bf0be17ddd Document env templates 2017-05-23 17:25:21 -07:00
Alex Dadgar d5c0f9dc8b Merge pull request #2646 from derzufall/patch-1
Docu was misleading
2017-05-16 12:35:08 -04:00
Jeff Fraser 2f26887378 Small typo fix in vault stanza 2017-05-16 11:46:59 -04:00
Ni Br bf9ae7943b Docu was misleading
The actual parameter for go-getter is 'sshkey' and not 'sshkeys'. The current docu is wrong here... corrected this. kkthxbai
2017-05-16 17:01:10 +02:00
Alex Dadgar b2f692ff42 better change_mode explanation for templates 2017-05-03 12:40:27 -07:00
Alex Dadgar d9f83658b4 fix old arch 2017-05-01 17:36:20 -07:00
Bill Anderson 851d20248f Update constraint.html.md
Fix Distinct Constraint header
2017-04-24 11:31:20 -04:00
Michael Schurter a1eaa6cea1 Document tls_skip_verify 2017-04-19 12:45:34 -07:00
Michael Schurter e204a287ed Refactor Consul Syncer into new ServiceClient
Fixes #2478 #2474 #1995 #2294

The new client only handles agent and task service advertisement. Server
discovery is mostly unchanged.

The Nomad client agent now handles all Consul operations instead of the
executor handling task related operations. When upgrading from an
earlier version of Nomad existing executors will be told to deregister
from Consul so that the Nomad agent can re-register the task's services
and checks.

Drivers - other than qemu - now support an Exec method for executing
abritrary commands in a task's environment. This is used to implement
script checks.

Interfaces are used extensively to avoid interacting with Consul in
tests that don't assert any Consul related behavior.
2017-04-19 12:42:47 -07:00
Alex Dadgar e0f8c90b93 Make logging clearer 2017-04-11 12:34:09 -07:00
Mitchell Hashimoto d31af97709 Update dispatch_payload.html.md 2017-04-06 12:53:47 -07:00
vrenjith b78474b7a1 Update task.html.md 2017-03-29 00:06:47 +05:30
vrenjith d494897000 disk is not a supported entry at task level
Removed the reference to `disk` in the `resources` overview statement
2017-03-29 00:05:17 +05:30
Alex Dadgar 3b493b29b0 Merge pull request #2488 from hashicorp/f-node-values-template
Access Node Meta and Attrs in template
2017-03-28 11:10:29 -07:00
Alex Dadgar 23562d77c9 Access Node Meta and Attrs in template
This PR allows accessing the Node's attributes and metadata as in a
template.

```
template {
    data = "{{ env \"attr.unique.network.ip-address\" }}"
    destination = "local/out"
}
```
2017-03-27 15:15:33 -07:00
Michael Schurter 8af76ef796 Merge pull request #2483 from hashicorp/docs-artifact-source
Remove incorrect list of supported protocols
2017-03-27 15:12:56 -07:00
Alex Dadgar 68650f78b9 Merge branch 'master' of github.com:hashicorp/nomad 2017-03-27 11:44:58 -07:00
Alex Dadgar 7d74fb60ea Fix update docs 2017-03-27 11:44:46 -07:00
Michael Schurter 05d42c73a8 Remove incorrect list of supported protocols
The correct list is like 5 lines up
2017-03-24 15:37:17 -07:00
Long Nguyen 1376773a3a added git docs to artifacts 2017-03-22 16:50:45 -04:00
Sean Chittenden 33019eca7c
Tweak docs to note that a port will wire up both a TCP and UDP port. 2017-03-15 16:10:01 -07:00
Alex Dadgar 23c4030fc4 Fix some website stuff 2017-03-15 11:29:36 -07:00
Christian Winther b12323f08c Fix #2445
Close #2445 - typo in docs
2017-03-14 10:12:48 +01:00
Alex Dadgar df87e8d255 documentation 2017-03-11 16:18:01 -08:00
Sergey Mezentsev 0078af8b08 Remove 'disk space' from docs 2017-03-04 22:54:49 +03:00
Alex Dadgar e07a337a8d Fix mbits default on website 2017-03-01 16:36:59 -08:00
Alex Dadgar af4e400b36 Update go-getter and add support for git and hg
Fixes https://github.com/hashicorp/nomad/issues/2042
2017-03-01 14:46:04 -08:00
James Nugent 74d363d342 docs: Add note about max_kill_timeout to tasks
This commit makes an explicit note in the documentation for the Nomad
task specification about capping of `max_kill_timeout` based on agent
configuration as well as task configuration.
2017-02-21 22:03:10 -06:00
Alex Dadgar b49fceb491 rebase 2017-02-20 16:43:28 -08:00
Alex Dadgar 7e918003ba Allow specification of timezones 2017-02-15 14:37:06 -08:00
Alex Dadgar d6d2884125 Documentation 2017-02-13 10:18:34 -08:00
Seth Vargo 675b7f7fc1
Fix comments on parameterized jobs 2017-02-06 13:59:07 -05:00
Alex Dadgar 1a960ee5cd Grammar fix 2017-02-02 11:28:04 -08:00
Alex Dadgar 6b7efa1ba6 Template destination file permissions.
This PR allows setting the file permissions of the rendered template.
2017-01-31 20:10:01 -08:00
Alex Dadgar 9c3d38a645 Respond to comments 2017-01-26 11:34:44 -08:00
Alex Dadgar 9dc4737394 move file 2017-01-25 22:16:20 -08:00
Alex Dadgar 0108308e26 JSON job 2017-01-25 22:15:00 -08:00
Alex Dadgar 7e5679c321 alphabetical 2017-01-25 21:27:44 -08:00
Alex Dadgar 3e35f453e4 Rename meta/parsing 2017-01-25 21:27:44 -08:00
Alex Dadgar 963521c66c dispatch_payload 2017-01-25 21:27:44 -08:00
Alex Dadgar 05628dbf24 Parameterized page 2017-01-25 21:27:44 -08:00
Alex Dadgar a1fef22a04 Update template json docs 2017-01-24 09:12:42 -08:00
Igor Yamolov 6964f27d3c Add template reference to task object documentation 2017-01-24 16:54:13 +03:00
Michael Schurter a1f0404a45 Try to use more useful example env vars 2017-01-23 17:02:23 -08:00
Michael Schurter d7c6ff58dd Mention nomad's runtime environment being available now 2017-01-23 15:54:56 -08:00
Michael Schurter a24f739c08 Add example of env vars in templates 2017-01-23 15:50:38 -08:00
Michael Schurter 1b80e15888 Add more details to the source doc 2017-01-23 15:00:22 -08:00
Michael Schurter 496f125840 Remove misleading "any URL as defined by go-getter" doc 2017-01-23 14:55:37 -08:00
Alex Dadgar 669dd0bd9a Add better docs for destination 2017-01-09 15:38:04 -08:00
Andrew Svoboda c46594534a Update network.html.md
Update typo
2017-01-06 17:32:24 -08:00
Alex Dadgar 675855b8c2 Fix documentation for interpolating attrs/meta
This PR fixes the website documentation to correctly present the way of
specifying constraints on node meta and attributes.
2017-01-03 13:25:56 -08:00
Seth Vargo abf2ec76cc Merge pull request #2073 from hashicorp/sethvargo/meta
Fix broken meta links
2016-12-08 11:30:36 -08:00
Seth Vargo 24ba6119b1
Fix broken meta links 2016-12-08 10:45:33 -08:00
Michael Schurter efa8abce0b Mention client level user configs 2016-11-28 13:14:32 -08:00
Michael Schurter b0477c9d48 Fix user docs 2016-11-28 13:14:32 -08:00
Alex Dadgar 1068c35d33 Fix example 2016-11-16 14:44:55 -08:00
Bastiaan Bakker 68a8396d9b s/Vault token/rendered template/ 2016-11-14 21:59:42 +01:00
Alex Dadgar 46893c7558 Merge pull request #1921 from hashicorp/f-abs-templ
Allow absolute paths for template sources
2016-11-07 12:28:49 -08:00
Diptanu Choudhury 06bc740371 Removed disk from resources docs 2016-11-04 10:17:30 -07:00
Seth Vargo 4a1fa67f26
Separate agent configuration into its own pages
I apologize in advance for the rather long PR, but unfortunately there
is not an easy way to break this up into smaller chunks. This separates
the agent configuration into smaller, more consumable pieces just like
the job specification.
2016-11-02 18:30:00 -04:00
Seth Vargo 446d6c08c0
Address feedback 2016-11-02 18:29:17 -04:00
Seth Vargo 1941aae963
Add vault stanza everywhere 2016-11-02 18:26:53 -04:00
Alex Dadgar 2a5ac5e7ee Allow absolute paths for template sources 2016-11-02 13:04:47 -07:00
Seth Vargo 25907c5e33
Document ephemeral_disk under group
Fixes GH-1915
2016-11-02 09:26:31 -04:00
Alex Dadgar 478eebb19b Merge pull request #1908 from hashicorp/f-vault-docs
Vault docs
2016-11-01 12:39:14 -07:00
Alex Dadgar caa8aeef07 docs 2016-11-01 12:23:10 -07:00
Alex Dadgar 80c09f188f Merge pull request #1905 from hashicorp/sethvargo/faildocs
Clarify restart mode "fail"
2016-11-01 10:43:29 -07:00
Alex Dadgar 747c3e7e68 Agent 2016-11-01 10:39:15 -07:00
Jussi Kalliokoski 6c357343d6 Fixed a grammar mistake in template docs. 2016-11-01 16:17:21 +02:00
Seth Vargo 49eade3e13
Clarify restart mode "fail"
Fixes GH-1885
2016-11-01 08:56:34 -04:00
Seth Vargo 90fad382cf
Address feedback 2016-10-31 21:52:45 -04:00
Seth Vargo 5428257f35
Add ephemeral_disk docs 2016-10-31 20:06:00 -04:00
Seth Vargo c13a9de213
Specify restart policy is not the same as restart behavior 2016-10-31 16:53:18 -04:00
Seth Vargo 15493c300f
Fix long lines 2016-10-31 16:53:17 -04:00
Seth Vargo 291c247183
Add multiline string template example 2016-10-31 16:53:17 -04:00
Seth Vargo 26526d8ce7
Fix multiline 2016-10-31 16:53:17 -04:00
Seth Vargo 375211d4c9
Fix example 2016-10-31 16:53:17 -04:00
Seth Vargo 7cf2ab7f58
Capital HTTP 2016-10-31 16:53:16 -04:00
Seth Vargo 12c8f3e9f3
Wrap line 2016-10-31 16:53:16 -04:00
Seth Vargo 348d5ec92c
Add port to service 2016-10-31 16:53:16 -04:00
Seth Vargo 907572c37a
To discus and discuss we will begin discussion 2016-10-31 16:53:15 -04:00
Seth Vargo abda6cc8cf
Update service description 2016-10-31 16:53:15 -04:00
Seth Vargo 356e19c530
Remove hard vault_token and change task name 2016-10-31 16:52:58 -04:00
Seth Vargo 9022998cf7
Consuming Secrets 2016-10-31 16:52:57 -04:00
Seth Vargo 3edbf62062
Discourage setting vault_token directly in job file 2016-10-31 16:52:57 -04:00
Seth Vargo e3be0e6509
Clarify templates must pre-exist and cannot come from the container 2016-10-31 16:52:57 -04:00
Seth Vargo 693baf2525
Fix job example 2016-10-31 16:52:56 -04:00
Seth Vargo 613d1d685b
Add service SEO description 2016-10-31 16:52:56 -04:00
Seth Vargo 59fea443ac
Add vault example 2016-10-31 16:52:55 -04:00
Seth Vargo c6603cddee
Add template example 2016-10-31 16:52:55 -04:00
Seth Vargo 77416c85b9
Give service its own configuration 2016-10-31 16:52:54 -04:00
Seth Vargo d059531ab2
Remove duplicate sentence 2016-10-31 16:52:51 -04:00
Seth Vargo c405291d39
Be consistent 2016-10-31 16:52:51 -04:00
Seth Vargo 5099443cb4
Wrap source line 2016-10-28 13:59:40 -04:00
Seth Vargo d145878fd2
Address feedback 2016-10-28 10:46:33 -04:00
Seth Vargo b3e1807dfd
Remove orphan list 2016-10-27 22:18:07 -04:00
Seth Vargo eaa72558ea
Fix broken links 2016-10-27 22:18:07 -04:00
Seth Vargo fa101d91c4
Revamp job specification documentation to be more modular and composable 2016-10-27 22:18:06 -04:00