Brendan Burns
9ed8486fd7
Add a generic scheduler.
2014-09-24 15:38:52 -07:00
Brendan Burns
25b4939ffa
Initial cut of a spreading scheduler.
2014-09-24 15:38:52 -07:00
Brendan Burns
d900fbf6fc
Generalize the fit scheduler.
...
Extract the "fit predicate" from random fit to make it extensible/plugable
2014-09-24 13:56:40 -07:00
Vojtech Vitek (V-Teq)
59f58cd043
Unify Godoc formatting, fix various typos
...
Signed-off-by: Vojtech Vitek (V-Teq) <vvitek@redhat.com>
2014-09-02 13:41:03 +02:00
Clayton Coleman
1c68247954
Merge pull request #909 from lavalamp/scheduler3
...
Scheduler plugin v1
2014-08-21 19:04:51 -04:00
Tim Hockin
0f97a73c1b
Rename a bunch of "Make" functions to "New"
...
Also rename some to other names that make better reading. There are still a
bunch of "make" functions but they do things like assemble a string from parts
or build an array of things. It seemed that "make" there seemed fine. "New"
is for "constructors".
2014-08-20 21:27:19 -07:00
Daniel Smith
dddad888b5
Begin scheduler plugin
2014-08-20 15:32:49 -07:00
Dawn Chen
5a2365b323
Fix #926
...
Make HostPort a real option without being set to ContainerPort if absent.
2014-08-19 15:44:50 -07:00
Yuki Yugui Sonoda
41febcee5e
Merge branch 'master' into fix/golint
...
Conflicts:
pkg/master/master.go
pkg/master/pod_cache.go
pkg/proxy/config/file.go
pkg/proxy/proxier.go
pkg/proxy/roundrobbin.go
pkg/scheduler/randomfit.go
pkg/scheduler/randomfit_test.go
2014-07-15 20:57:47 +09:00
Kouhei Ueno
c875a6d3ba
rename FirstFitScheduler to RandomFitScheduler
2014-07-12 23:23:53 +09:00
Kouhei Ueno
070b4ffe9f
make firstfit.go threadsafe and fix its comments
2014-07-12 23:23:53 +09:00
Kouhei Ueno
2a03a4d502
make random.go threadsafe
2014-07-12 23:23:52 +09:00
Kouhei Ueno
bf137c38e7
remove comments on Make.+()
2014-07-12 13:16:16 +09:00
Kouhei Ueno
e268e4bb7a
Add comments to pkg/scheduler/ to pass golint
2014-07-11 22:01:12 +09:00
Burcu Dogan
6a2703627b
scheduler: use New rather than Make for construction helpers.
2014-07-10 22:56:14 -07:00
Daniel Smith
0760e9bc2c
Fix up usage and tests, split into multiple files.
...
Doing this in multiple commits in an attempt to preserve the file movement history.
2014-06-29 12:35:43 -07:00
Daniel Smith
21e63cf75a
Move scheduler to own package.
2014-06-29 12:30:49 -07:00