Chris Bednarski
c13894814c
Merge pull request #23 from hashicorp/f-driver-config
...
Added config to drivers; needed for docker driver to get the socket endpoint
2015-09-10 11:29:42 -07:00
Chris Bednarski
4b74613d9d
Relax Qemu version regexp to accomodate build identifier in the version command
2015-09-09 18:39:40 -07:00
Chris Bednarski
0e00b5fbf7
Updated Qemu and tests to use DriverContext
2015-09-09 18:38:52 -07:00
Chris Bednarski
7b517d83fa
Merge branch 'master' into f-driver-config
...
Conflicts:
client/driver/driver.go
2015-09-09 18:19:19 -07:00
Chris Bednarski
8d4d9645d8
Replace logging and config with DriverContext, which allows us to expand the dependency injection without changing the interface
2015-09-09 18:06:23 -07:00
Chris Bednarski
e227e15c1e
Merge pull request #24 from hashicorp/qemu-driver
...
Basic Qemu driver implementation
2015-09-09 17:43:13 -07:00
Chris Bednarski
9b763ed32f
Merge pull request #29 from hashicorp/b-sigterm
...
Change SIGINT to SIGTERM
2015-09-09 17:07:57 -07:00
Clint Shryock
12903f768a
driver/qemu+java: Code cleanups
2015-09-09 14:38:42 -05:00
Clint Shryock
966ac0e617
driver/qemu: Actually use the requred Memory from the Task
2015-09-09 14:30:35 -05:00
Clint Shryock
db5b3e7e12
driver/qemu: Require a memory resource on the task
2015-09-09 14:28:16 -05:00
Chris Bednarski
ea988a02f0
Change SIGINT to SIGTERM
2015-09-09 01:52:58 -07:00
Clint Shryock
58d9e437d5
driver/qemu: add to builtin drivers
2015-09-08 16:25:36 -05:00
Clint Shryock
f1c57a3441
driver/qemu: Basic lifecycle management of Qemu images
2015-09-08 16:08:49 -05:00
Chris Bednarski
f911a24837
Added config to drivers; needed for docker driver to get the socket endpoint
2015-09-08 12:43:02 -07:00
Clint Shryock
353007fc39
Merge branch 'master' into qemu-driver
...
* master: (66 commits)
Use a single implementation of GenerateUUID
scheduler: use update strategy for rolling updates
nomad: adding helper structs
scheduler: Adding CreateEval to Planner
nomad: worker supports create eval
nomad: guard eval creation based on parent eval
nomad: adding Eval.Create endpoint
nomad: support time wait for evaluations
nomad: adding fields to cause an evaluation to 'wait'
scheduler: support in-place allocation updates
scheduler: util method to diff task groups
nomad: helper struct func
nomad: PopUpdate should minimize plan size
nomad: adding helper to manipulate plans
scheduler: share context and stack
scheduler: allow updating the base nodes
scheduler: allow StaticIterator to update base set
scheduler: pull node shuffle into util
nomad: adding node GC
nomad: using Raft StartAsLeader to make tests faster
...
2015-09-08 09:52:40 -05:00
Chris Bednarski
6fed1ba76a
Merge pull request #19 from hashicorp/test-resources
...
Added example python and java apps for testing
2015-09-07 17:03:09 -07:00
Armon Dadgar
8a02dbc481
Use a single implementation of GenerateUUID
2015-09-07 15:23:03 -07:00
Armon Dadgar
9c4285c6fa
scheduler: use update strategy for rolling updates
2015-09-07 15:17:39 -07:00
Armon Dadgar
5bdd90e88e
nomad: adding helper structs
2015-09-07 15:08:50 -07:00
Armon Dadgar
1b2cb12312
scheduler: Adding CreateEval to Planner
2015-09-07 14:26:29 -07:00
Armon Dadgar
d0cf06a84f
nomad: worker supports create eval
2015-09-07 14:23:48 -07:00
Armon Dadgar
771d7ad93f
nomad: guard eval creation based on parent eval
2015-09-07 14:21:38 -07:00
Armon Dadgar
0c6685da79
nomad: adding Eval.Create endpoint
2015-09-07 14:17:11 -07:00
Armon Dadgar
20c059f834
nomad: support time wait for evaluations
2015-09-07 13:00:45 -07:00
Armon Dadgar
f9592dc668
nomad: adding fields to cause an evaluation to 'wait'
2015-09-07 12:47:48 -07:00
Armon Dadgar
666d66be23
scheduler: support in-place allocation updates
2015-09-07 12:27:12 -07:00
Armon Dadgar
916f2a7b8c
scheduler: util method to diff task groups
2015-09-07 12:25:23 -07:00
Armon Dadgar
885f6e05bb
nomad: helper struct func
2015-09-07 12:23:34 -07:00
Armon Dadgar
5ecb52ecaa
nomad: PopUpdate should minimize plan size
2015-09-07 12:05:18 -07:00
Armon Dadgar
14db0d65dd
nomad: adding helper to manipulate plans
2015-09-07 12:00:34 -07:00
Armon Dadgar
b54eeec47d
scheduler: share context and stack
2015-09-07 11:34:59 -07:00
Armon Dadgar
efdf717991
scheduler: allow updating the base nodes
2015-09-07 11:30:13 -07:00
Armon Dadgar
831848bf5e
scheduler: allow StaticIterator to update base set
2015-09-07 11:26:16 -07:00
Armon Dadgar
49488ecdba
scheduler: pull node shuffle into util
2015-09-07 11:23:38 -07:00
Armon Dadgar
465678e17f
nomad: adding node GC
2015-09-07 11:01:29 -07:00
Armon Dadgar
c2b7ce92e7
nomad: using Raft StartAsLeader to make tests faster
2015-09-07 10:46:41 -07:00
Armon Dadgar
e5c7effaa9
http: list results are never null
2015-09-07 10:03:10 -07:00
Armon Dadgar
b566efd781
nomad: unifying the state store API
2015-09-06 20:56:38 -07:00
Armon Dadgar
736757b05f
state: cleanup Get*By
2015-09-06 20:51:01 -07:00
Armon Dadgar
c5ef4c642a
state: remove unused indexes
2015-09-06 20:49:07 -07:00
Armon Dadgar
c27a0725cc
nomad: cleanup API descrepencies
2015-09-06 20:47:42 -07:00
Armon Dadgar
fb42ff77cf
state: unify the terminology for code clarity
2015-09-06 20:39:06 -07:00
Armon Dadgar
6ee7f111dc
Rename client endpoint to node endpoint
2015-09-06 20:31:32 -07:00
Armon Dadgar
e2674c2c40
nomad: improve error messages at start for dev mode
2015-09-06 20:18:47 -07:00
Armon Dadgar
2d9c3fb9f3
http: adding the drain toggle endpoint
2015-09-06 20:03:59 -07:00
Armon Dadgar
aff85141ec
nomad: adding client drain endpoint
2015-09-06 20:00:12 -07:00
Armon Dadgar
9f76b6a9a0
nomad: adding FSM support for node drain update
2015-09-06 19:55:38 -07:00
Armon Dadgar
063505876a
state: Adding UpdateNodeDrain
2015-09-06 19:51:50 -07:00
Armon Dadgar
7062eb5fa8
nomad: adding drain as node property
2015-09-06 19:47:02 -07:00
Armon Dadgar
63ae02a2f9
http: parsing flags for node drain
2015-09-06 19:35:05 -07:00