Jan Safranek
0a96a75cea
Remove PVCLister and use informer directly.
2017-11-23 10:04:42 +01:00
Jan Safranek
19caa9c50d
Skip pods that refer to PVCs that are being deleted
...
Scheduler should ignore pods that refer to PVCs that either do not exist or
are being deleted.
2017-11-23 10:01:23 +01:00
Bobby (Babak) Salamat
efc151f46b
Autogenerated files
2017-10-20 23:22:03 -07:00
Bobby (Babak) Salamat
9a5d058e5e
Add PodDisruptionBudget to scheduler cache.
2017-10-20 23:22:02 -07:00
Kubernetes Submit Queue
5152f342eb
Merge pull request #54008 from yguo0905/sched-fix
...
Automatic merge from submit-queue (batch tested with PRs 53978, 54008, 53037). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md ">here</a>.
Change scheduler to skip pod with updates only on pod annotations
Fixes #52914 , by checking whether the pod is already assumed before scheduling it.
**Release note**:
```
Scheduler cache ignores updates to an assumed pod if updates are limited to pod annotations.
```
/sig scheduling
/assign @bsalamat
/cc @vishh
2017-10-17 04:53:40 -07:00
Yang Guo
8b6bf4e235
Change scheduler to skip pod with only annotations updates
2017-10-16 13:30:25 -07:00
Jeff Grafton
aee5f457db
update BUILD files
2017-10-15 18:18:13 -07:00
Bobby (Babak) Salamat
264ca7d158
Add support to recompute partial predicate metadata upon adding/removing pods
2017-08-28 00:12:46 -07:00
Jeff Grafton
a7f49c906d
Use buildozer to delete licenses() rules except under third_party/
2017-08-11 09:32:39 -07:00
Jeff Grafton
33276f06be
Use buildozer to remove deprecated automanaged tags
2017-08-11 09:31:50 -07:00
Julia Evans
d584bf4d50
Fix incorrect call to 'bind' in scheduler
2017-08-03 13:55:00 -07:00
Chao Xu
60604f8818
run hack/update-all
2017-06-22 11:31:03 -07:00
Chao Xu
cde4772928
run ./root-rewrite-all-other-apis.sh, then run make all, pkg/... compiles
2017-06-22 11:30:52 -07:00
Chao Xu
f4989a45a5
run root-rewrite-v1-..., compile
2017-06-22 10:25:57 -07:00
Mike Danese
a05c3c0efd
autogenerated
2017-04-14 10:40:57 -07:00
Bobby Salamat
ef686716ba
Add support for statefulset spreading to the scheduler
2017-02-27 18:04:08 -08:00
Haoran Wang
4540bb9e77
move the lister.go to testing folder
2017-02-25 23:36:27 +08:00
deads2k
6a4d5cd7cc
start the apimachinery repo
2017-01-11 09:09:48 -05:00
Jeff Grafton
20d221f75c
Enable auto-generating sources rules
2017-01-05 14:14:13 -08:00
Dmitry Shulyak
530ee716e3
Count ttl for assumed pod when binding is finished
...
In such cases when api server is overloaded and returns a lot of
429 (too many requests) errors - binding may take a lot of time
to succeed due to retry policy implemented in rest client.
In such events cache ttl for assumed pods wasn't big enough.
In order to minimize probability of such errors ttl for assumed pods
will be counted from the time when binding for particular pod is finished
(either with error or success)
Change-Id: Ib0122f8a76dc57c82f2c7c52497aad1bdd8be411
2017-01-03 12:45:11 +02:00
Mike Danese
c87de85347
autoupdate BUILD files
2016-12-12 13:30:07 -08:00
Chao Xu
bcc783c594
run hack/update-all.sh
2016-11-23 15:53:09 -08:00
Chao Xu
f782aba56e
plugin/scheduler
2016-11-23 15:53:09 -08:00
Mike Danese
3b6a067afc
autogenerated
2016-10-21 17:32:32 -07:00
m1093782566
91f6b7bc2b
remove ineffective copy
2016-08-05 20:43:40 +08:00
Wojciech Tyczynski
d3b9d583a2
Optimize PodAffinity priority function.
2016-07-28 16:57:28 +02:00
Wojciech Tyczynski
9745878778
Add ForgetPod to SchedulerCache
2016-07-13 16:30:05 +02:00
Wojciech Tyczynski
49934c05c0
Avoid creating NodeInfoMap from scratch on every scheduling.
2016-07-08 18:09:49 +02:00
David McMahon
ef0c9f0c5b
Remove "All rights reserved" from all the headers.
2016-06-29 17:47:36 -07:00
Wojciech Tyczynski
1835c8528d
Store node information in NodeInfo
2016-04-25 10:08:05 +02:00
Hongchao Deng
1eb331e009
schedulercache: remove bind() from AssumePod
2016-04-16 20:30:28 +08:00
Hongchao Deng
ae88f08af0
Scheduler: replace system modeler with scheduler cache
2016-03-14 09:03:41 -07:00
Marek Grabowski
eb2f5153b3
Revert "Scheduler: replace system modeler with scheduler cache and do O(1) lookup for resource req"
2016-03-02 15:38:56 +01:00
Hongchao Deng
f29a1d6c5c
scheduler: Scheduler: replace system modeler with scheduler cache
...
We're using the scheduler cache to do O(1) lookup for resource request
2016-02-26 09:22:29 -08:00