Commit Graph

207 Commits

Author SHA1 Message Date
Victor Vieux f26a50a483 update dockerclient
Signed-off-by: Victor Vieux <vieux@docker.com>
2016-02-02 12:08:09 -08:00
Victor Vieux f0667cd5bb Merge pull request #1714 from vieux/soft_fix
fix soft / resource computation
2016-02-01 13:11:22 -08:00
Victor Vieux 2b155ce8cf fix soft / resource computation
Signed-off-by: Victor Vieux <vieux@docker.com>
2016-01-28 12:57:46 -08:00
Victor Vieux 3c7a454a9d Add test
Signed-off-by: Victor Vieux <vieux@docker.com>
2016-01-28 12:42:42 -08:00
ChangHai Yan a59f3578ee use ParseRepositoryTag in image
Signed-off-by: ChangHai Yan <changhai.ych@alibaba-inc.com>
2016-01-28 19:50:09 +08:00
易嘉 686f743856 fix images affinity
Signed-off-by: 易嘉 <changhai.ych@alibaba-inc.com>
2016-01-25 09:51:40 +08:00
Victor Vieux ab113e7750 Add more unit tests for spread strategy
Signed-off-by: Victor Vieux <vieux@docker.com>
2016-01-16 00:25:50 -08:00
moxiegirl 62fdf2fad1 Merge pull request #1546 from moxiegirl/readme-refs-work
Remove readmes and point to docs
2016-01-12 15:51:59 -08:00
Dong Chen 8f384b1d40 Address review comments.
Signed-off-by: Dong Chen <dongluo.chen@docker.com>
2016-01-11 16:08:51 -08:00
Dong Chen cf664141b6 Scheduler prefers nodes without connection failures.
Signed-off-by: Dong Chen <dongluo.chen@docker.com>
2016-01-11 11:42:58 -08:00
Mary Anthony 07031ed7ba Updating READMEs
Signed-off-by: Mary Anthony <mary@docker.com>
2016-01-06 18:58:12 -08:00
Victor Vieux ea5b2290ed fix soft affinities/constraints
Signed-off-by: Victor Vieux <vieux@docker.com>
2016-01-04 15:59:51 -08:00
Victor Vieux 2497df0862 prevent panic in filters when container has no name
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-12-11 02:11:21 -08:00
Surya Gaddipati a8d4c4b0f4 Fix busted link
Signed-off-by: Surya Gaddpati <surya.gaddipati@gmail.com>
2015-12-09 11:18:15 -06:00
Daniel Nephin e001980b5c Add filter by image name support to /images/json
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2015-10-27 11:00:37 -04:00
Li Yi 135bee98c9 Fix the problem for the orders of filters
Change-Id: I2dd652a1881cdaaff16e02f26c9f69f5df16419f
Signed-off-by: Li Yi <denverdino@gmail.com>
2015-10-19 23:07:20 +08:00
Andrea Luzzardi b2b32d979d scheduler now returns the list of ranked nodes rather than the top node.
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2015-10-09 15:32:37 -07:00
Victor Vieux 267d7e6701 Merge pull request #1261 from aluzzardi/parallel-scheduling
Parallel scheduling
2015-10-09 12:57:42 -07:00
Andrea Luzzardi c64ae5168a Parallel scheduling support for Swarm driver.
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2015-10-09 12:54:53 -07:00
Xian Chaobo c6fb10cec3 fix soft filter
Signed-off-by: Xian Chaobo <xianchaobo@huawei.com>
2015-10-08 05:16:19 -04:00
Andrea Luzzardi 394ae84a49 node: Use cluster.Containers instead of duplicating code
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2015-10-07 13:08:19 -07:00
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