Alex Dadgar
f3bd7a8a69
Add docker test
2016-10-28 17:53:25 -07:00
Alex Dadgar
d70fd7e426
Fix passing of recoverable error from docker pull
2016-10-28 17:49:46 -07:00
Diptanu Choudhury
6acfa45f2a
Making the executor lock the logger
2016-10-28 10:57:35 -07:00
Alex Dadgar
8864f6f9a5
Don't delete docker images in test
2016-10-27 12:31:53 -07:00
Michael Schurter
01d47a86f1
Merge pull request #1877 from hashicorp/b-expand-docker-vols
...
Expand env vars in docker volume paths
2016-10-27 11:32:45 -07:00
Michael Schurter
6821210a85
Merge pull request #1862 from hashicorp/f-rkt-portmap
...
driver.rkt: support network configuration [waiting]
2016-10-27 11:05:55 -07:00
Michael Schurter
98debf5320
Expand env vars in docker volume paths
...
Fixes #1876
2016-10-27 11:02:38 -07:00
Alex Dadgar
a186f7a26d
Merge pull request #1806 from hashicorp/f-docker4mac-fixes
...
A couple fixes to make Docker For Mac work
2016-10-27 09:29:40 -07:00
Michael Schurter
aeb410c07c
Put lxc support behind a flag
...
Since lxc support requires linking to a C lib at compile and runtime
I'm putting it behind a build flag to avoid forcing all nomad users to
install liblxc (lxc-dev for development).
2016-10-26 14:55:54 -07:00
Diptanu Choudhury
722433b4f9
Making the cli use TLS if the client has enabled TLS
2016-10-26 11:13:53 -07:00
Michael Schurter
7eae82191e
Fix LXC driver interface impls
2016-10-26 10:06:03 -07:00
Alex Dadgar
00ce1e50f5
Fix panic
2016-10-25 17:27:13 -07:00
Michael Schurter
294b7b306d
Fix tests for rkt port map
2016-10-25 17:06:41 -07:00
Kenjiro Nakayama
82c1e7914e
driver.rkt: add rkt drriver port mapping test
2016-10-25 15:41:49 -07:00
Kenjiro Nakayama
f59a6f7362
driver.rkt: support port mapping with net and port options
2016-10-25 15:41:49 -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
Evan Phoenix
cb64cfe820
Disable the syslog logging system on Docker For Mac
...
The syslog logging system depends on the ability for a unix socket to be
accessed by the docker daemon in the $TMPDIR of the host. This doesn't
work on Docker For Mac because the docker daemon is running inside a VM,
and while /tmp is accessible, the filesystem used to share them doesn't
support unix socket files, and thus it doesn't work.
2016-10-12 17:07:21 -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