Michael Schurter
7eae82191e
Fix LXC driver interface impls
2016-10-26 10:06:03 -07:00
Diptanu Choudhury
855fe5f75a
Merge pull request #1699 from hashicorp/f-lxc-driver
...
LXC Support
2016-10-25 15:17:44 -07:00
Diptanu Choudhury
b0c665ce26
Added lxc related dependencies
2016-10-25 15:17:02 -07:00
Alex Dadgar
b0749c7bd4
Merge pull request #1839 from hashicorp/f-signal-constraints
...
Signal creates an auto-constraints
2016-10-25 11:09:33 -07:00
Michael Schurter
da7e3f318b
Fingerprint rkt volume support and make periodic
...
Fix rkt docs and custom volume mounting
2016-10-25 09:46:49 -07:00
Michael Schurter
fe7179c8ee
Allow mounting alloc-dir-relative paths in docker
2016-10-25 09:46:49 -07:00
Michael Schurter
89a1b60c1b
Enable rkt and docker volume mounting by default
2016-10-25 09:46:49 -07:00
Michael Schurter
5ed12860af
Make volume name unique
2016-10-25 09:46:49 -07:00
Michael Schurter
f23cd482c7
Bump minimum required rkt version; update docs
...
Make section names match between docker and rkt
2016-10-25 09:46:49 -07:00
Michael Schurter
da46ce29c2
Fix docker reference in rkt test
2016-10-25 09:46:49 -07:00
Michael Schurter
6af70e005e
Add arbitrary volume support to rkt
2016-10-25 09:46:49 -07:00
Michael Schurter
ec1b44e7e6
Fix standard mounts in rkt and tests
2016-10-25 09:46:49 -07:00
Alex Dadgar
7c3a2d08a3
Merge pull request #1848 from hashicorp/f-vault-error
...
Thread through whether DeriveToken error is recoverable or not
2016-10-24 15:01:18 -07:00
Alex Dadgar
ceecfbbdef
Merge pull request #1845 from hashicorp/f-remove-disk-usage-acct
...
Remove disk usage enforcement
2016-10-22 19:01:51 -07:00
Alex Dadgar
109deabf3a
Fix signal test for docker
2016-10-22 18:32:48 -07:00
Alex Dadgar
42f7bc8e81
Thread through whether DeriveToken error is recoverable or not
2016-10-22 18:08:30 -07:00
Michael Schurter
317922642f
Fix comment form
2016-10-21 16:56:33 -07:00
Michael Schurter
4d3187bc7e
Remove disk usage enforcement
...
Many thanks to @iverberk for the original PR (#1609 ), but we ended up
not wanting to ship this implementation with 0.5.
We'll come back to it after 0.5 and hopefully find a way to leverage
filesystem accounting and quotas, so we can skip the expensive polling.
2016-10-21 13:55:51 -07:00
Alex Dadgar
008d91aa56
Advertise signalling abilities
2016-10-19 15:06:23 -07:00
Alex Dadgar
d7673670fc
Actually mount the local directory
2016-10-18 15:57:12 -07:00
Alex Dadgar
e34902ae8a
Large refactor of task runner and Vault token rehandling
2016-10-18 11:24:20 -07:00
Alex Dadgar
917c7e5085
Merge pull request #1801 from hashicorp/f-signals
...
Consul-template signal change mode
2016-10-18 11:23:47 -07:00
Michael Schurter
1566b979e3
Disable lxc by default
2016-10-13 13:22:12 -07:00
Michael Schurter
af8a20bc7d
Cleanup comments/whitespace
2016-10-13 13:05:55 -07:00
Michael Schurter
487a4980e0
Mount secret dir
2016-10-13 12:45:33 -07:00
Diptanu Choudhury
14294fde77
throwing an error if stats line can't be converted to k/v pair
2016-10-12 17:18:58 -07:00
Diptanu Choudhury
d4fba69b95
Bind mounting alloc dir into container
2016-10-12 17:18:58 -07:00
Diptanu Choudhury
9ae6c0e8d4
Setting the network type
2016-10-12 17:18:58 -07:00
Diptanu Choudhury
340efc879d
Adding cpu resource limits
2016-10-12 17:18:58 -07:00
Diptanu Choudhury
7300ea8463
Implemented an LXC Driver
2016-10-12 17:18:58 -07:00
Alex Dadgar
1a017c6afd
add plugin kill
2016-10-12 13:24:22 -07:00
Alex Dadgar
358c43333d
Send Executor Ctx separately
2016-10-12 11:35:29 -07:00
Michael Schurter
2ae0c85290
Add NOMAD_JOB_NAME to environment
2016-10-11 11:20:42 -07:00
Alex Dadgar
af517b3d37
Task runner sends signals
2016-10-10 15:09:00 -07:00
Alex Dadgar
0b65a5f95d
Executor + Java/Raw Exec/Exec
2016-10-10 11:47:04 -07:00
Alex Dadgar
1de16a3847
Rkt
2016-10-10 11:47:04 -07:00
Alex Dadgar
1a3585b572
Docker + Qemu
2016-10-10 11:47:04 -07:00
Michael Schurter
7d115a3fae
Add comment and fix log line code style
2016-10-07 11:58:21 -07:00
Michael Schurter
e876c6c1a0
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
Michael Schurter
297d637a59
Add comments to config key constants
2016-10-03 16:04:33 -07:00
Michael Schurter
cc5b40e54e
Only launch syslog server if container uses syslog
2016-10-03 15:22:10 -07:00
Michael Schurter
fe1e3c792f
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
32a8e5b116
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
7c077d2dae
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
38b034d568
Added logging options support for docker driver
2016-10-03 15:02:49 -07:00
Alex Dadgar
42c4346dcf
Constant time space tracking of pids
2016-09-27 16:57:26 -07:00
Alex Dadgar
b097191ec6
Test fix
2016-09-26 15:35:59 -07:00
Alex Dadgar
ee67630889
Struct and parse
2016-09-21 11:31:09 -07:00
Alex Dadgar
d49dda45e3
Merge pull request #1713 from hashicorp/f-alloc-runner-vault
...
Vault integration in client
2016-09-20 16:15:55 -07:00
Alex Dadgar
cd8784894d
Alloc runner tests
2016-09-15 17:24:09 -07:00