Kubernetes Prow Robot
609bf00201
Merge pull request #130189 from ania-borowiec/129967_get_rid_of_caching_cluster_events_in_binding
...
Call queue.Done() before PreBind phase, removing the pod in binding from inFlightPods to save memory
2025-03-20 18:18:38 -07:00
Kubernetes Prow Robot
838f3c0852
Merge pull request #130577 from KevinTMtz/pod-level-hugepages
...
[PodLevelResources] Pod Level Hugepage Resources
2025-03-20 15:34:38 -07:00
Ania Borowiec
17acc4a5ee
Move queue.Done() before Prebind, add tests
2025-03-20 22:14:36 +00:00
Kubernetes Prow Robot
322083c948
Merge pull request #130772 from macsko/pop_from_backoffq_when_activeq_is_empty_new
...
Pop from backoffQ when activeQ is empty
2025-03-20 13:08:47 -07:00
Kevin Torres
b9e0d4ad66
Unit tests for pod level hugepage resources
2025-03-20 17:54:39 +00:00
Maciej Skoczeń
c7919f5e22
Pop from the backoffQ when the activeQ is empty
2025-03-20 16:07:13 +00:00
Kubernetes Prow Robot
473533adaa
Merge pull request #130638 from A-transformer/fix_typo_matchexpressions
...
fix typo
2025-03-20 03:52:38 -07:00
Kubernetes Prow Robot
65d9066665
Merge pull request #130680 from macsko/update_backoffq_less_function_to_order_by_priority_in_windows
...
Update backoffQ's less function to order pods by priority in windows
2025-03-20 01:36:31 -07:00
Cici Huang
f04cfdf6e7
Update gofmt.
2025-03-19 23:21:30 +00:00
Cici Huang
6d7f11689d
Complete feature impl, fix issues, add perDeviceNodeSelection support, add tests, address comments, etc.
2025-03-19 22:10:48 +00:00
Morten Torkildsen
ecba6cde1d
Allocator updates
2025-03-19 22:10:48 +00:00
Kubernetes Prow Robot
5c4071cc1d
Merge pull request #130649 from natasha41575/pod-conditions-scheduler
...
[FG:PodObservedGenerationTracking] scheduler sets observedGeneration on pod conditions
2025-03-19 13:00:40 -07:00
Kubernetes Prow Robot
ab3cec0701
Merge pull request #130447 from pohly/dra-device-taints
...
device taints and tolerations (KEP 5055)
2025-03-19 13:00:32 -07:00
Natasha Sarkar
1889e0cad6
scheduler sets observedGeneration in pod conditions
2025-03-19 15:45:41 +00:00
Maciej Skoczeń
e367dca6c5
Change backoffQ less function to order pods by priority in windows
2025-03-19 13:04:15 +00:00
Jon Huhn
5760a4f282
DRA scheduler: device taints and tolerations
...
Thanks to the tracker, the plugin sees all taints directly in the device
definition and can compare it against the tolerations of a request while
trying to find a device for the request.
When the feature is turnedd off, taints are ignored during scheduling.
2025-03-19 09:18:38 +01:00
Patrick Ohly
a027b439e5
DRA: add device taint eviction controller
...
The controller is derived from the node taint eviction controller.
In contrast to that controller it tracks the UID of pods to prevent
deleting the wrong pod when it got replaced.
2025-03-19 09:18:38 +01:00
Kubernetes Prow Robot
4dfed146e0
Merge pull request #130891 from pohly/dra-scheduler-plugin-unit-test-fix
...
DRA scheduler: fix potential panic during unit test verification
2025-03-18 20:34:16 -07:00
Eddie Torres
c766a52356
Implement KEP 4876 Mutable CSINode ( #130007 )
...
* Implement KEP-4876 Mutable CSINode Allocatable Count
Signed-off-by: torredil <torredil@amazon.com >
* Update TestGetNodeAllocatableUpdatePeriod
Signed-off-by: torredil <torredil@amazon.com >
* Implement CSINodeUpdater
Signed-off-by: torredil <torredil@amazon.com >
* Use sync.Once in csiNodeUpdater
Signed-off-by: torredil <torredil@amazon.com >
* ImVerify driver is installed before running periodic updates
Signed-off-by: torredil <torredil@amazon.com >
* Update NodeAllocatableUpdatePeriodSeconds type comment
Signed-off-by: torredil <torredil@amazon.com >
* Leverage apivalidation.ValidateImmutableField in ValidateCSINodeUpdate
Signed-off-by: torredil <torredil@amazon.com >
* Update strategy functions
Signed-off-by: torredil <torredil@amazon.com >
* Run hack/update-openapi-spec.sh
Signed-off-by: torredil <torredil@amazon.com >
* Update VolumeError.ErrorCode field
Signed-off-by: torredil <torredil@amazon.com >
* CSINodeUpdater improvements
Signed-off-by: torredil <torredil@amazon.com >
* Iron out concurrency in syncDriverUpdater
Signed-off-by: torredil <torredil@amazon.com >
* Run hack/update-openapi-spec.sh
Signed-off-by: torredil <torredil@amazon.com >
* Revise logging
Signed-off-by: torredil <torredil@amazon.com >
* Revise log in VerifyExhaustedResource
Signed-off-by: torredil <torredil@amazon.com >
* Update API validation
Signed-off-by: torredil <torredil@amazon.com >
* Add more code coverage
Signed-off-by: torredil <torredil@amazon.com >
* Fix pull-kubernetes-linter-hints
Signed-off-by: torredil <torredil@amazon.com >
* Update API types documentation
Signed-off-by: torredil <torredil@amazon.com >
* Update strategy and validation for new errorCode field
Signed-off-by: torredil <torredil@amazon.com >
* Update validation tests after strategy changes
Signed-off-by: torredil <torredil@amazon.com >
* Update VA status strategy
Signed-off-by: torredil <torredil@amazon.com >
---------
Signed-off-by: torredil <torredil@amazon.com >
2025-03-18 12:45:49 -07:00
Patrick Ohly
d95d6ba526
DRA scheduler: fix potential panic during unit test verification
...
If there was an unexpected status, the code extracting the expected error
message crashed with a panic. Happened once so far, for unknown reasons
because the unexpected status then didn't get logged.
2025-03-18 15:07:51 +01:00
Kubernetes Prow Robot
ded2956c83
Merge pull request #130886 from macsko/fix_race_when_closing_activeq
...
Fix a race when closing activeQ
2025-03-18 06:32:07 -07:00
Kubernetes Prow Robot
83c5f99f97
Merge pull request #128184 from cupnes/add-storage-capacity-scoring
...
KEP-4049: Add storage capacity scoring to VolumeBinding plugin
2025-03-18 03:49:49 -07:00
Maciej Skoczeń
1be3f8961b
Fix a race when closing activeQ
2025-03-18 10:25:56 +00:00
A-transformer
decd11414b
fix typo
...
selecterTerms -> selectorTerms
2025-03-18 09:56:15 +04:00
Natasha Sarkar
a15520fbea
Move pod resize status to pod conditions
2025-03-17 22:01:05 +00:00
Yuma Ogami
bc74476bdb
Remove VolumeCapacityPriority feature gate
2025-03-17 00:49:58 +00:00
Yuma Ogami
43382b1b39
Switch control from VolumeCapacityPriority to StorageCapacityScoring
...
The tests and comments have also been updated because while
VolumeCapacityPriority preferred a node with the least allocatable,
StorageCapacityScoring preferred a node with the maximum allocatable.
2025-03-17 00:49:58 +00:00
bells17
f6ddee95f9
Add storage capacity scoring to VolumeBinding plugin
2025-03-17 00:49:58 +00:00
Maciej Skoczeń
9df0f6b604
Call PreEnqueue plugins before adding pod to backoffQ
2025-03-14 08:47:40 +00:00
carlory
aab7a079fa
make each scheduler test independent
...
Signed-off-by: carlory <baofa.fan@daocloud.io >
2025-03-13 14:39:50 +08:00
dom4ha
4deb4f2b5f
Trigger rescheduling on delete event also when unscheduled pod is removed
2025-03-10 15:03:50 +00:00
Kubernetes Prow Robot
4806519423
Merge pull request #130622 from pohly/DRAPrioritizedList
...
DRA: Prioritized Alternatives in Device Requests, II
2025-03-10 06:51:51 -07:00
A-transformer
fabd449d7f
fix typo
...
MatchExpressions , fix typo
2025-03-07 17:50:03 +04:00
Kubernetes Prow Robot
43560c620a
Merge pull request #130522 from googs1025/feature/integration_filter_TaintToleration
...
chore(scheduler): add filter integration tests for missing part plugins: TaintToleration plugin
2025-03-07 04:15:45 -08:00
Kubernetes Prow Robot
c7088e6437
Merge pull request #130260 from Bowser1704/fix/skip-best-effort-pods
...
fix(scheduler): skip best-effort pods in BalancedAllocation PreScore
2025-03-07 01:11:45 -08:00
Patrick Ohly
dfb8ab6521
DRA scheduler: fail in PreFilter when DRAPrioritizedList is disabled and used
...
This was previously caught during Filter by the allocator check. Doing it
sooner avoids wasting resources on a pod which ultimately cannot get scheduled.
While at it, be a bit more clear about which feature is disabled. The user
might not know that.
2025-03-07 08:45:32 +01:00
Hongqi Yu
d76f40d2f3
fix(scheduler): skip best-effort pods in BalancedAllocation PreScore
...
- Refactored `PreScore` method in `balanced_allocation.go` to skip
best-effort pods.
- Updated unit tests in `balanced_allocation_test.go` to check for
the new status codes.
2025-03-07 13:13:02 +08:00
Kubernetes Prow Robot
9d45ea8b9d
Merge pull request #128586 from mortent/DRAPrioritizedList
...
Prioritized Alternatives in Device Requests
2025-03-06 21:01:44 -08:00
googs1025
032b05114c
chore(scheduler): add filter integration tests for missing part plugins: TaintToleration plugin
2025-03-07 09:33:49 +08:00
Kubernetes Prow Robot
0f7becbc44
Merge pull request #130537 from saintube/scheduler-expose-nodeinfo-in-score
...
Expose NodeInfo to the ScorePlugin
2025-03-06 06:53:55 -08:00
Maciej Skoczeń
2fc3cd90b1
Store pod backoff expiration time in QueuedPodInfo
2025-03-06 10:45:38 +00:00
Kubernetes Prow Robot
30ea0d13cd
Merge pull request #130317 from macsko/increment_schedulerqueueincomingpods_metric_when_adding_pods_to_unschedulable_when_gated
...
Add missing increments of queue_incoming_pods_total metric in scheduling queue
2025-03-05 02:19:45 -08:00
Maciej Skoczeń
6975572a80
Add missing increments of queue_incoming_pods_total metric in scheduling queue
2025-03-04 12:37:22 +00:00
saintube
afb4e96510
Expose NodeInfo to Score plugins
...
Co-authored-by: shenxin <rougang.hrg@alibaba-inc.com >
Signed-off-by: saintube <saintube@foxmail.com >
2025-03-04 17:57:14 +08:00
Kubernetes Prow Robot
58704903c5
Merge pull request #129887 from rhrmo/STOR-2270-make-failedscheduling-event-more-intuitive
...
Change volume affinity scheduling error message to be more intuitive
2025-03-03 22:51:48 -08:00
Richard Hrmo
526960f988
Change FailedScheduling Event message to be more intuitive
2025-03-03 16:56:18 +01:00
Morten Torkildsen
2229a78dfe
DRA: Update allocator for Prioritized Alternatives in Device Requests
2025-02-28 19:30:10 +00:00
Kubernetes Prow Robot
b8c95e1954
Merge pull request #129688 from cpanato/update-main-go124
...
[go] Bump images, dependencies and versions to go 1.24.0
2025-02-27 09:10:30 -08:00
Kubernetes Prow Robot
facb1a8c55
Merge pull request #129905 from ania-borowiec/129778_replace_equal
...
Replace reflect.DeepEqual with cmp.Diff in pkg/scheduler tests
2025-02-26 08:24:30 -08:00
googs1025
239aad8e4b
chore(scheduler): use framework.Features in scheduler plugins
2025-02-26 19:16:07 +08:00