Andrew Kim
c919139245
update import of generic featuregate code from k8s.io/apiserver/pkg/util/feature -> k8s.io/component-base/featuregate
2019-05-08 10:01: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
Kubernetes Prow Robot
71d064040f
Merge pull request #76883 from hex108/cancel
...
Cancel processing node if error occurs when getting affinity and anti…
2019-04-24 02:44:17 -07:00
Jun Gong
5ad4cd6b72
Cancel processing node if error occurs when getting affinity and antiaffinity
2019-04-22 11:35:23 +08:00
caiweidong
4486021837
Avoid useless caller
2019-04-19 00:18:54 +08:00
Kubernetes Prow Robot
a670e85ad8
Merge pull request #76536 from cwdsuzhou/remove_unused_lock
...
Remove unused lock in scheduler
2019-04-16 17:48:19 -07:00
shinytang6
6d11926709
clean up comments
2019-04-14 20:03:39 +08:00
Wei Huang
6d89279115
Revert "scheduler: performance improvement on PodAffinity"
...
This reverts commit 28730919a6
.
2019-04-13 09:09:22 -07:00
caiweidong
4038a5e3db
Remove unused lock in scheduler
2019-04-13 13:27:16 +08:00
Kubernetes Prow Robot
8a9ed4c91a
Merge pull request #76243 from Huang-Wei/perf-podaffinity
...
scheduler: performance improvement on PodAffinity
2019-04-09 18:36:12 -07:00
Ted Yu
02e0f9c5fd
Produce map according to the shorter array in haveOverlap
2019-04-08 13:22:30 -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
PingWang
b43a9d6ad1
Delete unused struct
...
Signed-off-by: PingWang <wang.ping5@zte.com.cn>
2019-04-03 17:43:42 +08:00
Kubernetes Prow Robot
76b1d83517
Merge pull request #73863 from gnufied/fix-attach-limit-delayed
...
Fix code to handle delayed binding volumes
2019-04-01 13:18:35 -07:00
Kubernetes Prow Robot
231e372d0c
Merge pull request #75620 from misterikkit/logcleanup
...
Scheduler: Logging cleanup in predicates.go.
2019-03-25 00:03:04 -07:00
Jonathan Basseri
1b447e8d19
Scheduler: Logging cleanup in predicates.go.
...
This is some light cleanup of logs in predicates.go. In particular, some
log lines have details clarified that will make debugging easier.
I have not touched any VLOG messages, since those usually have plenty of
detail.
2019-03-22 17:33:18 -07:00
Kubernetes Prow Robot
11ee8244ff
Merge pull request #75150 from qingsenLi/k8s190308-fix-faild
...
fix typo 'Faild'
2019-03-20 00:54:35 -07:00
Hemant Kumar
a3a93c560b
Add more volume types and unbound pvcs etc
2019-03-14 17:07:36 -04:00
qingsenLi
1fdd67f330
fix typo 'faild'
2019-03-08 16:56:16 +08:00
Kubernetes Prow Robot
d5e4973a32
Merge pull request #74544 from gnufied/deprecate-cloudprovider-predicates
...
Deprecate cloudprovider specific volume limit predicates
2019-03-07 21:20:11 -08: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
Kubernetes Prow Robot
cfe4ca8012
Merge pull request #73934 from bsalamat/num_cpu
...
Use runtime.NumCPU() instead of a fixed value for parallel scheduler threads
2019-03-01 23:04:17 -08:00
m3ngyang
5fbdde4b4a
fix some comment typos
2019-02-26 16:00:20 +08:00
Hemant Kumar
8c537b4693
Deprecate cloudprovider specific volume limit predicates
...
Fixes https://github.com/kubernetes/kubernetes/issues/72920
2019-02-25 16:24:29 -05: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
Andrew Kim
ca6a051b00
remove cloud provider dependencies to pkg/volume
...
Co-authored-by: Weibin Lin <linweibin1@huawei.com>
2019-02-09 01:16:55 -05:00
Hemant Kumar
b3cc469997
Fix code to handle delayed binding volumes
2019-02-08 17:27:50 -05:00
Kubernetes Prow Robot
54a578d3a1
Merge pull request #72012 from yeya24/patch-1
...
fix typos lable -> label
2019-02-08 10:36:05 -08:00
Davanum Srinivas
b975573385
move pkg/kubelet/apis/well_known_labels.go to staging/src/k8s.io/api/core/v1/
...
Co-Authored-By: Weibin Lin <linweibin1@huawei.com>
Change-Id: I163b2f2833e6b8767f72e2c815dcacd0f4e504ea
2019-02-05 13:39:07 -05:00
Bobby (Babak) Salamat
eb59bc605c
Short circuit volume checker if the pod is not requesting any volumes
2019-02-01 22:02:30 -08:00
yanghaichao12
31a139966c
Fix typos
2019-01-26 09:40:09 -05:00
Kubernetes Prow Robot
d6b7409103
Merge pull request #72980 from gnufied/cinder-pod-volumes
...
Add Cinder Max Volume Limit
2019-01-16 13:32:32 -08:00
Hemant Kumar
727b3097f9
Do not make Cinder Max volume predicate a default
2019-01-16 15:17:05 -05:00
Mike McRill
a88d1d3dcc
Add Cinder Max Volume Limit
...
Also add place holder support for reporting limits from node.
2019-01-16 13:46:28 -05:00
Kubernetes Prow Robot
14b2014c4a
Merge pull request #72079 from sonasingh46/cleanup
...
refactor(scheduler): Move priority types to priorities package
2019-01-15 09:24:15 -08:00
Ramya Krishnan
339ce0e804
Fix SelectorSpreadPriority scheduler to match all selectors.
2019-01-11 17:15:55 -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
Jordan Liggitt
73dcfe12da
Stop checking VolumeScheduling feature gate
2018-12-27 17:45:45 -05:00
Bhavin Gandhi
ca46c1da15
[scheduler] Move predicate & priority registration to separate file
...
- Maintain list of default predicates and priorities in defaults.go
and move the registration to separate files
Signed-off-by: Bhavin Gandhi <bhavin7392@gmail.com>
2018-12-22 19:30:34 +05:30
Kubernetes Prow Robot
37dc6789d7
Merge pull request #71978 from denkensk/move-predicate-types
...
Move predicate types from algorithm to predicates
2018-12-21 19:05:29 -08:00
Kubernetes Prow Robot
aaa4faba39
Merge pull request #72081 from denkensk/make-scheduleinternalcache-podFilter-public
...
Make PodFilter as part of public API
2018-12-21 12:37:39 -08:00
wangqingcan
000aa06912
Make scheduleinternalcache.PodFilter as public
2018-12-21 23:09:56 +08:00
wangqingcan
b82a1d4600
Move predicate types from algorithm to predicates
2018-12-21 22:26:47 +08:00
Wei Huang
8f87e71e0c
cleanup logic related with OutOfDisk
...
- cleanup OOD logic in scheduling and node controller
- update comments and testcases
2018-12-18 11:28:02 -08:00
Jonathan Basseri
8e25361320
Move ScheduleAlgorithm
to the core package.
...
This moves the type `ScheduleAlgorithm` from `pkg/scheduler/algorithm`
to `pkg/scheduler/core`. The reason for this move is to fix our import
dependency graph and allow predicate & priority types to be moved into
their appropriate packages.
The new location makes sense because `core` is the only package that
exports an implementation of this type.
2018-12-13 15:08:38 -08:00
yeya24
16acbc84ce
fix typos lable -> label
2018-12-13 17:52:13 +08:00
yuexiao-wang
7b6f60f085
modify BUILD
...
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
2018-12-11 11:22:06 +08:00
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
Jordan Liggitt
2498ca7606
drop VerifyFeatureGatesUnchanged
2018-11-21 11:51:33 -05:00