Commit Graph

80 Commits

Author SHA1 Message Date
Victor Vieux
1476d3e8af fix hearbeat join 2014-11-20 23:00:50 +00:00
Victor Vieux
b5f4b5a91e add http:// if needed 2014-11-20 22:59:38 +00:00
Victor Vieux
8f708d778d improve logs 2014-11-20 22:45:38 +00:00
Victor Vieux
dba2dee87f log 2014-11-20 22:44:19 +00:00
Victor Vieux
16b22dcca2 do not block if one node is availalble 2014-11-20 22:39:45 +00:00
Victor Vieux
20319a5049 use ID and names 2014-11-20 19:03:55 +00:00
Victor Vieux
725c03d799 Merge branch 'master' of github.com:docker/libcluster 2014-11-20 18:53:04 +00:00
Victor Vieux
e63e0f3956 add kill 2014-11-20 18:52:15 +00:00
Andrea Luzzardi
a2f29be40f Added unit tests for the attribute filter.
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2014-11-19 18:51:41 -08:00
Andrea Luzzardi
b2e803c269 Renamed attributes to attribute to be consistent with port filter.
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2014-11-19 18:51:41 -08:00
Victor Vieux
9bf438ec64 int -> int64 2014-11-20 01:37:15 +00:00
Andrea Luzzardi
582bd6cc0e Add unit tests for the port filter.
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2014-11-19 17:25:22 -08:00
Victor Vieux
4f5126a605 re-enable without -m/-c 2014-11-20 01:16:19 +00:00
Victor Vieux
8293b09a15 fix cpus 2014-11-20 01:15:22 +00:00
Victor Vieux
d0de5ee964 cleanup tests 2014-11-19 22:45:17 +00:00
Victor Vieux
ec06513f48 implement refresh of only one container 2014-11-19 22:29:34 +00:00
Victor Vieux
d5f6c55892 move logs 2014-11-19 01:13:54 +00:00
Victor Vieux
de2462c666 fix test 2014-11-19 01:11:36 +00:00
Victor Vieux
9e8ee985fb Merge branch 'master' of github.com:docker/libcluster 2014-11-19 01:09:23 +00:00
Victor Vieux
2905b00d07 add tests 2014-11-19 01:09:18 +00:00
Andrea Luzzardi
4726477dbe Attribute filter: Schedule containers only on nodes that match certain attributes.
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2014-11-18 17:00:27 -08:00
Andrea Luzzardi
a40ebef79e Rename "graphdriver" to "storagedriver".
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2014-11-18 16:32:44 -08:00
Andrea Luzzardi
41071a88a7 Port Filtering.
Consider only nodes that have the requested port available, and abort
the container creation if none is found.

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2014-11-18 16:04:13 -08:00
Andrea Luzzardi
8dbb9aeeb1 Removed debug log when refreshing containers after creation
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2014-11-18 16:04:13 -08:00
Victor Vieux
45220c0c32 update dockerclient 2014-11-18 23:50:44 +00:00
Victor Vieux
07383edd47 improve locks 2014-11-18 23:04:11 +00:00
Victor Vieux
407d0bc37f update .godir 2014-11-18 21:47:00 +00:00
Victor Vieux
ecd70074c5 update README.md 2014-11-18 21:44:23 +00:00
Victor Vieux
0f507fb783 fix package name 2014-11-18 21:40:38 +00:00
Victor Vieux
323cab0581 add 'list' 2014-11-18 19:37:28 +00:00
Victor Vieux
e141e360f7 fix Dockerfile 2014-11-18 03:38:07 +00:00
Victor Vieux
801e84b719 add license 2014-11-18 03:19:37 +00:00
Victor Vieux
eb50d3654f add basic README.md 2014-11-18 03:18:36 +00:00
Victor Vieux
8411d0ed94 split main 2014-11-18 03:05:37 +00:00
Victor Vieux
74a6bff763 add Dockerfile 2014-11-18 02:52:59 +00:00
Victor Vieux
216c2a7507 fix imports 2014-11-18 02:52:51 +00:00
Victor Vieux
ea5b048e73 update test name 2014-11-18 02:01:04 +00:00
Victor Vieux
45ca8472f1 add create command 2014-11-18 01:34:08 +00:00
Victor Vieux
05e95dfc7e cleanup main 2014-11-18 01:27:48 +00:00
Victor Vieux
ed2db9a85b swarmd -> swarm
Signed-off-by: Victor Vieux <vieux@docker.com>
2014-11-18 00:57:05 +00:00
Victor Vieux
43accba357 refactor swarmd 2014-11-18 00:46:58 +00:00
Andrea Luzzardi
670dc7f59b Node: Fix a bug in containers update.
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2014-11-17 16:49:05 -08:00
Victor Vieux
a0841874c5 add basic discovery client 2014-11-17 21:46:03 +00:00
Andrea Luzzardi
855598f2ac swarmd: Switch to bin packing by default.
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2014-11-17 13:35:24 -08:00
Andrea Luzzardi
cb66a5d8fe Scheduling: Experimental bin packing algorithm.
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2014-11-17 13:34:59 -08:00
Andrea Luzzardi
0577135ea9 scheduler: Pass the strategy and filters as a creation argument.
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2014-11-17 13:34:59 -08:00
Andrea Luzzardi
6585d4cfb6 Node: Expose reserved memory and CPUs.
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2014-11-17 13:34:08 -08:00
Andrea Luzzardi
004450a910 Make the random placement strategy truly random.
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2014-11-17 13:34:08 -08:00
Andrea Luzzardi
a387265978 Embed the extended container information into Container.
At startup, inspect all containers and store the data into the
Container. When new containers are detected, inspect them as well.

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2014-11-17 13:34:08 -08:00
Andrea Luzzardi
3241872d75 Node.Pull() naming cleanup.
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2014-11-17 13:34:08 -08:00