Victor Vieux
f0e9fb032d
prevent undercommit for now
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-01-14 00:57:13 +00:00
Victor Vieux
d57eca7bc9
move overcommit outside of the strategies
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-01-14 00:33:49 +00:00
Victor Vieux
d8b609c161
Move overcommit outside of binpacking and use 105 instead of 0.05
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-01-14 00:33:49 +00:00
Victor Vieux
957fce6a6c
use list of IPs as a discovery
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-01-13 19:47:36 +00:00
Andrea Luzzardi
7effd27a0e
Events: Embed the entire Node object rather than its attributes.
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2014-12-17 17:54:07 -08:00
Victor Vieux
ad49f11c4e
see https://github.com/codegangsta/cli/issues/160
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2014-12-16 21:05:15 +00:00
Victor Vieux
827cdf19f6
add --filter flag to specify which filter to use
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2014-12-16 21:05:15 +00:00
Victor Vieux
b0293f8767
see https://github.com/codegangsta/cli/issues/160
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2014-12-16 01:54:15 +00:00
Victor Vieux
6e39962998
-addr -> multiple -H + unix
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2014-12-15 23:02:23 +00:00
Andrea Luzzardi
88bff68a5a
Merge pull request #167 from vieux/update_watch
...
watch take a callback
2014-12-12 17:10:38 -08:00
Victor Vieux
b1e80ce157
add --strategy to choose the strategy to use
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2014-12-12 23:57:27 +00:00
Victor Vieux
f2ca549f46
cleaner callback
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2014-12-12 22:49:20 +00:00
Victor Vieux
005b5fe288
watch take a callback
2014-12-12 22:14:11 +00:00
Victor Vieux
f95f943b4a
use 1.5*heartbeat as TTL in etcd
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2014-12-11 22:18:54 +00:00
Victor Vieux
2282fc89ef
add node type
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2014-12-11 21:59:01 +00:00
Victor Vieux
0aeb1771bd
add watch interface
2014-12-11 01:24:19 +00:00
Victor Vieux
ef9b509d07
add file
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2014-12-11 01:24:19 +00:00
Victor Vieux
bb7f69fd9c
First step toward modular discoevery services
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2014-12-11 01:24:19 +00:00
Andrea Luzzardi
39fe73a231
TLS support.
...
TLS authentication support between the CLI and Swarm but also between
Swarm and the Docker nodes.
Closes #148 .
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2014-12-09 13:43:25 -08:00
Victor Vieux
926e8e11f1
add --api-enable-cors on swarm manage
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2014-12-06 23:04:08 +00:00
Andrea Luzzardi
cf65a010d6
Health filter: Only schedule containers on healthy nodes.
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2014-11-21 17:07:26 -08:00
Andrea Luzzardi
1dead64e11
Rename attributes to labels.
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2014-11-21 14:13:40 -08:00
Victor Vieux
f40ec59495
speed up refresh
2014-11-21 19:11:03 +00:00
Victor Vieux
1f74cb5809
remove races
2014-11-21 01:36:30 +00:00
Victor Vieux
dd05044b96
add version
2014-11-21 00:18:06 +00:00
Andrea Luzzardi
f9986bbb02
manage cluster: Set a default overcommit ratio of 5%.
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2014-11-20 16:19:05 -08:00
Victor Vieux
80cc51c9be
fix heartbeat
2014-11-20 23:56:42 +00:00
Victor Vieux
b5f4b5a91e
add http:// if needed
2014-11-20 22:59: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
d5f6c55892
move logs
2014-11-19 01:13:54 +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
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
Victor Vieux
0f507fb783
fix package name
2014-11-18 21:40:38 +00:00
Victor Vieux
8411d0ed94
split main
2014-11-18 03:05:37 +00:00