Kubernetes Prow Robot
3c75651d15
Merge pull request #100357 from Huang-Wei/enq-serviceaffinity
...
implement EnqueueExtensions interface in serviceaffinity
2021-04-08 20:30:20 -07:00
caiweidong
850759ec87
Preempting: do not delete the victim if it just exits in WaitingPods
2021-03-23 14:37:36 +08:00
Wei Huang
9d1ef9f4c5
unregister Service events if a plugin doesn't implement EventsToRegister()
2021-03-18 11:04:06 -07:00
Morten Torkildsen
21fba79d45
Promote PDBs to GA
2021-03-09 10:29:11 -05:00
Kubernetes Prow Robot
0ced9d2854
Merge pull request #99498 from gavinfish/sched-preempthandle
...
Scheduler: unroll PreemptHandle to Handle
2021-03-01 13:58:28 -08:00
Benjamin Elder
56e092e382
hack/update-bazel.sh
2021-02-28 15:17:29 -08:00
drfish
38ad860c2f
Unroll PreemptHandle to Handle
2021-02-27 00:44:05 +08:00
Mengxue Zhang
4fb8e343c0
parse pod's node affinity once in preFilter
2021-02-25 00:21:32 +00:00
Kubernetes Prow Robot
186f934e4c
Merge pull request #98346 from mortent/checkForScalePDBs
...
Check if resources implement scale in disruption controller
2021-02-22 13:58:03 -08:00
drfish
74315f9c56
Change config.Plugins from pointers to objects
2021-02-10 23:45:59 +08:00
Morten Torkildsen
96ea28aa77
Check if resources implement scale in disruption controller
2021-02-03 20:19:35 -08:00
Wei Huang
f8a6bdb044
Surface info of failed plugins during PerFilter and Filter
2021-01-28 12:20:42 -08:00
Kubernetes Prow Robot
21d3c73f54
Merge pull request #93179 from chendave/preemption_improve
...
prefer nominated node - IMPL
2021-01-26 21:03:40 -08:00
Dave Chen
6d800ffe07
Prefer nominated node in the new scheduling cycle
...
Signed-off-by: Dave Chen <dave.chen@arm.com>
2021-01-26 09:59:00 +08:00
drfish
d4418c1402
Update the PreFilterExtensions interface to use PodInfo
2021-01-19 00:49:52 +08:00
SataQiu
2b38078de1
scheduler: parse Pod's Node affinity once in PreScore phase
...
Signed-off-by: SataQiu <1527062125@qq.com>
2020-11-26 11:19:52 +08:00
Kubernetes Prow Robot
147a120948
Merge pull request #82222 from Huang-Wei/0-informer-sync-period
...
Set 0 sync period in scheduler integration test
2020-11-16 11:16:04 -08:00
Kubernetes Prow Robot
3e43d5b92a
Merge pull request #96292 from wangyx1992/cleanup-scheduler-log-capatilization
...
cleanup: fix log capitalization in scheduler
2020-11-12 11:20:45 -08:00
Yixiang2019
842cc6b4e2
cleanup: fix log capitalization in scheduler
...
Signed-off-by: Yixiang2019 <wang.yixiang@zte.com.cn>
2020-11-12 20:10:26 +08:00
Wei Huang
af384f27ed
Fix failures in TestBindPlugin and TestPreemptWithPermitPlugin
2020-11-11 12:56:13 -08:00
Wei Huang
185093bd4e
Set 0 sync period in scheduler integration test
2020-11-11 12:56:13 -08:00
Wei Huang
47a7c374c6
Fix a bug that DefaultPreemption plugin is disabled when using scheduler policy
2020-11-10 17:48:32 -08:00
Wei Huang
b5eeb8cd0f
cleanup dated wording "NominatedNodeName annotation"
2020-11-06 13:42:01 -08:00
Tim Hockin
819ff9b087
Use topology labels instead of old beta names ( #96033 )
...
* Rename const for topology.../zone
* Rename const for topology.../region
* Rename const for failure-domain.../zone
* Rename const for failure-domain.../region
* Restore old names for compat
2020-11-05 20:26:50 -08:00
Wei Huang
a146cb0aa0
Replace calls to cs.CoreV1().Nodes().Create() with createNode()
2020-11-03 15:25:44 -08:00
Wei Huang
f054765762
Add a function to ensure created nodes are present in scheduler cache
2020-11-03 15:25:44 -08:00
Kubernetes Prow Robot
237dae5a5e
Merge pull request #95807 from Huang-Wei/postfilter-int-test-flake
...
Deflake PostFilter integration test
2020-10-23 12:15:16 -07:00
Wei Huang
6e7b20543c
Deflake PostFilter integration test
2020-10-22 13:48:50 -07:00
Aldo Culquicondor
f6fb0bd308
Add integration test for Default PodTopologySpread
...
Simulating a cluster with 500 nodes in 3 zones, deploying 3, 12 and 27 Pods belonging to the same service.
Change-Id: I16425594012ea7bd24b888acedb12958360bff97
2020-10-22 13:42:50 -04:00
Aldo Culquicondor
87c8349bdc
Graduate DefaultPodTopologySpread to beta
...
And set to enabled by default
Change-Id: Ie4cc4758c52492924cb0663450f2747908cb5882
2020-10-19 16:58:09 -04:00
Ali
09b2e8f638
Move scheduler interface to pkg/scheduler/framework
2020-10-13 13:13:27 +11:00
Kubernetes Prow Robot
c72b30b3b7
Merge pull request #93534 from everpeace/score-in-preemption-handle
...
scheduler: expose Run[Pre]ScorePlugins functions to PreemptionHandle(through PluginRunner)
2020-10-09 20:34:47 -07:00
Wei Huang
d8def59871
Initialize scheduler's podInformer in sharedInformerFactory
...
Scheduler's specific podInfomer is now initialized inside the sahredInformerFactory.
2020-09-08 12:57:17 -07:00
Aldo Culquicondor
16d7ecfa45
Remove direct accesses to cache's node map
...
Signed-off-by: Aldo Culquicondor <acondor@google.com>
Change-Id: Iebb22fc816926aaa1ddd1e4b2e52f335a275ffaa
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2020-08-13 14:22:06 -04:00
Shingo Omura
d0421fa9c3
Fix TestScorePlugin: numScore should be accessed with atomic.LoadInt32
2020-08-04 22:50:13 +09:00
Shingo Omura
ef1fab7642
expose Run[Pre]ScorePlugins functions in PluginRunner interface
2020-08-04 22:50:13 +09:00
Wei Huang
b6b7ab3f73
Deflake scheduler PostBind integration test
2020-08-03 12:30:22 -07:00
Kubernetes Prow Robot
9af4ad5c45
Merge pull request #93550 from Huang-Wei/refix-postfilter-flake
...
Deflake scheduler PostFilter and Filter integration test
2020-07-30 04:30:31 -07:00
Wei Huang
539272cb73
Deflake scheduler PostFilter and Filter integration test
...
- Revert "Fix integration test flake on TestFilter and TestPostFilter"
This reverts commit 94fc18c2dc
.
- Relax checking logic on expected Filter/PostFilter counters.
2020-07-29 18:37:47 -07:00
Wei Huang
0e71facefe
Hold Pod in cache until all other cleanup work is completed
...
- Move "ForgetPod" after "RunReservePluginsUnreserve", so that the cache would hold the pod to
avoid it's being retried simutaneously until Unreserve is completed.
- Move "assume" ahead of "RunReservePluginsReserve". This is based on the fact that "ForgetPod" is
the last step of failure path, so "assume" should be reversly treated as the first step. The
current failure path is like this:
assume -> reserve -> unreserve -> forgetPod -> recordingFailure
- Make subtests of TestReservePluginUnreserve stateless
2020-07-29 11:27:19 -07:00
Wei Huang
94fc18c2dc
Fix integration test flake on TestFilter and TestPostFilter
2020-07-28 20:51:01 -07:00
Wei Huang
862fdaaf79
Fix an integration test flake on NodeAfffinity ScorePlugin
2020-07-28 08:57:02 -07:00
Wei Huang
8936f9e4bf
Fix integration test flake on TestScorePlugin
2020-07-27 18:13:38 -07:00
Wei Huang
d65a97848e
codegen
2020-07-08 09:58:42 -07:00
Wei Huang
4b26ef2217
Remove DisablePreemption field from SchedulerConfig v1beta1
...
DisablePreemption field can be removed as it can be deduced from PostFilterPlugins.
2020-07-08 09:58:42 -07:00
Kubernetes Prow Robot
b6cbe1b8de
Merge pull request #92662 from chelseychen/event-api-fallback
...
Switch event recorder to use events.k8s.io/v1
2020-07-03 05:03:15 -07:00
Chelsey Chen
ade2422883
Switch event recorder to use events.k8s.io/v1
2020-07-02 14:50:41 -04:00
Andrea Nodari
a759fb20ff
Create nodes with labels instead of adding them later
2020-07-02 08:56:32 +02:00
Andrea Nodari
2e1042f959
Use NodeWrapper to directly initialize node with labels
...
Using NodeWrapper in the integration tests gives more flexibility when
creating nodes. For instance, tests can create nodes with labels or
with a specific sets of resources.
Also, NodeWrapper initialises a node with a capacity of 32 pods, which
can be overridden by the caller. This makes sure that a node is usable
as soon as it is created.
2020-06-30 17:18:15 +02:00
Kubernetes Prow Robot
281023790f
Merge pull request #92501 from rakeshreddybandi/rename-plugin
...
Rename DefaultPodTopologySpread plugin #91994
2020-06-29 18:34:58 -07:00