Daniel Nephin
8abf7d32e9
Support filtering images by labels
...
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2015-10-02 15:45:52 -04:00
Xian Chaobo
d4daee4f27
add support images -a
...
Signed-off-by: Xian Chaobo <xianchaobo@huawei.com>
2015-08-12 07:39:11 -04:00
Veres Lajos
0d94d7a11a
typofix - https://github.com/vlajos/misspell_fixer
...
Signed-off-by: Veres Lajos <vlajos@gmail.com>
2015-08-07 23:06:16 +01:00
Peggy Li
0572a6778c
Fix 'Scheduler' typos and update User Guide link
...
Signed-off-by: Peggy Li <peggyli.224@gmail.com>
2015-07-20 20:41:33 -07:00
Peggy Li
5d1ae7b674
Add more meaningful godoc comments for the scheduler/strategy package
...
Signed-off-by: Peggy Li <peggyli.224@gmail.com>
2015-07-16 02:06:04 -07:00
fl0yd
b0cbaeccae
Grammar regarding least and fewest
...
Signed-off-by: Mark Oates fl0yd@me.com
Signed-off-by: Mark Oates <fl0yd@me.com>
2015-07-10 15:33:22 -05:00
moxiegirl
3f7715c030
Merge pull request #959 from ahmetalpbalkan/patch-2
...
Container name fix scheduler/filter/README.md
2015-06-30 08:03:32 -07:00
Victor Vieux
077489a948
Merge pull request #960 from ahmetalpbalkan/random
...
scheduler/random: Use private instance of rand
2015-06-15 18:13:20 -07:00
Ahmet Alp Balkan
d9f5ba1dd4
nits: scheduler/node/node.go
...
Signed-off-by: Ahmet Alp Balkan <ahmetalpbalkan@gmail.com>
2015-06-15 14:19:56 -07:00
Ahmet Alp Balkan
a65766e686
Container name fix scheduler/filter/README.md
...
Signed-off-by: Ahmet Alp Balkan <ahmetalpbalkan@gmail.com>
2015-06-15 14:16:12 -07:00
Ahmet Alp Balkan
6064e889b7
scheduler/random: Use private instance of rand
...
This does not pollute the global rand instance. It's good for
predictability and determinism in the tests and behavior. Reduces
program state.
Signed-off-by: Ahmet Alp Balkan <ahmetalpbalkan@gmail.com>
2015-06-15 14:14:15 -07:00
Matt Bentley
7fc0f9f2a6
Fixed image affinity examples in docs
...
Signed-off-by: Matt Bentley <mbentley@mbentley.net>
2015-06-08 13:11:46 -04:00
Alexandre Beslic
23f66f8cc6
Merge pull request #858 from aluzzardi/addr-flag
...
Replace --addr with --advertise
2015-05-27 11:44:41 -07:00
Andrea Luzzardi
7394be0704
Replace --addr with --advertise
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2015-05-26 17:43:14 -07:00
Victor Vieux
59620bda11
Merge pull request #848 from vieux/health-unit-test
...
Health unit test
2015-05-26 10:27:47 -07:00
Victor Vieux
9c9adc59c0
use exported ErrNoHealthyNodeAvailable in tests
...
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
2015-05-26 10:19:39 -07:00
Rajdeep Dua
d4c95f67b0
Added a New use case for Conflicting Affinity
...
Signed-off-by: Rajdeep Dua <dua_rajdeep@yahoo.com>
2015-05-26 07:42:21 -07:00
Andrea Luzzardi
0fb33f61d5
update testify
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2015-05-26 19:01:09 -07:00
Xian Chaobo
b94d6baf2b
fix #807 : support --volumes-from rw/ro
...
Signed-off-by: Xian Chaobo <xianchaobo@huawei.com>
2015-05-16 03:01:41 +08:00
Andrea Luzzardi
9d3dd85cf1
fix master
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2015-05-06 00:16:05 -07:00
Victor Vieux
cf0098ae40
Merge pull request #691 from aluzzardi/container-config
...
Embed ContainerConfig into Container
2015-05-05 23:51:18 -07:00
Victor Vieux
9d267e5285
fix affinities.bats
...
and add affinity_test.go
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
2015-05-05 17:58:13 -07:00
Xian Chaobo
161de6a01f
healthfilter unit test
...
Signed-off-by: Xian Chaobo <xianchaobo@huawei.com>
2015-05-05 22:23:46 +08:00
Victor Vieux
9dfd82e5ff
remove unused fields from node
...
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
2015-05-04 16:56:55 -07:00
Andrea Luzzardi
1d2e073813
Embed ContainerConfig into Container.
...
The cluster configuration is now embedded into the container. It's
guaranteed to be correct (as in, generated by BuildContainerConfig) at
all times.
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2015-04-30 18:15:22 -07:00
Andrea Luzzardi
cd3a0f03fc
container config builder: Make all modifications on a copy, never alter original.
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2015-04-30 18:06:26 -07:00
Victor Vieux
f53b5df834
store constaints and affinities in labels
...
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
2015-04-30 14:33:21 -07:00
Victor Vieux
6eceffacf9
use cluster.ContainerConfig
...
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
2015-04-30 11:44:25 -07:00
Andrea Luzzardi
30790fb1e3
Merge pull request #667 from vieux/affinity_labels
...
Affinity labels like `-e affinity:com.example.type==test`
2015-04-27 12:36:07 -07:00
Victor Vieux
dce5d6fbba
add a few expr tests
...
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
2015-04-27 10:10:22 -07:00
Victor Vieux
77f0ac919a
update doc
...
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
2015-04-27 09:51:09 -07:00
Pradipta Kr. Banerjee
b4e692d442
Fix minor typo in description of 'binpack' scheduler strategy.
...
Signed-off-by: Pradipta Kr. Banerjee <bpradip@in.ibm.com>
2015-04-26 12:02:59 +05:30
Victor Vieux
28a358d9b2
use docker 1.6, add affinity tests and add doc
...
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
2015-04-23 16:10:34 -07:00
Victor Vieux
f388d700fe
use label as affinity
...
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
2015-04-23 15:43:17 -07:00
Alexandre Beslic
051c1fa5a8
Merge pull request #646 from chanwit/fix-const-overflow
...
Cleanup: cast int64 to make it works everywhere
2015-04-20 17:44:29 -07:00
Victor Vieux
2cb9b8e6fb
Merge pull request #648 from liubin/fixtypos
...
fix some typos in source code
2015-04-20 12:16:19 -07:00
bin liu
413e93ed76
fix some typos in source code
...
Signed-off-by: bin liu <liubin0329@gmail.com>
2015-04-20 03:27:48 +00:00
Chanwit Kaewkasi
720d3c3eea
fix int overflow on non-amd64 platforms
...
Signed-off-by: Chanwit Kaewkasi <chanwit@gmail.com>
2015-04-19 22:10:18 +07:00
Yucong Sun
eab732b8da
Clarify support for filtering with Node ID and Node Name
...
Signed-off-by: Yucong Sun <sunyucong@gmail.com>
2015-04-19 05:43:01 +08:00
Andrea Luzzardi
2bfe3a68e3
Updated dockerclient and fixed API changes.
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2015-04-15 14:32:51 -07:00
James Turnbull
cfe082e36c
Fixed typo
...
Docker-DCO-1.1-Signed-off-by: James Turnbull <james@lovedthanlost.net> (github: jamtur01)
2015-04-14 13:48:42 -04:00
James Turnbull
658c807eb9
Did a quick pass on the docs to fix numerous formatting, spelling and grammar errors
...
Signed-off-by: James Turnbull <james@lovedthanlost.net>
2015-04-14 11:59:50 -04:00
Chanwit Kaewkasi
074b90c2a4
fix #589 - allow pipe in constraint regexp
...
Signed-off-by: Chanwit Kaewkasi <chanwit@gmail.com>
2015-04-14 02:25:54 +07:00
Chanwit Kaewkasi
8bac536980
fix test case per refactoring
...
Signed-off-by: Chanwit Kaewkasi <chanwit@gmail.com>
2015-04-10 01:23:34 +07:00
Chanwit Kaewkasi
1fd19c41ef
update port filter document for host mode
...
Signed-off-by: Chanwit Kaewkasi <chanwit@gmail.com>
2015-04-10 00:32:13 +07:00
Chanwit Kaewkasi
83848918da
add test case for the host mode
...
Signed-off-by: Chanwit Kaewkasi <chanwit@gmail.com>
2015-04-10 00:32:11 +07:00
Chanwit Kaewkasi
6102c1d357
add port filter for the host mode
...
Signed-off-by: Chanwit Kaewkasi <chanwit@gmail.com>
2015-04-10 00:32:10 +07:00
Victor Vieux
0c1782c7c0
fix proxyRandom and cleanup node -> engine
...
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
2015-04-06 13:38:10 -07:00
Victor Vieux
1297a4cef2
transform node interface to engine struct
...
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
2015-04-06 13:19:37 -07:00
Victor Vieux
805b4763f4
disable cluster flag
...
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
2015-04-03 16:33:48 -07:00