AxeZhan
cf73c9d93c
remove EvaluatedNodes field in Diagnosis struct
2024-06-04 14:20:55 +08:00
Kubernetes Prow Robot
cfe5a7d03a
Merge pull request #125213 from carlory/fix-dra-flaky
...
fix dra flaky test on TestPlugin
2024-06-03 13:32:10 -07:00
Kubernetes Prow Robot
8bd36c60bd
Merge pull request #125197 from gabesaba/prefilter_perf
...
[scheduler] absent key in NodeToStatusMap implies UnschedulableAndUnresolvable
2024-06-03 07:35:41 -07:00
Gabe
c8f0ea1a54
Don't fill in NodeToStatusMap with UnschedulableAndUnresolvable
2024-05-31 15:52:16 +00:00
carlory
2794baf4c0
fix dra flaky test on TestPlugin
2024-05-30 23:22:37 +08:00
Kubernetes Prow Robot
ee2c1ffa80
Merge pull request #124630 from carlory/fix-123731
...
DRA: scheduler: index claim and class parameters to simplify lookup
2024-05-29 14:38:14 -07:00
Gabe
7ea3bf4db4
Revert "scheduler: preallocation for NodeToStatusMap"
...
This reverts commit 9fcd791c01
.
2024-05-29 14:09:58 +00:00
carlory
3072987fcc
DRA: scheduler: index claim and class parameters to simplify lookup
2024-05-27 15:57:10 +08:00
Kubernetes Prow Robot
0f584a9b86
Merge pull request #124933 from AxeZhan/fix_panic
...
[Scheduler] Use allNodes when calculating nextStartNodeIndex
2024-05-21 10:29:35 -07:00
AxeZhan
d6d1e6ad8a
base on allNodes when calculating nextStartNodeIndex
2024-05-18 00:30:38 +08:00
NoicFank
31a4b13238
enhancement(scheduler): share waitingPods among profiles
2024-05-17 17:07:27 +08:00
Toru Komatsu
5722db7aa3
QueueingHint for CSILimit when deleting pods ( #121508 )
...
Signed-off-by: utam0k <k0ma@utam0k.jp >
2024-05-14 11:07:11 -07:00
Kensei Nakada
9cd62186e8
cleanup: eliminate unncessary NodeToStatusMap creation
2024-05-11 12:14:22 +00:00
Kubernetes Prow Robot
9d87fa215d
Merge pull request #124735 from AxeZhan/evaluatedNodes
...
Change EvaluatedNodes to count Nodes that reach Filter phase only
2024-05-09 22:43:22 -07:00
AxeZhan
bcf1c55837
evaluated nodes only consider filter stage
2024-05-10 12:40:12 +08:00
Kubernetes Prow Robot
df074ed002
Merge pull request #124546 from carlory/remove-rbd
...
CephRBD volume plugin and its csi migration support are removed
2024-05-09 20:50:12 -07:00
Kubernetes Prow Robot
db82fd1604
Merge pull request #124618 from gabesaba/gated_performance
...
Filter gated pods before calling isPodWorthRequeueing
2024-05-09 11:33:23 -07:00
carlory
c8e91b9bc2
CephRBD volume plugin ( ) and its csi migration support were removed in this release
2024-05-09 22:55:34 +08:00
Kubernetes Prow Robot
e798b9c269
Merge pull request #124714 from sanposhiho/prealloc
...
scheduler: preallocation for NodeToStatusMap
2024-05-07 07:07:58 -07:00
Kensei Nakada
9fcd791c01
scheduler: preallocation for NodeToStatusMap
2024-05-07 00:01:24 +00:00
Kubernetes Prow Robot
8240d882ab
Merge pull request #124500 from carlory/scheduler-deprecate-non-csi-plugins
...
scheduler deprecates non-csi volumelimit plugins
2024-05-06 08:03:04 -07:00
Kubernetes Prow Robot
ade0d2140a
Merge pull request #124578 from sanposhiho/scheduler_perf_scheduler_plugin_execution_duration_seconds
...
support `scheduler_plugin_execution_duration_seconds` in scheduler_perf
2024-05-05 06:40:44 -07:00
Kubernetes Prow Robot
f97ac220fd
Merge pull request #124666 from chengjoey/ut-for-123465
...
add integration test for pod with pvc has node-affinity to non-existent/illegal nodes
2024-05-03 05:50:00 -07:00
joey
a56cc6b100
add integration test for pod with pvc has node-affinity to non-existent/existent nodes
...
Signed-off-by: joey <zchengjoey@gmail.com >
2024-05-03 19:45:31 +08:00
Kubernetes Prow Robot
de662bb8e0
Merge pull request #124669 from gabesaba/test_gated
...
Add unit test which checks QueuedPodInfo.Gated matches its source
2024-05-02 05:54:25 -07:00
Gabe
9a8197d0c3
Add unit test which checks Gated is set/unset properly
2024-05-02 10:41:19 +00:00
Gabe
6c6be931ee
revert unit test
2024-05-02 10:29:15 +00:00
Kubernetes Prow Robot
29a4812f03
Merge pull request #124080 from claudiubelu/skip-windows-tests
...
Skip failing Windows tests
2024-05-01 07:48:12 -07:00
Kubernetes Prow Robot
b27608875c
Merge pull request #124287 from sanposhiho/tainttoleration
...
implement QueueingHint in TaintToleration
2024-05-01 00:06:16 -07:00
Gabe
9a8ec13505
make linter happy
2024-04-30 12:06:26 +00:00
Gabe
4e99ada05f
Filter gated pods before calling isPodWorthRequeueing
2024-04-29 16:54:40 +00:00
carlory
06d3cd33b2
use slices library instead
2024-04-29 16:50:53 +08:00
wackxu
a4bfaae8a4
implement QueueingHint in TaintToleration
2024-04-29 07:18:35 +00:00
Kensei Nakada
c72b688e12
support scheduler_plugin_execution_duration_seconds
in scheduler_perf
2024-04-27 08:22:53 +00:00
Kubernetes Prow Robot
cffc2c0b40
Merge pull request #124102 from pohly/dra-scheduler-assume-cache
...
scheduler: move assume cache to utils
2024-04-26 08:49:12 -07:00
Claudiu Belu
2be8baeaef
unittests: Skip failing Windows tests
...
Some of the unit tests are currently failing on Windows.
Skip them for now, and remove the skips later, once the underlying issues
have been resolved.
2024-04-25 14:24:16 +00:00
Patrick Ohly
7f54c5dfec
scheduler: remove AssumeCache interface
...
There's no reason for having the interface because there is only one
implementation. Makes the implementation of the test functions a bit
simpler (no casting). They are still stand-alone functions instead of methods
because they should not be considered part of the "normal" API.
2024-04-25 11:46:58 +02:00
Patrick Ohly
26e0409c36
scheduler: move assume cache to utils, part 2
...
This is now used by both the volumebinding and dynamicresources plugin, so
promoting it to a common helper package is better.
In terms of functionality, nothing was changed. Documentation got
updated (warns about storing locally modified objects, clarifies what the Get
parameters are). Code coverage should be a bit better than before (tested with
and without indexer, exercises event handlers, more error paths).
Checking for specific errors can now be done via errors.Is.
2024-04-25 11:45:43 +02:00
Patrick Ohly
910b90fca3
scheduler: move assume cache to utils, part 1
...
This is a verbatim move resp. copy of the files. They don't build in their new
location yet.
2024-04-25 10:49:41 +02:00
carlory
a9f6374ba0
scheduler deprecates non-csi plugins
2024-04-25 14:27:01 +08:00
Kubernetes Prow Robot
58788c2f7b
Merge pull request #124466 from serathius/featuregate-defer
...
Cleanup defer from SetFeatureGateDuringTest function call
2024-04-24 15:31:21 -07:00
Kubernetes Prow Robot
bc05bef903
Merge pull request #124352 from wojtek-t/idempotent_transformer_func
...
Idempotent transformers in scheduler & kcm
2024-04-24 12:35:02 -07:00
Marek Siarkowicz
3ee8178768
Cleanup defer from SetFeatureGateDuringTest function call
2024-04-24 20:25:29 +02:00
Patrick Ohly
a66d2163f9
dra scheduler: fix data race in unit test
...
Clearing some irrelevant fields in objects caused a flaky data race alert
because in some cases, the objects were pointers into a shared cache. A better
solution is to treat the objects as read-only and ignore the irrelevant fields.
2024-04-19 17:14:13 +02:00
Kubernetes Prow Robot
b2a8ac15a0
Merge pull request #124221 from arturhoo/fix-spelling-scheduler-metrics
...
scheduler: fix typo in metric pod_scheduling_sli_duration_seconds help
2024-04-18 10:46:19 -07:00
Kubernetes Prow Robot
846e282d05
Merge pull request #124055 from yangjunmyfm192085/optklogprint
...
Optimize klog output(Use klog.KObj(pod) instead of pod)
2024-04-18 02:11:47 -07:00
Kubernetes Prow Robot
d2ce87eb94
Merge pull request #123938 from pohly/dra-structured-parameters-tests
...
DRA: test for structured parameters
2024-04-18 02:10:08 -07:00
Kubernetes Prow Robot
2c6d5fae7a
Merge pull request #122471 from nayihz/feat_podaffinity_qhint
...
interpodaffinity: scheduler queueing hints
2024-04-18 00:00:21 -07:00
Kubernetes Prow Robot
56b39eab7c
Merge pull request #119436 from claudiubelu/unittests-9
...
unittests: Fixes unit tests for Windows (part 9)
2024-04-17 22:51:32 -07:00
Wojciech Tyczyński
7b38106255
Idempotent transformers in scheduler & kcm
2024-04-17 21:08:44 +02:00