Kensei Nakada
be0db3f93d
clean up the implementation around QueueingHintFn
2023-07-06 16:07:39 +00:00
tangwz
1bf2f6c9c0
feat(NodePorts): return Skip status in PreFilter
2023-07-06 08:42:08 +08:00
Kubernetes Prow Robot
293c1b8378
Merge pull request #118025 from AxeZhan/score-metrics
...
feature(scheduler): plugin_evaluation_total metric support preScore/score
2023-07-05 05:14:56 -07:00
Shingo Omura
d53762ec3a
remove unnecessary comment in pkg/scheduler/framework.QueueingHintFn
...
event is not passed to QueueingHintFn but it exists a comment about it.
event is unnecessary in QueueingHintFn because QueueingHintFn is used in
ClusterEventWithHint and ClusterEventWithHint already have ClusterEvent.
Signed-off-by: Shingo Omura <everpeace@gmail.com >
2023-06-29 21:22:20 +09:00
utam0k
ef26510164
Return Skip in PodTopologySpread#PreScore under specific conditions
...
Signed-off-by: utam0k <k0ma@utam0k.jp >
2023-06-28 12:08:10 +00:00
Kubernetes Prow Robot
52457842d1
Merge pull request #117055 from cyclinder/csi_migration
...
remove CSI-migration gate
2023-06-28 04:28:31 -07:00
Kubernetes Prow Robot
d9714078f8
Merge pull request #118551 from sanposhiho/event-to-register
...
feature(scheduler): implement ClusterEventWithHint to filter out useless events
2023-06-26 06:41:45 -07:00
Kensei Nakada
6f8d38406a
feature(scheduler): implement ClusterEventWithHint to filter out useless events
2023-06-22 13:36:19 +00:00
Heba Elayoty
902c711fb4
Unset gated pod info timestamp in addToActiveQ
...
Signed-off-by: Heba Elayoty <hebaelayoty@gmail.com >
2023-06-21 14:16:08 -07:00
Kubernetes Prow Robot
bc8e312857
Merge pull request #117903 from sourcelliu/dynamic
...
feature(DynamicResources): return Skip in PreFilter
2023-06-20 17:48:20 -07:00
Kubernetes Prow Robot
9740bc0e0a
Merge pull request #118606 from sanposhiho/refactor-score
...
refactor: simplify RunScorePlugins for readability + performance
2023-06-13 21:41:57 -07:00
Kensei Nakada
a7eb7ed5c6
refactor: simplify RunScorePlugins for readability + performance
2023-06-11 03:29:05 +00:00
Kubernetes Prow Robot
4483bf66fe
Merge pull request #116635 from mengjiao-liu/contextual-logging-plugin-interpodaffinity
...
Migrated `pkg/scheduler/framework/plugins/interpodaffinity` to contextual logging
2023-06-09 08:14:13 -07:00
guoguangwu
1d9eed9f95
chore: slice replace loop
2023-06-05 22:40:53 +08:00
SataQiu
410b6023d6
scheduler: fix code style issues for pkg/scheduler
2023-06-05 17:29:49 +08:00
cyclinder
8e4228a8c1
remove CSI-migration gate
2023-06-04 18:40:17 +08:00
Mengjiao Liu
6d23da045f
Migrated pkg/scheduler/framework/plugins/interpodaffinity to use contextual logging
2023-06-01 18:24:54 +08:00
Mengjiao Liu
074900e81b
scheduler: update the scheduler interface and cache methods to use contextual logging
2023-05-29 13:26:32 +08:00
Kubernetes Prow Robot
f7cfb5f02f
Merge pull request #118257 from pohly/dra-scheduler-plugin-loopvar-fix
...
dra scheduler plugin test: fix loopvar bug and "reserve" expected data
2023-05-26 06:06:53 -07:00
Patrick Ohly
7a6b4a9215
dra scheduler plugin test: fix loopvar bug and "reserve" expected data
...
The `listAll` function returned a slice where all pointers referred to the same
instance. That instance had the value of the last list entry. As a result, unit
tests only compared that element.
During the reserve phase, the first claim gets reserved in two test
cases. Those two tests must expect that change. That hadn't been noticed before
because that first claim didn't get compared.
2023-05-25 15:10:05 +02:00
Mengjiao Liu
1c05cf1d51
kube-scheduler: NewFramework function to pass the context parameter
...
Co-authored-by: Aldo Culquicondor <1299064+alculquicondor@users.noreply.github.com >
2023-05-23 10:17:34 +08:00
Kubernetes Prow Robot
c7c41d27b4
Merge pull request #117834 from NoicFank/cleanup-scheduler-node-must-not-nil-in-snapshot
...
cleanup useless null pointer check about nodeInfo.Node() from snapshot for in-tree plugins
2023-05-20 15:16:18 -07:00
dingzhu lurong
ed26fcf5b8
cleanup useless null pointer check about nodeInfo.Node() from snapshot for in-tree plugins
2023-05-20 22:53:43 +08:00
Kubernetes Prow Robot
da1b9df26c
Merge pull request #118032 from kerthcet/cleanup/interpodaffinity2
...
Chore: cleanup in interPodAffinity
2023-05-17 14:00:33 -07:00
Kubernetes Prow Robot
53772982be
Merge pull request #116829 from mengjiao-liu/contextual-logging-scheduler-plugin-volumezone
...
Migrated the volumezone scheduler plugin to use contextual logging
2023-05-16 09:53:35 -07:00
AxeZhan
8c6c1e5319
plugin_evaluation_total metric support preScore/score
2023-05-16 16:52:29 +08:00
kerthcet
3ac7497361
Chore: cleanup in interpodaffinity
...
Signed-off-by: kerthcet <kerthcet@gmail.com >
2023-05-16 14:46:15 +08:00
mantuliu
6e2ea32fc8
feature(DynamicResources): return Skip in PreFilter
2023-05-15 00:06:08 +08:00
Kubernetes Prow Robot
58e13496d6
Merge pull request #116842 from mengjiao-liu/contextual-logging-scheduler-runtime
...
Migrated `pkg/scheduler/framework/runtime` to use contextual logging
2023-05-11 10:59:02 -07:00
Mengjiao Liu
fe728996ca
scheduler test: call frameworkruntime.WithLogger function for contextual logging
2023-05-11 15:46:08 +08:00
Mengjiao Liu
b456392567
Migrated pkg/scheduler/framework/runtime to use contextual logging
2023-05-11 15:46:02 +08:00
utam0k
c0611b6bb3
Return Skip in InterPodAffinity#PreScore under specific conditions
...
This commit updates the InterPodAffinity PreScore to return a Skip status when the following conditions are met:
1. There are no nodes to score.
2. The incoming pod has no inter-pod affinities && the `IgnorePreferredTermsOfExistingPods` option is enabled.
Signed-off-by: utam0k <k0ma@utam0k.jp >
2023-05-10 13:02:23 +00:00
mantuliu
e6900f5ead
Optimize the performance of the Clone method of preFilterState
2023-05-05 19:53:12 +08:00
mantuliu
887654160f
Improve the performance of schedulinggates
2023-05-04 18:09:49 +08:00
Kubernetes Prow Robot
47f1bd9f80
Merge pull request #117649 from SataQiu/scheduler-remove-v1beta2-20230427
...
scheduler: remove deprecated v1beta2 KubeSchedulerConfiguration component config
2023-05-03 09:54:41 -07:00
Kubernetes Prow Robot
0d67dd689b
Merge pull request #117683 from utam0k/skip-topologyspread-empty
...
Add check to skip PodTopologySpread PreFilter if no constraints are specified
2023-05-03 06:48:24 -07:00
SataQiu
1f7c07f355
scheduler: remove deprecated v1beta2 KubeSchedulerConfiguration
2023-05-03 21:43:19 +08:00
utam0k
d82684e691
Add check to skip PodTopologySpread PreFilter if no constraints are specified
...
This commit adds a check in the PodTopologySpread PreFilter function to
return a Skip status if there are no topology spread constraints specified
This prevents unnecessary processing and filtering for pods that don't have any topology spread
constraints.
This change is a part of the work for issue #114399 .
Signed-off-by: utam0k <k0ma@utam0k.jp >
2023-05-03 04:39:00 +00:00
Kubernetes Prow Robot
8353d4623b
Merge pull request #117427 from cbandy/pkg-testing-setenv
...
Replace os.Setenv with testing.T.Setenv in tests
2023-04-29 08:28:16 -07:00
Kubernetes Prow Robot
b44482a37c
Merge pull request #116797 from mengjiao-liu/contextual-looging-scheduler-plugin-podtopologyspread
...
Migrated `pkg/scheduler/framework/plugins/podtopologyspread` to contextual logging
2023-04-27 12:28:27 -07:00
Kubernetes Prow Robot
a38efaccc0
Merge pull request #116748 from mengjiao-liu/contextual-logging-scheduler-plugin-noderesource
...
Migrated `pkg/scheduler/framework/plugins/noderesources` to contextual logging
2023-04-27 12:28:15 -07:00
Kubernetes Prow Robot
5170c25609
Merge pull request #116835 from mengjiao-liu/contextual-logging-scheduler-plugin-preemption
...
Migrated `pkg/scheduler/framework/preemption & defaultpreemption` to use contextual logging
2023-04-27 11:10:16 -07:00
Kubernetes Prow Robot
87f3acf7f6
Merge pull request #115398 from tangwz/add_NodeVolumeLimits_PreFilter
...
feat(NodeVolumeLimits): return Skip in PreFilter
2023-04-27 01:44:14 -07:00
Mengjiao Liu
7f370d651d
Migrated pkg/scheduler/framework/plugins/podtopologyspread to contextual logging
2023-04-27 15:55:09 +08:00
Mengjiao Liu
54e6f609ce
Migrated pkg/scheduler/framework/plugins/noderesources to contextual logging
2023-04-27 14:46:13 +08:00
Mengjiao Liu
37a9260d5c
Migrate pkg/scheduler/framework/plugins/defaultpreemption/default_preemption.go to use contextual logging
2023-04-27 11:28:19 +08:00
Mengjiao Liu
eeb1399383
Migrated pkg/scheduler/framework/preemption to use contextual logging
2023-04-27 11:28:14 +08:00
tangwz
8ed861889a
feat(NodeVolumeLimits): return Skip in PreFilter
2023-04-26 20:17:04 +08:00
Antoni Zawodny
28519e240e
Fix scheduler performance regression after adding plugin metrics
2023-04-26 14:11:48 +02:00
Maciej Borsz
5c584269a7
avoid volume copy in checkAttachableInlineVolume
2023-04-19 20:10:22 +00:00