Dave Chen
1500a5ca80
Simplify the integration test by removing the struct of nodeConfig
...
Signed-off-by: Dave Chen <dave.chen@arm.com>
2021-10-12 17:46:38 +08:00
Kubernetes Prow Robot
c2cbf5ff49
Merge pull request #105509 from ravisantoshgudimetla/fix-integration
...
[scheduler] [test]: Fix PreferNominatedNode test
2021-10-11 20:01:46 -07:00
Kubernetes Prow Robot
835980ac67
Merge pull request #105424 from kerthcet/cleanup/remove-scheduler-policy-config
...
remove scheduler policy config
2021-10-08 10:57:23 -07:00
kerthcet
a6f695581b
remove legacy scheduler policy config, as well as associated flags policy-config-file, policy-configmap, policy-configmap-namespace and use-legacy-policy-config
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
2021-10-08 23:57:49 +08:00
Kubernetes Prow Robot
60ab733932
Merge pull request #105546 from Huang-Wei/fix-evt-volumebinding
...
sched: adjust events to register for VolumeBinding plugin
2021-10-08 02:12:57 -07:00
Kubernetes Prow Robot
9b45983d3c
Merge pull request #104251 from ravisantoshgudimetla/scheduling-v1beta3
...
Scheduling v1beta3
2021-10-07 10:47:32 -07:00
Wei Huang
b7d90ca991
sched: adjust events to register for VolumeBinding plugin
2021-10-07 08:51:04 -07:00
ravisantoshgudimetla
283b176102
[test]: modify integration tests to use v1beta3
2021-10-07 10:58:07 -04:00
Wei Huang
3283e6bb72
sched: integration test to cover event registration
2021-10-06 15:17:38 -07:00
ravisantoshgudimetla
9476237923
[scheduler] [test]: Fix PreferNominatedNode test
...
Once the node gets deleted, the nodelifecycle controller
is racing to update pod status and the pod deletion logic
is failing causing tests to flake. This commit moves
the testContext creation to within the test loop and deletes nodes,
namespace within the test loop. We don't explicitly call the node
deletion within the loop but the `testutils.CleanupTest(t, testCtx)`
call ensures that the namespace, nodes gets deleted.
2021-10-06 09:07:16 -04:00
kerthcet
75a255d2ed
remove scheduler component config v1beta1
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
2021-09-28 13:13:17 +08:00
Wei Huang
d7bf9d724f
Provide a timeout function to fail quick on blocking operations
...
It works like the Linux `timeout` utility.
2021-09-17 10:23:06 -07:00
Wei Huang
a689ad4cda
sched: start dynamicInformerFactory along with regular informerFactory ( #105016 )
...
* sched: start dynamicInformerFactory along with regular informerFactory
* fixup: start all informers and then wait for their syncs
2021-09-16 19:33:00 -07:00
Wei Huang
dc079acc2b
sched: retry unschedule pods immediately after a waiting pod's deletion
2021-08-06 19:08:37 -07:00
David Eads
649b87aaf8
prevent mutation of deletion options during delete collection
2021-07-08 15:36:10 -04:00
Wei Huang
fb9cafc99b
sched: provide an option for plugin developers to move pods to activeQ
2021-07-07 12:50:12 -07:00
Mengjiao Liu
4eab19ae7d
Clean up the master term in test/integration comments
2021-06-18 16:31:05 +08:00
Mengjiao Liu
da35add03f
Rename master to apiserver in test/integration
2021-06-17 15:48:39 +08:00
Abdullah Gharaibeh
265ef1741f
Move scheduler plugin set and configuration defaulting to component config
2021-06-16 10:15:29 -04:00
Kubernetes Prow Robot
8955463c17
Merge pull request #102745 from ahg-g/ahg-provider
...
Remove SchedulerAlgorithmSource from scheduler's internal CC API
2021-06-10 07:17:39 -07:00
Kubernetes Prow Robot
521be6344e
Merge pull request #102558 from Jerry-Ge/unroll-extenders
...
Unroll ScheduleAlgorithm#Extenders() to Scheduler.go
2021-06-10 07:17:27 -07:00
Jerry-Ge
110c39ef60
unroll extenders
...
Signed-off-by: Jerry Ge <jerry.ge@arm.com>
Co-authored-by: Huang-Wei <wei.huang1@ibm.com>
2021-06-10 08:31:44 +08:00
Abdullah Gharaibeh
52f5ba3a58
Remove SchedulerAlgorithmSource from scheduler's internal CC API
2021-06-09 19:14:54 -04:00
Mengjiao Liu
387154f1a9
Part3: master to controlplane in test/integration
...
Rename RunAMaster to RunAControlPlane
2021-06-03 11:06:19 +08:00
Wei Huang
1b3a124ba6
Scheduler now registers event handlers dynamically
...
- move clusterEventMap to Configurator
- dynamic event handlers registration for core API resources
- dynamic event handlers registration for custom resources
2021-05-21 13:47:06 -07:00
Abdullah Gharaibeh
ebf0bca3ce
Added integration test for pod affinity namespace selector
2021-04-27 14:13:08 -04:00
Kubernetes Prow Robot
ed3e0d302f
Merge pull request #100644 from Huang-Wei/sched-fwk-config
...
Surface kube config in scheduler framework handle
2021-04-12 19:12:49 -07:00
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
Wei Huang
e7f67b1a63
Surface kube config in scheduler framework handle
2021-03-30 11:54:59 -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