Joe Finney
b4c87a94a8
Remove two zany unit tests.
2016-12-16 14:49:05 -08:00
Robert Rati
91931c138e
[scheduling] Moved node affinity from annotations to api fields. #35518
2016-12-16 11:42:43 -05:00
Mike Danese
c87de85347
autoupdate BUILD files
2016-12-12 13:30:07 -08:00
Clayton Coleman
c52d510a24
refactor: generated
2016-12-10 18:05:53 -05:00
Clayton Coleman
3c72ee2189
Change references to OwnerReference
2016-12-10 18:05:36 -05:00
Kubernetes Submit Queue
f2f107124b
Merge pull request #37691 from dshulyak/term_selector
...
Automatic merge from submit-queue (batch tested with PRs 38377, 36365, 36648, 37691, 38339)
Do not create selector and namespaces in a loop where possible
With 1000 nodes and 5000 pods (5 pods per node) with anti-affinity a lot of CPU wasted on creating LabelSelector and sets.String (map).
With this change we are able to deploy that number of pods in ~25 minutes. Without - it takes 30 minutes to deploy 500 pods with anti-affinity configured.
2016-12-08 10:52:01 -08:00
Dmitry Shulyak
55b413f504
Do not create selector and namespaces in a loop where possible
...
Change-Id: Ib8e62df92a3ea6b8ee6b90cb0b73af71332481d7
2016-12-08 13:04:38 +02:00
Kubernetes Submit Queue
f299a0010a
Merge pull request #37558 from jayunit100/scheduler_log_spam
...
Automatic merge from submit-queue (batch tested with PRs 38076, 38137, 36882, 37634, 37558)
[scheduler] Use V(10) for anything which may be O(N*P) logging
Fixes #37014
This PR makes sure that logging statements which are capable of being called on a perNode / perPod basis (i.e. non essential ones that will just clog up logs at large scale) are at V(10) level.
I dreamt of a levenstein filter that built a weak map of word frequencies and alerted once log throughput increased w/o varying information content.... but then I woke up and realized this is probably all we really need for now :)
2016-12-05 19:25:57 -08:00
Clayton Coleman
3454a8d52c
refactor: update bazel, codec, and gofmt
2016-12-03 19:10:53 -05:00
Clayton Coleman
5df8cc39c9
refactor: generated
2016-12-03 19:10:46 -05:00
jayunit100
7c94c51860
[scheduler] Use V(10) for anything which may be O(N*P) logging
2016-11-28 10:31:49 -05: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
gmarek
3971553298
Scheduler Reduce function can use nodeNameToNodeInfo map
2016-11-03 10:07:05 +01:00
gmarek
c80d308128
Scheduler Reduce functions can use PriorityMetadata
2016-11-02 16:33:22 +01:00
gmarek
802ebf01e2
split scheduler priorities
2016-10-26 14:11:15 +02:00
Clayton Coleman
07bd50be0d
Internal weight field for affinity must be int32
2016-10-25 19:28:40 -04:00
Mike Danese
df713b478c
fix tests by declaring testdata
2016-10-21 17:32:32 -07:00
Mike Danese
3b6a067afc
autogenerated
2016-10-21 17:32:32 -07:00
Kubernetes Submit Queue
6e2f5f8f6d
Merge pull request #28742 from jessfraz/test-go1.7rc1
...
Automatic merge from submit-queue
Update to go 1.7
<!--
Checklist for submitting a Pull Request
Please remove this comment block before submitting.
1. Please read our [contributor guidelines](https://github.com/kubernetes/kubernetes/blob/master/CONTRIBUTING.md ).
2. See our [developer guide](https://github.com/kubernetes/kubernetes/blob/master/docs/devel/development.md ).
3. If you want this PR to automatically close an issue when it is merged,
add `fixes #<issue number>` or `fixes #<issue number>, fixes #<issue number>`
to close multiple issues (see: https://github.com/blog/1506-closing-issues-via-pull-requests ).
4. Follow the instructions for [labeling and writing a release note for this PR](https://github.com/kubernetes/kubernetes/blob/master/docs/devel/pull-requests.md#release-notes ) in the block below.
-->
Closes #33070
Closes #32999
```release-note
Updated Go to 1.7
```
[]()
This is to test go version 1.7
2016-10-18 05:59:04 -07:00
Kubernetes Submit Queue
669efd72a4
Merge pull request #34041 from pigmej/fix_typos_plugin
...
Automatic merge from submit-queue
Fix typos and englishify plugin/pkg
**What this PR does / why we need it**: Just typos
**Which issue this PR fixes**: `None`
**Special notes for your reviewer**: Just typos
**Release note**: `NONE`
2016-10-15 02:13:06 -07:00
Jess Frazelle
d51962e1bb
vet fixes
...
Signed-off-by: Jess Frazelle <me@jessfraz.com>
2016-10-13 21:12:15 -07:00
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
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
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