Commit Graph

1657 Commits

Author SHA1 Message Date
Shiem Edelbrock
b8b8fe504c Updated priviliged option, added client priviliged option
- Added error checking on priviliged mode.
- Added `docker.privileged.enabled` to client config/fingerprint
2015-11-05 16:40:20 -08:00
Shiem Edelbrock
467777e6fe Merge branch 'master' of https://github.com/hashicorp/nomad into f-docker-driver-options
* 'master' of https://github.com/hashicorp/nomad: (59 commits)
  Move the executor and spawn package into driver
  Remove file watching
  Check if the PID is alive instead of heartbeating through modify time
  Update CHANGELOG.md
  nomad/watch: add a note about the Item struct
  go fmt this file
  Vet errors
  Search path
  Update website
  Make a basic executor that can be shared and fix some fingerprinting/tests
  Small improvements
  Use const value for AWS metadata URL
  Create Spawn pkg that handles IPC with the spawn-daemon and update exec_linux to use that
  Fixed the restart policy syntax
  Introducing vars to create default batch and service restart policies
  Fixed the tests
  Declaring Batch and Service default restart policies
  Fixing tests to not create a TG without restart policies
  This option only work -> This option only works
  leave -> leaving
  ...
2015-11-05 10:48:09 -08:00
Shiem Edelbrock
0521562d9c Added task configuraton options for docker driver
- Added `priviliged` option to task config to allow containers to run in
 priviliged mode.
- Added `dns-servers` option to task config to allow containers to use
  custom DNS servers
- Added `search-domains` option to task config to allow containers to
  use custom dns search domains
- Added authentication options (under key namespace `auth.*`) to allow
  authentication on a task level for docker remote.
