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
Kubernetes Submit Queue
96fde0fe8d
Merge pull request #33834 from wojtek-t/scheduler_map_reduce_6
...
Automatic merge from submit-queue
Migrate EqualPriority in scheduler to map-reduce-like framework
Ref #24246
2016-10-04 09:23:01 -07:00
Jedrzej Nowak
d2161c21d7
Fix typos and englishify plugin/pkg
2016-10-04 17:51:14 +02:00
Wojciech Tyczynski
f8632e2203
Migrate EqualPriority to MapReduce-like framework.
2016-10-04 12:19:08 +02:00
David Ashpole
0c8a664e50
addressed comments
2016-10-03 11:42:56 -07:00
David Ashpole
fed3f37eef
Split NodeDiskPressure into NodeInodePressure and NodeDiskPressure
2016-10-03 11:42:56 -07:00
Harry Zhang
c2cf5bbaf6
Setup e2e test for no admit
2016-10-01 01:07:18 -04: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
Kubernetes Submit Queue
2d9d84dc64
Merge pull request #32888 from deads2k/client-10-fixup-remaining-listers
...
Automatic merge from submit-queue
simplify RC and SVC listers
Make the RC and SVC listers use the common list functions that more closely match client APIs, are consistent with other listers, and avoid unnecessary copies.
2016-09-21 04:13:56 -07:00
Ivan Shvedunov
f758cb418d
Fix possible panic in PodAffinityChecker
2016-09-20 15:53:13 +03: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
Kubernetes Submit Queue
4b5c74eed8
Merge pull request #31859 from resouer/fix-nits
...
Automatic merge from submit-queue
Fix minor nits in test cases
Found a group of nits when doing #30844 , fixed them in a this PR since 30844 requires a long time to review.
2016-09-18 06:27:12 -07:00
Mike Danese
a765d59932
move informer and controller to pkg/client/cache
...
Signed-off-by: Mike Danese <mikedanese@google.com >
2016-09-15 12:50:08 -07: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
Harry Zhang
608e7ce0d4
Fix minor nits in test cases
2016-09-01 05:21:17 -04:00
Wojciech Tyczynski
33c710adf0
MapReduce-like scheduler priority functions
2016-08-31 15:16:10 +02:00
Wojciech Tyczynski
e9d5be628a
Don't validate selector that is already validated
2016-08-22 09:39:32 +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
mksalawa
2749ec7555
Create PredicateFailureReason, modify scheduler predicate interface.
2016-08-09 14:01:46 +02:00
Kubernetes Submit Queue
faffbe4e18
Merge pull request #29622 from rootfs/rbd-ro
...
Automatic merge from submit-queue
allow a read-only rbd image mounted by multiple pods
allow pod to run read-only rbd volume
fix #27725
2016-08-07 17:03:39 -07:00
Huamin Chen
730db45eab
allow a read-only rbd image mounted by multiple pods
...
Signed-off-by: Huamin Chen <hchen@redhat.com >
2016-08-07 10:32:26 -04:00
Kubernetes Submit Queue
711b63e78b
Merge pull request #28104 from ping035627/ping035627-patch-4
...
Automatic merge from submit-queue
SchedulerExtender: add failedPredicateMap in Filter() returns
Fix #25797 . modify extender.Filter for adding extenders information to “failedPredicateMap” in findNodesThatFit.
When all the filtered nodes that passed "predicateFuncs" don’t pass the extenders filter, the failedPredicateMap hasn’t the extenders information, should add it, I think. So when the length of the “filteredNodes.Items” is 0, we can know the integral information. (The length of the “filteredNodes.Items” is 0, may be because the extenders filter failed.)
2016-08-06 20:50:33 -07:00
Kubernetes Submit Queue
2ff8280123
Merge pull request #29915 from wojtek-t/prepare_for_controller_ref_in_scheduler
...
Automatic merge from submit-queue
Prepare for using "ControllerRef" in scheduler
This is part of a PR that I already have to avoid a bunch of rebases in the future (controller ref probably won't happen in 1.4 release).
@davidopp
2016-08-04 02:23:31 -07:00
PingWang
4106eb70b0
modify extends.Filter
...
Signed-off-by: PingWang <wang.ping5@zte.com.cn >
Add docs
Signed-off-by: PingWang <wang.ping5@zte.com.cn >
add docs for ExtenderFilterResult.FailedNodes in types.go
Signed-off-by: PingWang <wang.ping5@zte.com.cn >
Modify the extender.Filter test.
Signed-off-by: PingWang <wang.ping5@zte.com.cn >
Update extender_test.go
Signed-off-by: PingWang <wang.ping5@zte.com.cn >
modify the comments
Signed-off-by: PingWang <wang.ping5@zte.com.cn >
gofmt -s scheduler_interface.go
Signed-off-by: PingWang <wang.ping5@zte.com.cn >
update the comments
Signed-off-by: PingWang <wang.ping5@zte.com.cn >
2016-08-04 14:03:32 +08:00
Wojciech Tyczynski
c092e15edf
SelectorSpreading using controllerRef.
2016-08-02 16:24:48 +02:00
Wojciech Tyczynski
022719b323
Enable PodAffinity by default in scheduler
2016-08-02 15:06:45 +02:00
Wojciech Tyczynski
4bc410e47a
Speedup pod affintiy predicate function
2016-08-02 08:01:04 +02:00
k8s-merge-robot
821ff657f9
Merge pull request #27199 from derekwaynecarr/disk_eviction
...
Automatic merge from submit-queue
Initial support for pod eviction based on disk
This PR adds the following:
1. node reports disk pressure condition based on configured thresholds
1. scheduler does not place pods on nodes reporting disk pressure
1. kubelet will not admit any pod when it reports disk pressure
1. kubelet ranks pods for eviction when low on disk
1. kubelet evicts greediest pod
Follow-on PRs will need to handle:
1. integrate with new image gc PR (https://github.com/kubernetes/kubernetes/pull/27199 )
1. container gc policy should always run (will not be launched from eviction, tbd who does that)
1. this means kill pod is fine for all eviction code paths since container gc will remove dead container
1. min reclaim support will just poll summary provider (derek will do follow-on)
1. need to know if imagefs is same device as rootfs from summary (derek follow-on)
/cc @vishh @kubernetes/sig-node
2016-07-28 20:18:54 -07:00
derekwaynecarr
0de1e62b30
modify fsStats to fsStatsType to avoid confusion with cadvisor types
2016-07-28 16:01:38 -04:00
derekwaynecarr
9604b47c13
Scheduler does not place pods on nodes that have disk pressure
2016-07-28 16:01:38 -04: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
Wojciech Tyczynski
dcb5a6d1a6
Reuse existing Resource struct instead of new resourceRequest
2016-07-19 12:21:09 +02:00
k8s-merge-robot
a049a97820
Merge pull request #28803 from lukaszo/ds
...
Automatic merge from submit-queue
Make Daemonset use GeneralPredicates
fixes : #21454 #22205
2016-07-18 22:12:14 -07:00
Davanum Srinivas
2b0ed014b7
Use Go canonical import paths
...
Add canonical imports only in existing doc.go files.
https://golang.org/doc/go1.4#canonicalimports
Fixes #29014
2016-07-16 13:48:21 -04:00