Victor Vieux
805b4763f4
disable cluster flag
...
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
2015-04-03 16:33:48 -07:00
Victor Vieux
8f50c0eb7a
use names everywhere
...
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
2015-04-03 16:22:56 -07:00
Matt Bajor
d87c48ae4e
Fix lint violations
...
This changeset fixes all lint violations that show up with a
min_confidence of 1
- Issue #500 : Run golint on codebase
Signed-off-by: Matt Bajor <matt@notevenremotelydorky.com>
2015-03-27 21:17:44 -06:00
Victor Vieux
2f19f5899a
Add spread strategy and make it the default
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-03-07 15:17:42 -08:00
Victor Vieux
ce98e66c63
cluster API instead of scheduler API
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-02-27 14:20:37 -08:00
Victor Vieux
eb88068f93
refactor code: move filter/ and strategy/ out of scheduler and create a simple
...
scheduler interface.
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-02-27 14:20:37 -08:00
Andrea Luzzardi
97334b0193
Dependency Filter: co-schedule dependent containers on the same node.
...
Supported dependencies:
- Shared volumes: `--volumes-from=dependency`
- Links: `--link=dependency:alias`
- Shared network stack: `--net=container:dependency`
Fixes #251
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2015-02-10 13:26:21 -08:00
Victor Vieux
3c4cbf3a4b
fix port filter cli
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-02-10 05:21:43 +00:00
Andrea Luzzardi
0bf7cc8c35
Change default SWARM_ADDR to the default Docker port.
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2015-02-02 18:46:29 -08:00
Victor Vieux
34fdc81c2e
hack code to not error on go vet
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-02-02 18:20:41 +00:00
Andrea Luzzardi
45dbe6b73f
flags: Cleanup the homepath() function.
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2015-01-22 15:04:14 -08:00
Matt Drollette
a66abedab5
use cross-compile compatible home dir detection
...
Signed-off-by: Matt Drollette <matt@drollette.com>
2015-01-22 16:41:21 -06:00
Victor Vieux
9f4e3ffb3b
use <> in the usage
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-01-21 22:41:01 +00:00
Victor Vieux
3fe99c7067
replace --discovery by argument
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-01-21 19:59:27 +00:00
Andrea Luzzardi
1e92f854d5
Merge pull request #243 from vieux/affinity
...
add affinity (start next to a container/image)
2015-01-19 14:02:03 -08:00
Andrea Luzzardi
7161549693
store: Change the default path to ~/.swarm.
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2015-01-19 13:39:24 -08:00
Victor Vieux
ccee1f67e8
add affinity:
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-01-16 00:10:36 +00:00
Andrea Luzzardi
6410f9ad35
Store requested state persistently.
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-01-15 23:10:50 +00:00
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
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
cccbd0baea
lowercase help
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-01-13 21:58:15 +00:00
Victor Vieux
6e79a0e345
add tabs in the help
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-01-13 21:42:55 +00:00
Chanwit Kaewkasi
5d5d7bf430
mark zookeeper discovery implemented
...
Signed-off-by: Chanwit Kaewkasi <chanwit@gmail.com>
2015-01-08 19:34:53 +07:00
JChien
f6b5ca38d5
fix flag usage message
...
Signed-off-by: JChien <jeffchien13@gmail.com>
2014-12-31 00:16:03 +00:00
JChien
1a21de143f
add consul support as a disovery backend
...
Signed-off-by: JChien <jeffchien13@gmail.com>
2014-12-31 00:16:03 +00:00
Victor Vieux
28a5063168
add tests and move from label to constraint
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2014-12-18 02:14:31 +00:00
Andrea Luzzardi
efc56c18c2
Merge pull request #182 from vieux/default_port
...
replace 4243 by the docker port
2014-12-17 14:58:21 -08:00
Victor Vieux
722cc2fb08
replace 4243 by the docker port
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2014-12-17 22:28:17 +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
6e39962998
-addr -> multiple -H + unix
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2014-12-15 23:02:23 +00: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