Commit Graph

5579 Commits

Author SHA1 Message Date
Seth Vargo d5dcbdbd99 Separate cluster formation into separate documentation pages 2016-10-08 18:57:51 +08:00
Seth Vargo b6ac2791eb
Move to released gem 2016-10-08 16:34:41 +08:00
Michael Schurter 1a04d7a303 Fix ticks 2016-10-07 16:43:17 -07:00
Michael Schurter 2d5f973954 Add docker volume example 2016-10-07 16:23:55 -07:00
Michael Schurter 4a8dcf7e85 Add example docker load config 2016-10-07 16:19:05 -07:00
Alex Dadgar 08eeef0140 Merge pull request #1796 from hashicorp/f-task-runner
Task runner integrates with TaskTemplateManager
2016-10-07 15:13:14 -07:00
Michael Schurter f0173b361f Fix docker docs; add volumes/logging to changelog 2016-10-07 12:28:42 -07:00
Michael Schurter d8f8048d85 Merge pull request #1767 from hashicorp/f-docker-volumes-logging
Support Docker Volumes and Logging
2016-10-07 12:10:59 -07:00
Michael Schurter f0d04bd798 Add comment and fix log line code style 2016-10-07 11:58:21 -07:00
Michael Schurter 523dbfcc81 Remove VolumesFrom feature
Since containers are named with alloc ids it's difficult to use safely.
Not to mention task scheduling ordering issues could break it as well.
2016-10-07 11:58:13 -07:00
Alex Dadgar e2d49eb4a2 Comments 2016-10-06 15:21:59 -07:00
Alex Dadgar 68c5fe78f8 Tests 2016-10-06 15:17:34 -07:00
Alex Dadgar 8fb07bb083 Fix handling of restart in TaskEvents 2016-10-06 15:06:54 -07:00
Alex Dadgar 8eb7fa91cf Start of integration 2016-10-06 15:05:49 -07:00
Alex Dadgar 3693de99d8 Merge pull request #1783 from hashicorp/f-consul-template
Consul template manager
2016-10-06 15:05:01 -07:00
Alex Dadgar c7f76ea78d Make tests channel based 2016-10-06 14:51:54 -07:00
Alex Dadgar acdbc2e1c9 Fix diff test 2016-10-06 14:14:59 -07:00
Alex Dadgar 7e466ee9d2 Bump Vault/Consul version 2016-10-06 14:09:39 -07:00
Alex Dadgar 19a6aefd68 more vendoring 2016-10-06 12:36:44 -07:00
Alex Dadgar 752f400896 Merge pull request #1786 from hashicorp/b-fs-enforce
Do not allow path to escape the alloc dir for the FS commands
2016-10-06 10:41:51 -07:00
Seth Vargo e6ddbca7f5
Update syntax 2016-10-05 13:34:22 -07:00
Alex Dadgar eef942e01a Merge pull request #1793 from jippi/patch-1
add nomad-ui to community page
2016-10-05 11:38:22 -07:00
Christian Winther da7283ed61 Update community.html.erb 2016-10-05 20:37:46 +02:00
Christian Winther 99766bb240 add nomad-ui to community page
I tried to copy-paste for how consul have done this :)
2016-10-05 20:30:03 +02:00
Seth Vargo cee16c09bf Merge pull request #1787 from hashicorp/sethvargo/docs
Fix formatting on jobspec pages
2016-10-03 19:15:12 -04:00
Seth Vargo b4c9b2e976 Merge pull request #1788 from hashicorp/sethvargo/syntax
Add syntax highlighting
2016-10-03 19:15:06 -04:00
Michael Schurter f777faba00 Add comments to config key constants 2016-10-03 16:04:33 -07:00
Seth Vargo f3a05f4e49
Add syntax highlighting 2016-10-03 19:02:38 -04:00
Seth Vargo ccc061665a
Update to mmhc which supports hcl syntax 2016-10-03 19:02:38 -04:00
Seth Vargo c3f06658b6
Fix formatting 2016-10-03 18:23:53 -04:00
Michael Schurter 0d66b8aef0 Only launch syslog server if container uses syslog 2016-10-03 15:22:10 -07:00
Michael Schurter 44219cc083 Put docker volume support behind conf flag
Also add tests and fix bug with logging driver configuration.
2016-10-03 15:02:50 -07:00
Jan-Hendrik Lendholt a26a501120 Fixed a bug when giving in another logging driver than syslog.
Before this commit, if the Logging config did not contain a logging option "syslog-address", it would definitely insert this option.
If then, you decide to take another logdriver than syslog, docker would fail because it received a wrong log option for the selected driver.
Now, nomad will only insert the syslog address in a hard way if there are no logging options at all - this way it keeps the default nomad settings.
2016-10-03 15:02:50 -07:00
Jan-Hendrik Lendholt 6c7cbe5fcb Added support to mount host folders into container. For example if you don't want to bake certificates into the container, you can mount them into the directory directly.
Furthermore, I added support for volumes-from.

Currently, there is no support to move the data from one container to another, hence: If a container spawns on another host, it is very likely, that the data will not be found.
2016-10-03 15:02:49 -07:00
Jan-Hendrik Lendholt ac5cde4641 Added logging options support for docker driver 2016-10-03 15:02:49 -07:00
Alex Dadgar d2837dec44 Do not allow path to escape the alloc dir for the FS commands 2016-10-03 14:58:44 -07:00
Michael Schurter 6dea6df919 Restore lost chan inits 2016-10-03 14:56:50 -07:00
Seth Vargo efbc93ceb0 Merge pull request #1785 from hashicorp/sethvargo/docs
Fix formatting and add more examples to driver docs
2016-10-03 17:50:08 -04:00
Seth Vargo cbfa0b2df5
Fix formatting and add more examples to driver docs 2016-10-03 17:35:20 -04:00
Seth Vargo b96fd48263 Merge pull request #1784 from hashicorp/sethvargo/docs
Add more examples and clarify interpreted variables docs
2016-10-03 17:17:57 -04:00
Seth Vargo 3fd682076c Remove raw-exec example 2016-10-03 17:11:10 -04:00
Seth Vargo 36da4df3b1 Remove exec example 2016-10-03 17:10:53 -04:00
Seth Vargo 283ab84cdf
Update driver docs with constraint examples 2016-10-03 17:01:24 -04:00
Seth Vargo 170668d128
Update docs on interpreted
Uses "property" instead of overloading "attribute"
2016-10-03 17:01:24 -04:00
Seth Vargo d92c944b42
Fix an issue with horizontal docs scrolling 2016-10-03 17:01:24 -04:00
Seth Vargo a883bbfb42
Fix HCL on interpreted.html 2016-10-03 17:01:23 -04:00
Alex Dadgar 1d71ac1a9f Merge pull request #1774 from hashicorp/sethvargo/logs_docs
Clarify logs docs
2016-10-03 13:53:37 -07:00
Alex Dadgar 264e26d68c mend 2016-10-03 13:51:16 -07:00
Alex Dadgar 257a4394eb vendor 2016-10-03 13:50:56 -07:00
Alex Dadgar 4eaabd675c Consul Template Manager 2016-10-03 12:59:31 -07:00