Wei Huang
4c9312fa7e
Fixed a scheduler panic on PodAffinity
2019-09-19 10:52:03 -07:00
Ahmad Diaa
801cc549be
migrate scheduler api types to sized integers
2019-09-12 19:06:40 +02:00
Shintaro Murakami
11f043c784
Remove algorithm.NodeLister from scheduler interface
...
Will fixup
2019-08-13 10:30:30 +09:00
Ted Yu
5efeda3718
Return early in ApplyScoreWeights if there are no scores
2019-08-01 04:59:18 -07:00
Cong Liu
9663c33747
Use ErrorChannel to communicate errors during parallel execution in interpod_afiinity.
2019-07-29 20:44:50 -04:00
Wei Huang
492b970d73
lazy/dynamic initilization on the int64 pointers of inter-podaffinity priority
2019-04-24 08:13:24 -07:00
Wei Huang
854a266e94
Revert "Revert "scheduler: performance improvement on PodAffinity""
...
This reverts commit 6d89279115
.
2019-04-24 08:13:24 -07:00
Wei Huang
6d89279115
Revert "scheduler: performance improvement on PodAffinity"
...
This reverts commit 28730919a6
.
2019-04-13 09:09:22 -07:00
Wei Huang
28730919a6
scheduler: performance improvement on PodAffinity
...
- replace unnecessary Lock/Unlock with atomic AddInt64
2019-04-07 14:34:22 -07:00
Bobby (Babak) Salamat
a1b8777d42
Revert "Merge pull request #73934 from bsalamat/num_cpu"
...
This reverts commit cfe4ca8012
, reversing
changes made to f16035600a
.
2019-03-04 13:14:25 -08:00
Bobby (Babak) Salamat
d0ebeefbc4
Use runtime.NumCPU() instead of a fixed value for parallel scheduler threads.
2019-02-11 13:37:30 -08:00
sonasingh46
1fe7ce21bc
refactor(scheduler): Move priority types to priorities package
...
This moves the priority types from the algorithm package
to priorities package.
Idea is to move the type to the packages where it is
implemented. This will ease the future refactor process.
2019-01-09 02:39:11 +05:30
yuexiao-wang
f3353c358d
[scheduler cleanup phase 2]: Rename to
...
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
2018-12-11 11:21:12 +08:00
Davanum Srinivas
954996e231
Move from glog to klog
...
- Move from the old github.com/golang/glog to k8s.io/klog
- klog as explicit InitFlags() so we add them as necessary
- we update the other repositories that we vendor that made a similar
change from glog to klog
* github.com/kubernetes/repo-infra
* k8s.io/gengo/
* k8s.io/kube-openapi/
* github.com/google/cadvisor
- Entirely remove all references to glog
- Fix some tests by explicit InitFlags in their init() methods
Change-Id: I92db545ff36fcec83afe98f550c9e630098b3135
2018-11-10 07:50:31 -05:00
Babak "Bobby" Salamat
a2c0958428
Revert "Hold mutex lock shorter when processing inter-pod affinity/anti-affin…"
2018-11-08 18:26:26 -08:00
Bobby (Babak) Salamat
aa8b5b431b
Hold mutex lock shorter when processing inter-pod affinity/anti-affinity priority function
2018-11-02 20:58:07 -07:00
Guoliang Wang
c2622dd9d8
Replace Parallelize with function ParallelizeUntil and formally deprecate the Parallelize
2018-10-05 17:56:56 +08:00
Guoliang Wang
761cf41427
Move pkg/scheduler/schedulercache -> pkg/scheduler/cache
2018-05-31 22:55:34 +08:00
tossmilestone
3fdacfead5
Fix golint errors in pkg/scheduler
based on golint check
2018-02-08 15:22:47 +08:00
Jonathan Basseri
30b89d830b
Move scheduler code out of plugin directory.
...
This moves plugin/pkg/scheduler to pkg/scheduler and
plugin/cmd/kube-scheduler to cmd/kube-scheduler.
Bulk of the work was done with gomvpkg, except for kube-scheduler main
package.
2018-01-05 15:05:01 -08:00