Victor Vieux
|
e9f487bcaf
|
update README.mds
Signed-off-by: Victor Vieux <vieux@docker.com>
|
2015-01-21 22:47:31 +00:00 |
Andrea Luzzardi
|
10074faa75
|
Merge pull request #261 from vieux/chanwit-constraints-expr
Proposal: constraint & affinity filter expression enhancement
|
2015-01-20 16:38:24 -08:00 |
Victor Vieux
|
e546965cf3
|
refactor and remove <= and >=
Signed-off-by: Victor Vieux <vieux@docker.com>
|
2015-01-21 00:24:51 +00:00 |
Jessica B. Hamrick
|
634dd00497
|
Remove unnecessary arguments from Equal and NotEqual
Signed-off-by: Jessica B. Hamrick <jhamrick@berkeley.edu>
|
2015-01-20 15:08:01 -08:00 |
Jessica B. Hamrick
|
63109bb0f2
|
Remove total variable
Signed-off-by: Jessica B. Hamrick <jhamrick@berkeley.edu>
|
2015-01-20 11:42:02 -08:00 |
Chanwit Kaewkasi
|
bf852ec243
|
update expression syntax in doc
Signed-off-by: Chanwit Kaewkasi <chanwit@gmail.com>
|
2015-01-20 15:45:38 +07:00 |
Chanwit Kaewkasi
|
3c147df81a
|
remove unsupported operators
Signed-off-by: Chanwit Kaewkasi <chanwit@gmail.com>
|
2015-01-20 15:45:36 +07:00 |
Chanwit Kaewkasi
|
e4db376a6d
|
support affinity and validate key and value properly
Signed-off-by: Chanwit Kaewkasi <chanwit@gmail.com>
|
2015-01-20 15:44:55 +07:00 |
Chanwit Kaewkasi
|
45b7f26394
|
refactor matching into filter/utils.go
Signed-off-by: Chanwit Kaewkasi <chanwit@gmail.com>
|
2015-01-20 10:42:23 +07:00 |
Jessica B. Hamrick
|
11ebdb050c
|
Fix the scheduling bug, fixes #253
Signed-off-by: Jessica B. Hamrick <jhamrick@berkeley.edu>
|
2015-01-19 19:19:35 -08:00 |
Jessica B. Hamrick
|
f942cb2e69
|
Add test that fails to execute the proper strategy
Signed-off-by: Jessica B. Hamrick <jhamrick@berkeley.edu>
|
2015-01-19 19:19:32 -08:00 |
Chanwit Kaewkasi
|
d77c9596b1
|
add double equals comparison
Signed-off-by: Chanwit Kaewkasi <chanwit@gmail.com>
|
2015-01-20 10:04:19 +07:00 |
Chanwit Kaewkasi
|
7ee722b2d7
|
support relative comparisons in constraints
Signed-off-by: Chanwit Kaewkasi <chanwit@gmail.com>
|
2015-01-20 10:03:34 +07:00 |
Chanwit Kaewkasi
|
d335f59757
|
implement alternative negation syntax
Signed-off-by: Chanwit Kaewkasi <chanwit@gmail.com>
|
2015-01-20 10:02:13 +07:00 |
Chanwit Kaewkasi
|
25231f3bb3
|
fix test failed per rebase #228
Signed-off-by: Chanwit Kaewkasi <chanwit@gmail.com>
|
2015-01-20 10:02:12 +07:00 |
Chanwit Kaewkasi
|
5b973d0057
|
improve to allow optional matching with case-insensitivity
Signed-off-by: Chanwit Kaewkasi <chanwit@gmail.com>
|
2015-01-20 10:02:10 +07:00 |
Chanwit Kaewkasi
|
b4a7abdc83
|
add a testcase for escape regexp
Signed-off-by: Chanwit Kaewkasi <chanwit@gmail.com>
|
2015-01-20 10:02:09 +07:00 |
Chanwit Kaewkasi
|
790b1ea45d
|
cleanup and add comments
Signed-off-by: Chanwit Kaewkasi <chanwit@gmail.com>
|
2015-01-20 10:02:07 +07:00 |
Chanwit Kaewkasi
|
564cca1a22
|
explain expression syntax in README
Signed-off-by: Chanwit Kaewkasi <chanwit@gmail.com>
|
2015-01-20 10:02:05 +07:00 |
Chanwit Kaewkasi
|
54c7c12d05
|
improve regexp matching
Signed-off-by: Chanwit Kaewkasi <chanwit@gmail.com>
|
2015-01-20 10:00:48 +07:00 |
Chanwit Kaewkasi
|
37e10e9656
|
support not in constraints expressions
Signed-off-by: Chanwit Kaewkasi <chanwit@gmail.com>
|
2015-01-20 10:00:12 +07: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 |
Victor Vieux
|
110c3b6c39
|
Merge pull request #236 from aluzzardi/state-store
Store requested state persistently.
|
2015-01-19 13:43:11 -08:00 |
Gp De Ciantis
|
e255413b0a
|
Fixed spelling error 'Healty' to 'Healthy'
Signed-off-by: Gp De Ciantis <gdeciantis@gmail.com>
|
2015-01-19 20:50:54 +00:00 |
Victor Vieux
|
98914a122c
|
tweak doc
Signed-off-by: Victor Vieux <vieux@docker.com>
|
2015-01-16 00:10:36 +00:00 |
Victor Vieux
|
5a85211449
|
add images test
Signed-off-by: Victor Vieux <vieux@docker.com>
|
2015-01-16 00:10:36 +00:00 |
Victor Vieux
|
5564894744
|
add images cache
Signed-off-by: Victor Vieux <vieux@docker.com>
|
2015-01-16 00:10:36 +00:00 |
Victor Vieux
|
d54c5f8046
|
add doc
Signed-off-by: Victor Vieux <vieux@docker.com>
|
2015-01-16 00:10:36 +00: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
|
7260a66886
|
use HealthFilter
Signed-off-by: Victor Vieux <vieux@docker.com>
|
2015-01-15 19:32:48 +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
|
45ea947e0e
|
OverCommit -> Usable
Signed-off-by: Victor Vieux <vieux@docker.com>
|
2015-01-14 00:40:55 +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 |
Keegan Lowenstein
|
89e482b633
|
Fix typos and whitespace
Signed-off-by: Keegan Lowenstein <keegan.lowenstein@gmail.com>
|
2015-01-13 14:13:01 -08:00 |
Andrea Luzzardi
|
94cf009e46
|
Container: Make Node public instead of exposing it through Node().
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
|
2015-01-12 08:14:11 -08:00 |
Andrea Luzzardi
|
6a34054e58
|
Typo: Initialise -> Initialize.
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
|
2015-01-05 07:32:57 -08:00 |
Chanwit Kaewkasi
|
869c57ccb1
|
need int64 cast to prevent overflow on the 32-bit architecture
Signed-off-by: Chanwit Kaewkasi <chanwit@gmail.com>
|
2014-12-30 15:40:54 +07:00 |
Victor Vieux
|
e587338198
|
update README.md
Signed-off-by: Victor Vieux <vieux@docker.com>
|
2014-12-19 01:04:42 +00:00 |
Victor Vieux
|
037f4c379b
|
simplify code
Signed-off-by: Victor Vieux <vieux@docker.com>
|
2014-12-19 00:59:57 +00:00 |
Victor Vieux
|
2f6531d376
|
update docs
Signed-off-by: Victor Vieux <vieux@docker.com>
|
2014-12-19 00:47:51 +00:00 |
Victor Vieux
|
e4dfa66b62
|
add README.md
Signed-off-by: Victor Vieux <vieux@docker.com>
|
2014-12-19 00:44:13 +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 |
Victor Vieux
|
ba1688ccef
|
add matching to constraints
Signed-off-by: Victor Vieux <vieux@docker.com>
|
2014-12-18 01:56:13 +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
|
9196927ce2
|
nitpick
Signed-off-by: Victor Vieux <vieux@docker.com>
|
2014-12-13 00:56:37 +00:00 |
Victor Vieux
|
cd243cfa34
|
simplify
Signed-off-by: Victor Vieux <vieux@docker.com>
|
2014-12-13 00:09:38 +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 |
Victor Vieux
|
ebe77641c7
|
prevent panic in random strategy if no node
Signed-off-by: Victor Vieux <vieux@docker.com>
|
2014-12-09 00:19:24 +00:00 |