jayunit100
182e89b84e
Part 1 of pr #33763 : cleanup CheckServiceAffinity in preparation for
...
predicate injection support, Update metadata struct
2016-10-13 10:38:45 -04:00
David Oppenheimer
cd4e08e7ec
Revert "Add kubelet awareness to taint tolerant match caculator."
2016-10-07 12:10:55 -07:00
Kubernetes Submit Queue
21188cadeb
Merge pull request #26501 from resouer/scheduler
...
Automatic merge from submit-queue
Add kubelet awareness to taint tolerant match caculator.
Add kubelet awareness to taint tolerant match caculator.
Ref: #25320
This is required by `TaintEffectNoScheduleNoAdmit` & `TaintEffectNoScheduleNoAdmitNoExecute `, so that node will know if it should expect the taint&tolerant
2016-10-07 12:05:35 -07:00
Kubernetes Submit Queue
0f40c1a6d0
Merge pull request #34149 from timothysc/prio-hotloop
...
Automatic merge from submit-queue
Turn down hootloop logs in priorities.
Excessive spam is output once we near cluster capacity, sometimes a panic is triggered but that data is clipped in the logs see #33935 for more details.
2016-10-06 06:55:00 -07:00
Timothy St. Clair
f2b8b08651
Turn down hootloop logs in priorities. Hit once cluster is near capacity
2016-10-05 16:58:23 -05:00
deads2k
c30b2efc46
update replicaset lister
2016-10-05 15:20:27 -04:00
Wojciech Tyczynski
f8632e2203
Migrate EqualPriority to MapReduce-like framework.
2016-10-04 12:19:08 +02:00
Wojciech Tyczynski
daac9a1869
Remove unnecessary podLister from SelectorSpreading
2016-09-30 15:15:14 +02:00
Wojciech Tyczynski
6598c181f7
Support metadata producer with underlying data.
2016-09-28 09:11:18 +02:00
Wojciech Tyczynski
4ccb27202c
Migrate priority functions with non-trivial reduce function.
2016-09-27 11:27:38 +02:00
Jordan Liggitt
1812fe70a3
Log test error
2016-09-26 11:21:38 -04:00
deads2k
500959b70c
fix RC lister
2016-09-23 08:12:03 -04:00
Kubernetes Submit Queue
b2aed32578
Merge pull request #33269 from deads2k/client-15-svc-lister
...
Automatic merge from submit-queue
simplify svc lister
trying to track down what killed the e2e tests.
2016-09-23 03:10:57 -07:00
Daniel Smith
db3e549bd1
more usages of go2idl
2016-09-22 13:42:46 -07:00
Harry Zhang
c735921b6f
Add no admit on node side
...
Update generated code
Refactored predicates & restore helper
2016-09-22 10:12:44 -04:00
deads2k
483af28944
fix up service lister
2016-09-22 09:12:37 -04:00
Antoine Pelisse
938872582e
Revert "simplify RC and SVC listers"
2016-09-21 15:49:38 -07:00
deads2k
16fbb47189
fix up service lister
2016-09-20 08:24:33 -04:00
deads2k
185a7adf84
fix RC lister
2016-09-20 08:24:32 -04:00
Wojciech Tyczynski
ea943d825e
Migrate a bunch of priority functions to map-reduce framework
2016-09-13 13:20:29 +02:00
Wojciech Tyczynski
c8c938c3e0
AvoidPriority using ControllerRef
2016-09-12 08:45:02 +02:00
Wojciech Tyczynski
33c710adf0
MapReduce-like scheduler priority functions
2016-08-31 15:16:10 +02:00
Marcin Wielgus
de2fea95ca
ClusterAutoscaler-friendly scheduler priority function that promotes well-used nodes.
2016-08-18 08:34:10 +02:00
Jess Frazelle
7e9d82129e
fix go vet errors
...
Signed-off-by: Jess Frazelle <jessfraz@google.com>
fix composites
Signed-off-by: Jess Frazelle <me@jessfraz.com>
2016-08-10 16:45:41 -07:00
Wojciech Tyczynski
c092e15edf
SelectorSpreading using controllerRef.
2016-08-02 16:24:48 +02:00
Wojciech Tyczynski
d3b9d583a2
Optimize PodAffinity priority function.
2016-07-28 16:57:28 +02:00
Wojciech Tyczynski
898a6444e3
Return pointer for Affinity in api helper
2016-07-28 16:57:28 +02:00
Wojciech Tyczynski
fad876b6f9
PodAffinity code refinements
2016-07-22 08:49:28 +02:00
Wojciech Tyczynski
cab7db3a64
Use []*api.Node instead of NodeLister in priority functions.
2016-07-21 08:21:07 +02:00
k8s-merge-robot
4374b090c3
Merge pull request #28958 from wojtek-t/optimize_priorities_5
...
Automatic merge from submit-queue
Few more optimizations of priority functions in scheduler
Ref #28590
@davidopp
2016-07-15 09:32:04 -07:00
k8s-merge-robot
8b2d994153
Merge pull request #28952 from wojtek-t/optimize_pod_affinity
...
Automatic merge from submit-queue
First step of optimizing PodAffinity priority function
Ref #26144
This is obviously only a first step - I will continue working on this code. However, this is changing the general scheme of computations to what is described in: https://github.com/kubernetes/kubernetes/issues/26144#issuecomment-232612384
2016-07-15 08:59:17 -07:00
Wojciech Tyczynski
a538045d7b
Cleanup and prepare for optimizing PodAffinity priority function.
2016-07-15 10:06:36 +02:00
Wojciech Tyczynski
a23f7bd556
Few more optimizations of priority functions in scheduler
2016-07-14 15:32:56 +02:00
k8s-merge-robot
74c5b4e4be
Merge pull request #28459 from ping035627/ping035627-patch-0704
...
Automatic merge from submit-queue
Optimise the process of the CalculateSpreadPriority in selector_spreading.go
It had better inspect if the nodeLister is normal first in the CalculateSpreadPriority in selector_spreading.go. If the nodeLister.List return error, the function return directly, not need deal the serviceLister and controllerLister and replicaSetLister.
2016-07-14 04:54:32 -07:00
k8s-merge-robot
06939c57aa
Merge pull request #20699 from jiangyaoguo/add-AvoidPreviousNode
...
Automatic merge from submit-queue
Implement alpha version of PreferAvoidPods
This is part of #18853
<!-- Reviewable:start -->
---
This change is [<img src="http://reviewable.k8s.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](http://reviewable.k8s.io/reviews/kubernetes/kubernetes/20699 )
<!-- Reviewable:end -->
2016-07-14 03:30:25 -07:00
PingWang
e4ab32cde2
Modify CalculateAntiAffinityPriority function
...
Signed-off-by: PingWang <wang.ping5@zte.com.cn>
2016-07-14 09:10:50 +08:00
PingWang
437e133b34
Optimise the process of the CalculateSpreadPriority in selector_spreading.go
...
Signed-off-by: PingWang <wang.ping5@zte.com.cn>
2016-07-14 09:09:05 +08:00
Wojciech Tyczynski
c929d95884
Cache Allocatable Resources
2016-07-13 12:57:18 +02:00
Wojciech Tyczynski
58c201834c
Unify resources
2016-07-13 12:57:07 +02:00
jiangyaoguo
4e91166bc6
Use PreferAvoidPods annotation to avoid pods being scheduled to specific node.
...
1. define PreferAvoidPods annotation
2. add PreferAvoidPodsPriority
3. validate AvoidPods in node annotations
2016-07-13 17:07:46 +08:00
Wojciech Tyczynski
ae6b66207a
Optimize selector spreading
2016-07-13 11:02:26 +02:00
Wojciech Tyczynski
b9d13c5dbd
Avoid computing pod resources multiple times
2016-07-13 11:01:53 +02:00
k8s-merge-robot
5894dc4615
Merge pull request #28829 from gmarek/hooks
...
Automatic merge from submit-queue
Add hooks for cluster health detection
Separate a function that decides if zone is healthy. First real commit for preventing massive pod eviction.
Ref. #28832
cc @davidopp
2016-07-12 08:12:04 -07:00
gmarek
fd600ab65c
Add hooks for cluster health detection
2016-07-12 15:10:58 +02:00
Wojciech Tyczynski
d14fe0f269
Change storeToNodeConditionLister to return []*api.Node instead of api.NodeList for performance
2016-07-11 21:02:33 +02:00
Wojciech Tyczynski
d02e8d2885
Avoid unnecessary conversions
2016-07-11 15:41:27 +02:00
Wojciech Tyczynski
dcb2ca54ad
Avoid unnecessary copies
2016-07-11 15:41:27 +02:00
Wojciech Tyczynski
e8e8e2d086
Remove unneeded factories
2016-07-11 15:41:26 +02:00
Wojciech Tyczynski
0e6dc8a932
Avoid unnecessary copies
2016-07-08 13:54:06 +02:00
Wojciech Tyczynski
b1d53895a4
Check only predicate functions in test
2016-07-08 13:01:41 +02:00