- Updated site docs to reflect changes
2015-11-05 10:47:41 -08:00
Alex Dadgar
b0464a59e8 Merge pull request #383 from hashicorp/f-driver-restructure
Move the executor and spawn package into driver
2015-11-04 16:59:17 -08:00
Alex Dadgar
0f1050b1bf Move the executor and spawn package into driver 2015-11-04 16:53:27 -08:00
Alex Dadgar
64be746d9b Merge pull request #380 from hashicorp/f-daemonize
Improve spawn-daemon and Nomad Client usage of it
2015-11-04 16:44:50 -08:00
Alex Dadgar
29d72b7477 Remove file watching 2015-11-04 16:38:28 -08:00
Alex Dadgar
4958be618c Check if the PID is alive instead of heartbeating through modify time 2015-11-04 14:50:44 -08:00
Ryan Uber
ab87ef41ad Merge pull request #368 from hashicorp/b-docs
website: clean up HTTP docs, add blocking queries
2015-11-04 11:22:57 -08:00
Ryan Uber
4e88552044 Update CHANGELOG.md 2015-11-04 11:22:20 -08:00
Ryan Uber
7f63be43d1 Merge pull request #366 from hashicorp/f-blocking
Support blocking queries
2015-11-04 11:18:50 -08:00
Ryan Uber
2a1577ec88 nomad/watch: add a note about the Item struct 2015-11-04 11:18:17 -08:00
Clint Shryock
1870f9b799 go fmt this file 2015-11-03 15:54:29 -06:00
Alex Dadgar
a6f9aeb1b1 Vet errors 2015-11-03 13:37:45 -08:00
Alex Dadgar
2291ea9060 Search path 2015-11-03 13:26:09 -08:00
Alex Dadgar
fc5b418e7e Update website 2015-11-03 12:57:39 -08:00
Alex Dadgar
13ea9bc9ff Make a basic executor that can be shared and fix some fingerprinting/tests 2015-11-03 12:47:48 -08:00
Alex Dadgar
6cf8eeb216 Small improvements 2015-11-03 10:50:30 -08:00
Clint
fd5be4dbf3 Merge pull request #379 from nak3/const-aws
Use const value for AWS metadata URL
2015-11-03 10:09:30 -06:00
Kenjiro Nakayama
84dc194d8a Use const value for AWS metadata URL 2015-11-04 00:06:14 +09:00
Alex Dadgar
3576f48993 Create Spawn pkg that handles IPC with the spawn-daemon and update exec_linux to use that 2015-11-02 20:28:37 -08:00
Diptanu Choudhury
2cdedc62ec Merge pull request #369 from hashicorp/f-client-side-restarts
Client Side Restarts - Part 1
2015-11-02 20:02:52 -08:00
Diptanu Choudhury
6a56218fb7 Fixed the restart policy syntax 2015-11-02 17:30:41 -08:00
Diptanu Choudhury
ef841d5e89 Introducing vars to create default batch and service restart policies 2015-11-02 17:00:17 -08:00
Diptanu Choudhury
795c786ca5 Fixed the tests 2015-11-02 15:04:04 -08:00
Diptanu Choudhury
c7d31e5683 Declaring Batch and Service default restart policies 2015-11-02 13:35:51 -08:00
Diptanu Choudhury
ec819f9761 Fixing tests to not create a TG without restart policies 2015-11-02 13:24:59 -08:00
Alex Dadgar
a604ba5761 Merge pull request #372 from charlieok/patch-1
Remove redundant 'all'
2015-11-02 10:31:34 -08:00
Alex Dadgar
51b64c37b0 Merge pull request #375 from charlieok/patch-3
leave -> leaving
2015-11-02 10:28:55 -08:00
Armon Dadgar
e109c255ba Merge pull request #376 from charlieok/patch-4
This option only work -> This option only works
2015-11-02 10:20:48 -08:00
Charlie O'Keefe
614a01fb4b This option only work -> This option only works 2015-11-02 11:19:38 -07:00
Charlie O'Keefe
b770d1a709 leave -> leaving 2015-11-02 11:18:42 -07:00
Seth Vargo
33bf855878 Merge pull request #374 from charlieok/patch-3
appicable -> applicable
2015-11-02 13:12:55 -05:00
Charlie O'Keefe
4bdaa1bbc0 appicable -> applicable 2015-11-02 11:10:12 -07:00
Charlie O'Keefe
6fa5b45c3e Remove redundant 'all' 2015-11-02 10:15:26 -07:00
Diptanu Choudhury
96f946b88e Not validating task groups if it's nil in a job 2015-10-30 21:43:00 -07:00
Diptanu Choudhury
67c21e4b31 Added a RestartPolicy to some mocks 2015-10-30 21:33:33 -07:00
Diptanu Choudhury
0d17430306 Fixed grammer of comment 2015-10-30 21:06:56 -07:00
Diptanu Choudhury
93cdcb5ac2 Added the restart policies to mocks 2015-10-30 18:34:23 -07:00
Diptanu Choudhury
a035dcf2c0 Re-using toDuration while figuring out staggertime 2015-10-30 16:49:08 -07:00
Diptanu Choudhury
e2f61e25e9 Sending restart policies to the Nomad API 2015-10-30 16:32:05 -07:00
Diptanu Choudhury
83695cb5d1 Added support for parsing restart blocks 2015-10-30 15:51:39 -07:00
Ryan Uber
8f2bb25157 website: clean up HTTP docs, add blocking queries 2015-10-30 14:38:51 -07:00
Ryan Uber
5f53478137 nomad/state: subscribe/unsubscribe all watch items while holding the lock 2015-10-30 08:46:03 -07:00
Ryan Uber
284c2e2f2b nomad: cleanup and more tests 2015-10-30 08:27:47 -07:00
Ryan Uber
ae4156d2b3 nomad/state: add watch trigger tests 2015-10-29 21:42:41 -07:00
Ryan Uber
6fb8a2d3e2 nomad: more tests 2015-10-29 19:14:21 -07:00
Alex Dadgar
ae2ab45164 Merge pull request #365 from hashicorp/dev-config-network-interface
Setting the default network interface for dev mode only in Linux and Darwin
2015-10-29 17:28:16 -07:00
Diptanu Choudhury
b514b2145c Setting the default network interface for dev mode only in Linux and Darwin 2015-10-29 17:03:54 -07:00
Diptanu Choudhury
0f787a331d Merge pull request #356 from hashicorp/network-fingerprint-refactor
Network fingerprint refactor
2015-10-29 16:59:54 -07:00