Commit Graph

4250 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
7a3a6cf4be Merge pull request #136725 from pravk03/native-dra-2
Introduce support of DRA for Native Resources
2026-03-19 03:36:38 +05:30
Kubernetes Prow Robot
e70704a43a Merge pull request #137489 from brejman/tas-complete
Integrate TAS logic into the pod group scheduling cycle
2026-03-19 01:02:32 +05:30
Praveen Krishna
3cd22dcb4f Verify that assumed pod NodeAllocatableResourceClaimStatuses matches the status to patch. 2026-03-18 19:20:11 +00:00
Praveen Krishna
11c8bf1f13 Cleanup NodeAllocatableDRAClaimStatus in Unreserve 2026-03-18 19:20:11 +00:00
Praveen Krishna
cdcfc4eeb3 Add integration tests. 2026-03-18 19:20:10 +00:00
Praveen Krishna
a84f938404 Validate Pod resources cover container and DRA requests. 2026-03-18 19:20:10 +00:00
Praveen Krishna
628365297a Add validation check to disallow node-allocatable resource claim sharing. 2026-03-18 19:20:10 +00:00
Praveen Krishna
9e22d7b033 Include node-allocatable claims in kubelet admission check 2026-03-18 19:20:10 +00:00
Praveen Krishna
7c4f9ace63 Account for node-allocatable claims in NodeInfo cache 2026-03-18 19:20:10 +00:00
Praveen Krishna
0c25bdf74d Update scheduler cache interface to pass node-allocatable resource allocations to NodeInfo. 2026-03-18 19:20:10 +00:00
Praveen Krishna
af186d3534 Implement changes in DRA Plugin to handle node-allocatable claims
* Filter: Calculate the pod's total resource footprint by combining spec requests and DRA allocations, respecting accounting policies. Perform node resource fit checks. Cache the resulting NodeAllocatableResourceClaimStatus in CycleState.
* PreBind: Retrieve result from CycleState and patch it into Pod.Status.
2026-03-18 19:17:30 +00:00
vshkrabkov
5ea4532969 Add PodGroupPodsCount placement score scheduler plugin (#137488)
* placement score plugin, grounded on count of scheduled pods and pods for placement

* align with v1alpha2 api changes

* addressing review comments

* plugin renaming
2026-03-18 23:20:57 +05:30
Ania Borowiec
dd31537e01 Integration tests for Topology Aware Scheduling 2026-03-18 15:43:18 +00:00
Bartosz
9ad4385472 Integrate placement plugins into placement scheduling algorithm 2026-03-18 15:38:37 +00:00
Kubernetes Prow Robot
1d69828518 Merge pull request #137611 from helayoty/helayoty/podgroup-status
KEP-5832: Add podGroup Status
2026-03-18 20:54:33 +05:30
Kubernetes Prow Robot
0d28578de1 Merge pull request #137795 from ttsuuubasa/dra-binding-conditions-beta
DRA Device Binding Conditions: graduate to beta
2026-03-18 19:18:33 +05:30
helayoty
744acc4277 Handle oldStatus nil case and check message overwrite
Signed-off-by: helayoty <heelayot@microsoft.com>
2026-03-18 11:05:20 +00:00
Kubernetes Prow Robot
09183519e6 Merge pull request #137804 from macsko/fix_race_in_podgroupstate_locking
Fix race in podGroupState locking
2026-03-18 15:16:34 +05:30
Kubernetes Prow Robot
5953c57c6b Merge pull request #137607 from 0xMH/fix/133531-dra-queueing-hint
DRA: return error on filter timeout instead of unschedulable
2026-03-18 14:26:31 +05:30
Maciej Skoczeń
5e07560178 Fix race in TestActivatePods testing code 2026-03-18 07:32:48 +00:00
Maciej Skoczeń
6aeb784eda Fix race in podGroupState locking 2026-03-18 07:26:11 +00:00
helayoty
88cccd9d7e enhance unit tests
Signed-off-by: helayoty <heelayot@microsoft.com>
2026-03-18 06:48:54 +00:00
helayoty
b728516811 skip setting condition to False if it was True
Signed-off-by: helayoty <heelayot@microsoft.com>
2026-03-18 05:10:53 +00:00
helayoty
3e9c4966ff Address code review feedback
Signed-off-by: helayoty <heelayot@microsoft.com>
2026-03-18 05:10:50 +00:00
helayoty
0ccf6c7b1a Add integration tests for PodGroup conditions
Signed-off-by: helayoty <heelayot@microsoft.com>
2026-03-18 05:09:51 +00:00
helayoty
57ba60526f Implement podGroup Status
Signed-off-by: helayoty <heelayot@microsoft.com>
2026-03-18 05:05:42 +00:00
Tsubasa Watanabe
57e649ae03 DRA Device Binding Conditions: update unit and integration tests
- update expectations for the default BindingTimeout in KubeSchedulerConfiguration
- DRA unit tests:
  - enable DRADeviceBindingConditions by default
  - add allocationTimestamp to expected ResourceClaims for PreBind cases
- disable DRADeviceBindingConditions when testing the stable allocator in TestSchedulerPerf

Signed-off-by: Tsubasa Watanabe <w.tsubasa@fujitsu.com>
2026-03-18 13:44:30 +09:00
Hamza
67deec3bfa DRA: include node name in timeout error and rework FilterTimeout test setup 2026-03-18 04:33:24 +01:00
Kubernetes Prow Robot
5f3eeab332 Merge pull request #137768 from macsko/fix_gated_pop_podgroups
Handle gated pods correctly while popping PodGroup members
2026-03-18 05:20:25 +05:30
Kubernetes Prow Robot
299ab0d68a Merge pull request #137271 from brejman/tas-constraints
KEP-5732: Add SchedulingConstraints to PodGroup API and use them in TopologyPlacement plugin
2026-03-18 05:19:47 +05:30
Kubernetes Prow Robot
412e246d69 Merge pull request #137799 from macsko/store_assumed_pod_on_podgroupstate_assume
Store assumed pod object on podGroupState.assumePod
2026-03-17 19:05:51 +05:30
Bartosz
d9da8c7c4a Add scheduling constraints to v1alpha2 pod group api
Add plugin to generate placements based on scheduling constraints

Co-authored-by: Antoni Zawodny <zawodny@google.com>
2026-03-17 13:27:46 +00:00
Maciej Skoczeń
0e8d10fe48 Handle gated pods correctly while popping PodGroup members 2026-03-17 10:56:38 +00:00
Maciej Skoczeń
47fe3d2ced Store assumed pod object on podGroupState.assumePod 2026-03-17 09:59:31 +00:00
Maciej Skoczeń
38f536c713 Use CycleState.IsPodGroupSchedulingCycle instead of NeedsPodGroupScheduling for pods 2026-03-17 09:10:52 +00:00
Kubernetes Prow Robot
c332baec33 Merge pull request #136155 from bhope/metrics-beta-scheduler
Promote scheduler metrics to beta
2026-03-17 04:47:37 +05:30
Kubernetes Prow Robot
a415416a32 Merge pull request #137775 from macsko/add_getnode_method_to_cache
Add GetNode method to scheduler cache for testing
2026-03-16 23:37:55 +05:30
Kubernetes Prow Robot
d763ae8f6f Merge pull request #137073 from iomarsayed/snapshot-podgroup-state-before-scheduling-cycle
Snapshot PodGroup state before initiating scheduling cycle
2026-03-16 23:37:48 +05:30
Kubernetes Prow Robot
ac976cf6a1 Merge pull request #136652 from brejman/kep-5732-tas-placement-plugin-config
Extend NodeResourcesFit plugin to score placements in the PodGroup scheduling cycle
2026-03-16 23:37:40 +05:30
Bartosz
9533a4eddb Implement PlacementScorePlugin in NodeResourcesFit 2026-03-16 15:13:46 +00:00
Maciej Skoczeń
19eeddaa92 Add GetNode method to scheduler cache for testing 2026-03-16 14:21:14 +00:00
Kubernetes Prow Robot
1817e10998 Merge pull request #136185 from tallclair/ndf-bitmap
Optimize NodeDeclaredFeatures with a bitmap FeatureSet implementation
2026-03-14 06:37:34 +05:30
Prathamesh Bhope
d66ae77959 Promote scheduler metrics to beta 2026-03-13 16:06:42 -07:00
Omar Sayed
e1b18e34ff snapshot pod group state before scheduling cycle and embed pod group manager into cache 2026-03-13 21:44:17 +00:00
Kubernetes Prow Robot
7f3a5ab96f Merge pull request #136579 from romanbaron/reuse-scheduling-signature
Reuse pod scheduling signature for opportunistic batching
2026-03-13 20:15:39 +05:30
Patrick Ohly
85bca3b684 DRA device taints: fix beta-enabled, alpha-disable configurations
DeviceTaintRule is off by default because the corresponding v1beta2 API group
is off. When enabled, the potentially still disabled v1alpha3 API version was
used instead of the new v1beta2, causing the scheduler to fail while setting up
informers and then not scheduling pods.
2026-03-13 09:20:57 +01:00
Tim Allclair
39a4f7654a Optimize NDF FeatureMapper.Unmap for sparse feature sets 2026-03-13 04:28:16 +00:00
Tim Allclair
b1b75f93d7 Make size explicit; switch to binary string format 2026-03-13 04:28:16 +00:00
Tim Allclair
1c2b07fa22 Avoid computing feature diff when not necessary 2026-03-13 04:28:16 +00:00
Tim Allclair
f91f641a65 Switch to bitmapped FeatureSet implementation. 2026-03-13 04:28:16 +00:00