Commit graph

20 commits

Author SHA1 Message Date
Bartosz
d6d8639349
Fix queue hint for interpod antiaffinity 2025-12-16 13:01:15 +00:00
Maciej Skoczeń
c086bdeaa2 Add integration tests for gang queueing 2025-11-06 10:47:30 +00:00
Praveen Krishna
c06297b329 Add integration test for kube-scheduler plugin. 2025-11-06 01:21:17 +00:00
yliao
a181fd2eb8 removed NodeAffinity in the test cases as it is not needed 2025-11-04 18:55:41 +00:00
yliao
372328f281 reverted the inititial device class change 2025-11-04 16:43:40 +00:00
yliao
2e479e00f4 refactored the hint function, added test cases 2025-11-04 16:31:57 +00:00
yliao
14f17a3809 addressed review feedback 2025-11-03 22:53:27 +00:00
yliao
b609d4713c added integration test case 2025-11-03 21:27:41 +00:00
yliao
3eab698884 fixed unit test and integration test failures
Fix minor nits

Signed-off-by: Sai Ramesh Vanka <svanka@redhat.com>
2025-11-03 20:07:01 +05:30
Sai Ramesh Vanka
d8c66ffb63 Add a global cache to support DRA's extended resource to the device
class mapping

- Add a new interface "DeviceClassResolver" in the scheduler framework
- Add a global cache of mapping between the extended resource and the
  device class
- Cache can be leveraged by the k8s api-server, controller-manager along with the scheduler
- This change helps in delegating the requests to the dynamicresource
  plugin based on the mapping during the node update events and thus
avoiding an extra scheduling cycle

Signed-off-by: Sai Ramesh Vanka <svanka@redhat.com>
2025-11-03 12:31:16 +05:30
yliao
23d6f73e72 extended resource backed by DRA: test 2025-07-29 18:55:28 +00:00
Ania Borowiec
00d3750503
Move ClusterEvent type to staging repo, leaving some functions (that contain logic internal to scheduler) in kubernetes/kubernetes (#132190)
* Move ClusterEvent type to staging repo, leaving some functions (that contain logic internal to scheduler) in kubernetes/kubernetes

apply review comment and fix linter warning

* update-vendor.sh

* update doc comments

* run update-vendor.sh
2025-06-26 08:06:29 -07:00
utam0k
7ccb9657f7
sched: Apply EnablePlugins to CoreResourceEnqueueTestCases
Signed-off-by: utam0k <k0ma@utam0k.jp>
2025-06-02 21:19:38 +09:00
Maciej Skoczeń
e367dca6c5 Change backoffQ less function to order pods by priority in windows 2025-03-19 13:04:15 +00:00
googs1025
94471a5c5c feature(scheduler): add more requeue case for CSI plugin when the VolumeAttachment is deleted 2025-03-04 11:30:04 +08:00
utam0k
5aa4dd4a6e
Make it possible to pass a scheduler profile to RuntTestCoreResourceEnqueue
Signed-off-by: utam0k <k0ma@utam0k.jp>
2024-12-31 21:47:06 +09:00
Kubernetes Prow Robot
078664b424
Merge pull request #129023 from zhifei92/cleanup-actiontype
scheduler:  Rename UpdatePodTolerations for code style consistency
2024-12-12 05:28:52 +00:00
zhifei92
27608fa25d refactor(scheduler): Rename UpdatePodTolerations for code style consistency. 2024-11-29 13:13:09 +08:00
googs1025
c725e18e07 feature(scheduler): more fine-grained QHints for interpodaffinity plugin 2024-11-14 20:00:38 +08:00
Kensei Nakada
429abe33f1 fix: split TestCoreResourceEnqueue to deal with the timeout issue 2024-11-13 11:53:42 -07:00