Kensei Nakada
2b56de43e5
register Node/UpdateNodeTaint event to plugins which has Node/Add only, doesn't have Node/UpdateNodeTaint
2024-03-16 14:13:06 +00:00
Kensei Nakada
58a826a59a
graduate MinDomainsInPodTopologySpread to stable
2024-02-28 10:42:29 +00:00
Kubernetes Prow Robot
c6887b1c00
Merge pull request #117803 from sourcelliu/preFilterState
...
Optimize the performance of the Clone method of preFilterState
2024-01-19 10:57:20 +01:00
nayihz
edff1c3b2f
swap originalPod and modifiedPod to match the comments.
2024-01-06 19:07:18 +08:00
Kubernetes Prow Robot
9dc0dbe878
Merge pull request #122195 from nayihz/feat_queuinghints
...
podtopologyspread: scheduler queueing hints
2023-12-18 16:58:12 +01:00
nayihz
09a80df1d1
podtopologyspread: scheduler queueing hints
2023-12-17 14:30:53 +08:00
AxeZhan
be48c93689
Sched framework: expose NodeInfo in all functions of PluginsRunner interface
2023-12-15 11:30:06 +08:00
Mengjiao Liu
a7466f44e0
Change the scheduler plugins PluginFactory function to use context parameter to pass logger
...
- Migrated pkg/scheduler/framework/plugins/nodevolumelimits to use contextual logging
- Fix golangci-lint validation failed
- Check for plugins creation err
2023-09-20 17:49:54 +08:00
Stephen Kitt
9990307146
kube-scheduler: drop deprecated pointer package
...
This replaces deprecated k8s.io/utils/pointer functions with their ptr
equivalent.
Signed-off-by: Stephen Kitt <skitt@redhat.com >
2023-09-13 09:42:19 +02:00
kerthcet
855b445d28
Remove deprecated selectorSpread
...
Signed-off-by: kerthcet <kerthcet@gmail.com >
2023-08-28 22:11:33 +08:00
Kubernetes Prow Robot
c95b16b280
Merge pull request #118608 from utam0k/podtopologyspread-prescore-skip
...
Return Skip in PodTopologySpread#PreScore under specific conditions
2023-07-10 09:27:07 -07: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
Kensei Nakada
6f8d38406a
feature(scheduler): implement ClusterEventWithHint to filter out useless events
2023-06-22 13:36:19 +00: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
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
mantuliu
e6900f5ead
Optimize the performance of the Clone method of preFilterState
2023-05-05 19:53:12 +08: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
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
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
Mengjiao Liu
7f370d651d
Migrated pkg/scheduler/framework/plugins/podtopologyspread to contextual logging
2023-04-27 15:55:09 +08:00
sarab
8d18ae6fc2
Use the generic Set in scheduler
2023-04-09 11:34:17 +05:30
Kubernetes Prow Robot
0e8eae6e35
Merge pull request #116607 from alculquicondor/optimize-spreading
...
Optimize topology spreading for null selector
2023-03-14 15:14:57 -07:00
Aldo Culquicondor
3dae9ba6d6
Optimize topology spreading for null selector
...
Change-Id: I28f031a040b143fa9452b4400cc3ae85d58e572c
2023-03-14 15:01:59 -04:00
Alex Wang
08dfa41f17
fix: key in matchLabelKeys needs to be ignored when LabelSelector is nil
...
Signed-off-by: Alex Wang <wangqingcan1990@gmail.com >
2023-03-14 11:25:04 +08:00
kidddddddddddddddddddddd
b901ef0f68
changes in test files
2022-10-12 22:11:04 +08:00
kerthcet
55dcde737d
typo fixed
...
Signed-off-by: kerthcet <kerthcet@gmail.com >
2022-09-29 18:08:15 +08:00
Kubernetes Prow Robot
3e5e5cc7ee
Merge pull request #112357 from SataQiu/deprecated-20220907
...
kube-scheduler: add taints filtering logic consistent with TaintToleration plugin for PodTopologySpread plugin
2022-09-16 18:14:27 -07:00
kerthcet
9a9fbf598e
Fix calculating error when adding nominated pods in podTopologySpread
...
Signed-off-by: kerthcet <kerthcet@gmail.com >
2022-09-16 17:28:49 +08:00
Kubernetes Prow Robot
3ac752e4a0
Merge pull request #112003 from sanposhiho/metrics-goroutine
...
feature(scheduler): add "goroutines" metric and deprecate the "scheduler_goroutines" metric
2022-09-12 12:01:16 -07:00
SataQiu
bc9c494319
kube-scheduler: add taints filtering logic consistent with TaintToleration plugin for PodTopologySpread plugin
...
Signed-off-by: SataQiu <shidaqiu2018@gmail.com >
2022-09-10 09:04:30 +08:00
Kensei Nakada
08bd123b95
feature(scheduler): add "goroutines" metric and deprecate the "scheduler_goroutines" metric
2022-09-01 13:21:21 +00:00
Dave Chen
7533748bcc
fix: Node not found when testcases is executed
...
Signed-off-by: Dave Chen <dave.chen@arm.com >
2022-08-31 18:28:48 +08:00
ialidzhikov
7c8a151faa
pkg/scheduler: Replace deprecated func usage from the k8s.io/utils/pointer pkg
2022-08-16 08:39:18 +03:00
kerthcet
97e3e50493
Remove potential goroutine leak in NewFramework
...
Signed-off-by: kerthcet <kerthcet@gmail.com >
2022-08-06 00:05:22 +08:00
Alex Wang
f4bc904376
implementation for MatchLabelKeys in TopologySpreadConstraint
...
Signed-off-by: Alex Wang <wangqingcan1990@gmail.com >
2022-07-30 13:23:49 +08:00
kerthcet
5a358f478b
Fix: filter out unsatisfied nodes when calling AddPod in PodTopologySpread
...
Signed-off-by: kerthcet <kerthcet@gmail.com >
2022-07-01 11:46:26 +08:00
Kubernetes Prow Robot
df92c0a6fb
Merge pull request #110493 from xiaomudk/remove-parentheses
...
clean: remove useless parentheses
2022-06-13 06:44:22 -07:00
xiaomudk
5826cae547
clean: remove useless parentheses
2022-06-10 00:09:50 +08:00
lokichoggio
60327c9090
code optimization
2022-06-06 14:23:42 +08:00
Wojciech Tyczyński
7060953b92
Clear shutdown of scheduler metrics recorder
2022-05-20 20:23:29 +02:00
kerthcet
790d983867
feat: implement NodeInclusionPolicy in TopologySpreadConstraint
...
Signed-off-by: kerthcet <kerthcet@gmail.com >
2022-05-11 07:51:18 +08:00
Kubernetes Prow Robot
2b1b849d6a
Merge pull request #108362 from sanposhiho/implement-mindomains
...
Implement MinDomains on Pod Topology Spread
2022-03-15 10:34:11 -07:00
Kubernetes Prow Robot
d7bd0d4f52
Merge pull request #108648 from ahg-g/ahg-ds
...
Update PreFilter interface to return a PreFilterResult
2022-03-14 18:50:20 -07:00
Abdullah Gharaibeh
5b20b68bc9
Updated the scheduler framework's PreFilter interface to return a PreFilterResult
2022-03-14 15:36:52 -04:00
sanposhiho
6141aa53f9
Implement MinDomains
2022-03-15 01:38:44 +09:00
sanposhiho
3b13e9445a
Add MinDomains API to TopologySpreadConstraints field
2022-03-09 20:57:12 +09:00
Kubernetes Prow Robot
6410ddaba9
Merge pull request #107623 from bbarnes52/podtopologyoptimization
...
Optimize pod topology spread performance
2022-02-04 15:58:58 -08:00
Brian Barnes
4222d3a48e
optimize pod topology spread
2022-02-04 10:27:58 -08:00
Wei Huang
939e98135c
sched: fix goroutine leak in unit tests
2022-01-22 22:53:11 -08:00
Kubernetes Prow Robot
39136784a4
Merge pull request #107009 from kerthcet/feature/fix-wrong-calculate-in-podTopologySpread
...
nodeAffinity filtered nodes should be excluded when calculating skew …
2022-01-11 08:33:16 -08:00