deads2k
6a4d5cd7cc
start the apimachinery repo
2017-01-11 09:09:48 -05:00
jayunit100
9cdc4ae0ad
Update FitError as a message component into the PodConditionUpdater.
2017-01-09 10:24:14 -05: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
Chao Xu
f782aba56e
plugin/scheduler
2016-11-23 15:53:09 -08:00
Wojciech Tyczynski
e4d215d508
Reduce impact of scheduler bug
2016-11-22 17:19:45 +01:00
Marcin Wielgus
859077b701
Make "Unschedulable" reason a constant in api
2016-10-12 17:43:24 +02:00
Lucas Käldström
0bba65ca1a
Remove old references to contrib/mesos
2016-10-01 16:46:48 +03:00
Kubernetes Submit Queue
d12b3429fe
Merge pull request #30676 from m1093782566/improve-pod-log-output-format
...
Automatic merge from submit-queue
[Scheduler] Improve pod log output debuggability
Address issue is #30675
The result of my expirments shows that both `glog.Infof("%v", pod)` and `glog.Infof("%+v", pod)` can't output useful information of a pod, it can only output `kind:"" apiVersion:""`.
`%#v` can output the whole content of pod, but it seems too much!
So, my opinion is output pod info use the format of `%v` to print`pod.Namespace/pod.Name` instead of the pod **object** in both [here](https://github.com/kubernetes/kubernetes/blob/master/plugin/pkg/scheduler/scheduler.go#L96 ) and [here](https://github.com/kubernetes/kubernetes/blob/master/plugin/pkg/scheduler/scheduler.go#L100 ).
@wojtek-t
2016-08-25 04:05:24 -07:00
m1093782566
40f5d64411
update comment info when scheduler bind fails
...
Change-Id: Idce89003fe408b713431d07a3300e3acd1af87a9
2016-08-16 20:23:26 +08:00
m1093782566
458f5bd7f2
improve pod log output format
...
Change-Id: I415dd97f14b507ebb8340eb853f935e1e90b7a53
2016-08-16 17:59:58 +08:00
Wojciech Tyczynski
9745878778
Add ForgetPod to SchedulerCache
2016-07-13 16:30:05 +02:00
David McMahon
ef0c9f0c5b
Remove "All rights reserved" from all the headers.
2016-06-29 17:47:36 -07:00
goltermann
218645b346
Fix several spelling errors in comments.
2016-06-17 10:41:18 -07:00
Hongchao Deng
54acae1281
scheduler cache: print err if AssumePod fail
2016-05-28 18:47:12 -07:00
Davanum Srinivas
57f6321788
Fix useless error message in scheduler log
...
Print the Namespace and Name instead of Kind/ApiVersion.
fixes #25950
2016-05-21 16:02:36 -04:00
Filip Grzadkowski
9cba3fc5ae
Stop setting Message when updating PodScheduled condition
2016-05-17 15:27:43 +02:00
k8s-merge-robot
132ebb091a
Merge pull request #24459 from fgrzadkowski/unschedulable_pod
...
Automatic merge from submit-queue
Add pod condition PodScheduled to detect situation when scheduler tried to schedule a Pod, but failed
Set `PodSchedule` condition to `ConditionFalse` in `scheduleOne()` if scheduling failed and to `ConditionTrue` in `/bind` subresource.
Ref #24404
@mml (as it seems to be related to "why pending" effort)
<!-- 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/24459 )
<!-- Reviewable:end -->
2016-05-12 05:54:06 -07:00
Filip Grzadkowski
a80b1798c4
Add pod condition PodScheduled to detect situation
...
when scheduler tried to schedule a Pod, but failed.
Ref #24404
2016-05-12 10:21:21 +02:00
Hongchao Deng
1eb331e009
schedulercache: remove bind() from AssumePod
2016-04-16 20:30:28 +08:00
Wojciech Tyczynski
254b05761f
Asynchronous bindings
2016-04-14 09:52:25 +02: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
Jan Chaloupka
4389b3f0d6
Rewritte util.* -> wait.* wherever reasonable
2016-02-07 12:02:20 +01:00
harry
080cb60dab
Fix duplicated rate limit in scheduler
...
Remove BindingRateLimiterSaturation metrics
Update generated doc
2016-01-13 20:51:55 +08:00
Hongchao Deng
47a21aa285
scheduler metrics should only observe successful ops
2016-01-04 14:50:37 -08:00
Hongchao Deng
c4fdb7a2d0
Scheduler metrics: binding rate limiter saturation
2015-12-03 10:43:37 -08:00
Avesh Agarwal
3d5207fd73
This commit adds type information to events.
...
This addresses issue #15624 .
2015-11-24 09:59:54 -05:00
k8s-merge-robot
22f698f5b0
Merge pull request #13953 from liguangbo/change_iff_to_if_and_only_if
...
Auto commit by PR queue bot
2015-09-16 08:35:20 -07:00
liguangbo
4df68f03a3
change iff to if and only if to improve annotation readability
2015-09-16 08:29:36 +00:00
Wojciech Tyczynski
53ae56f205
Replace "minion" with "node" in bunch of places.
2015-09-14 11:07:11 +02:00
Daniel Smith
15b30b8b09
Move version agnostic parts of client
...
pkg/client/unversioned/cache -> pkg/client/cache
pkg/client/unversioned/record -> pkg/client/record
2015-09-10 17:17:59 -07:00
Kris Rousey
ae6c64d9bb
Moving everyone to unversioned client
2015-08-18 10:23:03 -07:00
Karl Isenberg
61c9dd876e
Improve readability of scheduling failure logs
2015-08-17 12:17:48 +02:00
jiangyaoguo
5d3522dc7a
Keep event reason consistant in scheduler and controller
2015-08-13 11:33:32 +08:00
Mike Danese
8e33cbfa28
rewrite go imports
2015-08-05 17:30:03 -07:00
Yu-Ju Hong
ea16e52f9b
Merge pull request #10642 from davidopp/clean
...
Clarify and make less verbose event message for infeasible pods.
2015-07-06 12:55:00 -07:00
hyeongkyu.lee
55f1f241e6
Fixed typo
2015-07-03 18:03:45 +09:00
David Oppenheimer
950ab8f219
Clarify and make less verbose event message for infeasible pods.
2015-07-01 19:22:48 -07:00
James DeFelice
7d66559725
added comments at the top of native k8s files which, if changed, might affect some of the k8sm code
2015-06-10 20:31:22 +00:00
Tim Hockin
d0daabb34b
Merge pull request #8471 from bprashanth/scheduler_burst
...
Limit the scheduler to a burst qps of 30
2015-05-28 16:55:25 -07:00
Chao Xu
9c1153322e
update PodSpec.Host to PodSpec.NodeName in /pkg/api/types.go and /pkg/api/v1beta3/types.go
2015-05-28 14:10:06 -07:00
Prashanth Balasubramanian
4004a68ae9
Limit the scheduler to a burst qps of 30 and rate limit pod binding
2015-05-27 16:35:09 -07:00
Wojciech Tyczynski
5fbe58b2c8
Revert "Make scheduler optimistic about its bindings"
2015-05-19 14:27:28 -07:00
Prashanth B
abd0d7b2cb
Merge pull request #8261 from lavalamp/scheduler
...
Make scheduler optimistic about its bindings
2015-05-15 17:06:42 -07:00
Daniel Smith
3a7086fd8a
Make scheduler optimistic about its bindings
2015-05-14 10:55:49 -07:00
hurf
6203ce9f85
Move pkg/scheduler to plugin/pkg/scheduler
...
As the TODO in plugin/pkg/scheduler/scheduler.go described:
move everything from pkg/scheduler into this package. Remove
references from registry.
2015-05-13 14:03:25 +08:00
Eric Paris
6b3a6e6b98
Make copyright ownership statement generic
...
Instead of saying "Google Inc." (which is not always correct) say "The
Kubernetes Authors", which is generic.
2015-05-01 17:49:56 -04:00
Kris Rousey
81497f3ed2
Changing the scheduler package to use *api.Pod instead of api.Pod to
...
avoid unnecessary shallow copies. The change rippled through a lot of
code.
2015-04-17 13:34:31 -07:00
Daniel Smith
5f7715f0e9
Make scheduler not miss deletion events even in the case of a resync.
2015-04-10 14:05:08 -07:00
Brian Grant
414be101b6
Merge pull request #6352 from piosz/api
...
Removed PodStatus.Host
2015-04-02 13:16:24 -07:00
Filip Grzadkowski
25f95b0672
Add basic latency metrics to scheduler.
2015-04-02 19:24:55 +02:00
Piotr Szczesniak
5c6439d449
Removed PodStatus.Host
...
Fixes #6165
2015-04-02 16:38:45 +02:00
Daniel Smith
fd952862c3
Remove pods from the assumed pod list when they are deleted
2015-03-30 11:16:55 -07:00
Daniel Smith
992d78a32e
Add a system modeler to scheduler
...
So it can try to predict the effect its bindings will have.
2015-03-13 17:48:16 -07:00
Clayton Coleman
dfc19185f5
Add a subbindings resource as /pods/{name}/binding
...
Allows POST to create a binding as a child. Also refactors internal
and v1beta3 Binding to be more generic (so that other resources can
support Bindings).
2015-03-09 15:37:19 -04:00
Paul Morie
02b18edac6
Allow multiple sources to be used with record package
2015-03-05 13:54:29 -05:00
saadali
90dfdcecd5
Remove CONDITION from event object completely
...
# *** ERROR: *** Some files have not been gofmt'd. To fix these
# errors, run gofmt -s -w <file>, or cut and paste the following:
# gofmt -s -w pkg/kubecfg/resource_printer.go pkg/proxy/config/config.go pkg/runtime/types.go
#
# Your commit will be aborted unless you override this warning. To
# commit in spite of these format errors, delete the following line:
# COMMIT_BLOCKED_ON_GOFMT
2015-01-14 14:17:16 -08:00
Brendan Burns
2c1221864d
Make a standalone binary.
2014-11-10 13:34:11 -08:00
Daniel Smith
25bd151d86
Make fieldPath part of getting a reference rather than part of making an event.
2014-11-05 15:09:14 -08:00
markturansky
119f654a13
Refactor PodStatus to PodCondition in internal API for v1beta3
2014-11-05 17:26:47 -05:00
Clayton Coleman
7550c146dc
Replace struct initializers for TypeMeta with ObjectMeta
2014-10-24 11:22:21 -04:00
Clayton Coleman
bb77a5d15f
Rename ID -> Name
2014-10-22 15:00:26 -04:00
derekwaynecarr
085ca40291
Enforce unique constraint at namespace boundary in etcd, make client and server namespace aware
2014-10-16 13:02:52 -04:00
Daniel Smith
10214457b7
Make scheduler emit events
2014-10-15 11:42:05 -07:00
Daniel Smith
b2349bc66a
Change scheduler to poll for minions
2014-08-20 15:32:49 -07:00
Daniel Smith
dddad888b5
Begin scheduler plugin
2014-08-20 15:32:49 -07:00