Abdullah Gharaibeh
53be26e402
optimize preferred pod affinity
2019-12-06 12:59:06 -05:00
draveness
652baf1860
feat: update interpod affinity priority with map reduce pattern
2019-11-07 08:52:37 +08:00
Abdullah Gharaibeh
c33f217a5d
tracking nodes with pod with affinity
2019-11-05 20:02:33 -05:00
Abdullah Gharaibeh
c6baa263a3
Update priorities to use SharedLister instead of using the snapshot directly
2019-10-29 16:22:00 -04:00
Abdullah Gharaibeh
05cb382357
Update PredicateMetadataProducer to accept a scheduler SharedLister instead of nodeinfomap
2019-10-25 19:19:23 -04:00
Abdullah Gharaibeh
8ec56aeafb
Change all scheduler's Node and Pod list/lookups to be from the snapshot rather than the cache.
2019-10-25 14:24:55 -04:00
Kubernetes Prow Robot
2905275a08
Merge pull request #84264 from ahg-g/ahg-antiaffinity
...
Optimize interpod affinity priority function
2019-10-24 00:47:20 -07:00
Abdullah Gharaibeh
b213255bc8
interpod affinity prioritize
2019-10-23 21:03:02 -04:00
Abdullah Gharaibeh
d393804237
separate listers into their own package
2019-10-22 18:11:02 -04:00
Pradeep Hiremande
678b670f92
Issue 83458:Changed the return check for GetNodeInfo
2019-10-21 21:51:31 +05:30
draveness
9769d49bb5
feat(scheduler): remove MaxPriority in the scheduler api
2019-10-02 11:24:25 +08:00
Wei Huang
cbdb4e3fdb
refactor scheduler extender related API
...
- move extender related API from pkg/scheduler/api to pkg/scheduler/apis/extender/v1
- alias extenderv1 to pkg/scheduler/apis/extender/v1
- use NodeScore and NodeScoreList in non-extender logic
2019-10-01 09:51:24 -07:00
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