Kubernetes Prow Robot
80afde7ca7
Merge pull request #70026 from bertinatto/only_schedule_pod_if_pv_requirements_are_met
...
Check PV requirements before scheduling
2019-01-07 03:46:21 -08:00
Fabio Bertinatto
bb4fcddd1b
Check PV requirements before scheduling pod
2019-01-04 12:33:18 +01:00
Jonathan Basseri
95254d5457
Move CacheDebugger signal handling into the package.
...
This moves the signal handling for CacheDebugger from the factory
package into the CacheDebugger's package. That makes it easier to reuse
from packages other than factory.
2019-01-03 18:15:51 -08:00
Kubernetes Prow Robot
222d7837a8
Merge pull request #72303 from cofyc/fix72013-cleanup-scheduler
...
Update comments to reflect current logic
2019-01-03 15:51:34 -08:00
Yecheng Fu
fa88bcc154
Update comments for PriorityQueue.
...
Log condition reason which is useful for debugging.
2019-01-03 09:25:05 +08:00
Jordan Liggitt
73dcfe12da
Stop checking VolumeScheduling feature gate
2018-12-27 17:45:45 -05:00
wangqingcan
b82a1d4600
Move predicate types from algorithm to predicates
2018-12-21 22:26:47 +08:00
Harry Zhang
797601d99d
Fixed outdated bazel
2018-12-17 17:05:49 -08:00
wangqingcan
1081e919e3
Eclass Task 1: clean up old equiv class code
...
Co-authored-by: Harry Zhang <resouer@gmail.com>
Co-authored-by: Wang Qingcan <wangqingcan@baidu.com>
2018-12-17 17:05:49 -08:00
Jonathan Basseri
8e25361320
Move `ScheduleAlgorithm` to the core package.
...
This moves the type `ScheduleAlgorithm` from `pkg/scheduler/algorithm`
to `pkg/scheduler/core`. The reason for this move is to fix our import
dependency graph and allow predicate & priority types to be moved into
their appropriate packages.
The new location makes sense because `core` is the only package that
exports an implementation of this type.
2018-12-13 15:08:38 -08:00
Kubernetes Prow Robot
05183bffe5
Merge pull request #71872 from yuexiao-wang/scheduler-nodeinfo
...
[scheduler cleanup phase 2]: Rename `pkg/scheduler/cache` to `pkg/scheduler/nodeinfo`
2018-12-12 08:08:33 -08:00
yuexiao-wang
7b6f60f085
modify BUILD
...
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
2018-12-11 11:22:06 +08:00
yuexiao-wang
f3353c358d
[scheduler cleanup phase 2]: Rename to
...
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
2018-12-11 11:21:12 +08:00
mlmhl
2fe9b1438c
activate unschedulable pods only if the node became more schedulable
2018-12-10 09:48:23 +08:00
Kubernetes Prow Robot
f62b530f4d
Merge pull request #57057 from greghaynes/reschedule-with-backoff
...
Reschedule with backoff
2018-12-07 21:13:57 -08:00
Gregory Haynes
73710f06db
Check for shutdown in TryBackoffAndWait
2018-12-06 16:57:20 +00:00
Gregory Haynes
5e4ccede4c
Reschedule with backoff
...
With the alpha scheduling queue we move pods from unschedulable to
active on certain events without a backoff. As a result we can cause
starvation issues if high priority pods are in the unschedulable queue.
Implement a backoff mechanism for pods being moved to active.
Closes #56721
2018-12-06 16:38:34 +00:00
Gregory Haynes
082b48240a
Implement scheduler.util.backoff as a queue
...
We are going to use PodBackoff for controlling backoff when adding
unschedulable pods back to the active scheduling queue. In order to do
this more easily, limit the interface for PodBackoff to only this struct
(rather than exposing BackoffEntry) and change the backing expiry
implementation to be queue based.
2018-12-04 18:01:43 +00:00
Jonathan Basseri
b864a5a808
Remove scheduler "TestGroup" utility.
...
This util was used to fake certain aspects of apiserver behavior, such
as resource paths and JSON encoding. Our unit tests have been refactored
so they don't rely on the REST or JSON aspects of apiserver. This util
is no longer needed.
2018-12-03 16:28:21 -08:00
Bobby (Babak) Salamat
e60f510e38
Autogenerated files
2018-11-30 16:03:47 -08:00
Bobby (Babak) Salamat
f74b30868c
Add plugin invocation for 'reserve' and 'prebind' plugins to the scheduler.
2018-11-30 16:03:47 -08:00
Wei Huang
b4fd11512a
ensure scheduler preemptor behaves in an efficient/correct path
...
- don't update nominatedMap cache when Pop() an element from activeQ
- instead, delete the nominated info from cache when it's "assumed"
- unit test behavior adjusted
- expose SchedulingQueue in factory.Config
2018-11-16 14:22:15 -08:00
Davanum Srinivas
954996e231
Move from glog to klog
...
- Move from the old github.com/golang/glog to k8s.io/klog
- klog as explicit InitFlags() so we add them as necessary
- we update the other repositories that we vendor that made a similar
change from glog to klog
* github.com/kubernetes/repo-infra
* k8s.io/gengo/
* k8s.io/kube-openapi/
* github.com/google/cadvisor
- Entirely remove all references to glog
- Fix some tests by explicit InitFlags in their init() methods
Change-Id: I92db545ff36fcec83afe98f550c9e630098b3135
2018-11-10 07:50:31 -05:00
k8s-ci-robot
be800e623a
Merge pull request #69663 from sttts/sttts-scheduler-secure-serving
...
scheduler: enable secure port and authn/z
2018-11-08 17:36:14 -08:00
Dr. Stefan Schimanski
d91feb6d18
kube-scheduler: move stopCh creation out of scheduler factory code
...
Enforces clean ownership of the channel.
2018-11-08 16:43:59 +01:00
k8s-ci-robot
c5b453b717
Merge pull request #70783 from hex108/debug_extender
...
Add debug info: scheduler extenders's score and its name for each pod
2018-11-08 02:51:12 -08:00
Jun Gong
9fc369dd0d
Add debug info: scheduler extenders's score and its name for each pod
2018-11-08 13:02:57 +08:00
Babak "Bobby" Salamat
2c8e73a16b
Revert "Activate unschedulable pods only if the node became more schedulable"
2018-11-07 16:57:47 -08:00
Bobby (Babak) Salamat
4bb57c440e
Autogenerated files
2018-11-05 13:31:51 -08:00
Bobby (Babak) Salamat
7ce3245ca9
Add a scheduler cache dumper
2018-11-05 13:31:51 -08:00
mlmhl
c50f89dd43
activate unschedulable pods only if the node became more schedulable
2018-10-30 10:45:59 +08:00
ravisantoshgudimetla
fad6b326e3
Fix default algorithm provider priority insertion
2018-10-26 13:48:44 -04:00
He Xiaoxi
a96a390d92
Refactor scheduler factory test
...
Use `k8s.io/client-go/kubernetes/fake.Clientset` as the fake k8s client.
Signed-off-by: He Xiaoxi <xxhe@alauda.io>
2018-10-12 14:39:08 +08:00
k8s-ci-robot
94306c12f5
Merge pull request #69057 from denkensk/create-a-new-scheduler-constructor
...
create-a-new-scheduler-constructor
2018-10-11 13:45:02 -07:00
Guoliang Wang
f44f55cdd7
[scheduler cleanup phase 1]: Move CacheComparer to pkg/scheduler/internal/cache/comparer
2018-10-10 21:28:14 +08:00
wangqingcan
a74fd15e62
create a new scheduler constructor
2018-10-10 17:10:10 +08:00
k8s-ci-robot
d3fe0ea7ff
Merge pull request #69318 from wgliang/feature/move-fakecache
...
[scheduler cleanup phase 1]: Move FakeCache to pkg/scheduler/internal…
2018-10-09 23:21:49 -07:00
Bobby (Babak) Salamat
5f2555e3ad
Remove pod status.phase check from pod event handlers
2018-10-09 13:39:04 -07:00
Guoliang Wang
558e1960b8
[scheduler cleanup phase 1]: Move FakeCache to pkg/scheduler/internal/cache/fake
2018-10-06 23:58:53 +08:00
Guoliang Wang
187e2e01c9
Move scheduler cache interface and implementation to pkg/scheduler/internal/cache
2018-10-06 20:48:59 +08:00
Christoph Blecker
97b2992dc1
Update gofmt for go1.11
2018-10-05 12:59:38 -07:00
Wei Huang
9da576f03c
move SchedulingQueue to pkg/scheduler/internal/queue
2018-09-28 11:51:02 -07:00
Wei Huang
2e7461c087
auto-generated files
2018-09-28 11:51:01 -07:00
k8s-ci-robot
db1d1c8674
Merge pull request #68700 from Huang-Wei/schedulingQ-graceful-shutdown
...
shutdown schedulingQueue gracefully
2018-09-28 00:46:14 -07:00
Wei Huang
be661fddb4
shutdown schedulingQueue gracefully
...
- add Close() to interface SchedulingQueue
- implement Close() for FIFO and PriorityQueue
- add unit test
2018-09-27 14:32:58 -07:00
Wei Huang
56fcfc5fee
cleanup duplicate assignment logic in scheduler
2018-09-27 11:38:05 -07:00
k8s-ci-robot
823530d4db
Merge pull request #68917 from zhangmingld/fixwordserr
...
Fix some typo err
2018-09-26 22:59:32 -07:00
Bobby (Babak) Salamat
c051f0d31a
autogenerated files
2018-09-26 14:22:21 -07:00
Bobby (Babak) Salamat
f340f8baf8
Remove PDB and its event handlers from the scheduler cache
2018-09-26 14:22:21 -07:00
k8s-ci-robot
28d86ac47d
Merge pull request #67308 from cofyc/fix67260
...
Use monotonically increasing generation to prevent equivalence cache race
2018-09-25 00:18:00 -07:00