Maciej Skoczeń
b29fdd1551
Forget pod from scheduler's cache immediately when it's deleted or has DeletionTimestamp set
2025-10-29 10:00:38 +00:00
Maciej Skoczeń
1137d51b35
Disable SchedulerAsyncAPICalls feature gate due to a known regression
2025-10-03 13:02:02 +00:00
Maciej Skoczeń
4275b8b759
Don't limit the number of goroutines dispatched by the API Dispatcher
2025-09-19 09:36:44 +00:00
Kubernetes Prow Robot
597a684bb0
Merge pull request #133172 from ania-borowiec/move_handle_and_plugin
...
Move interfaces: Handle and Plugin and related types from kubernetes/kubernetes to staging repo kube-scheduler
2025-09-08 06:05:31 -07:00
Maciej Skoczeń
4babdf8026
Fix race in movePodsToActiveOrBackoffQueue
2025-09-02 11:57:18 +00:00
Ania Borowiec
fadb40199f
Move interfaces: Handle and Plugin and related types from kubernetes/kubernetes to staging repo kube-scheduler
2025-09-02 09:42:53 +00:00
Kubernetes Prow Robot
5fb3296920
Merge pull request #132451 from macsko/fix_race_in_scheduler_integration_tests
...
Fix race in scheduler integration tests
2025-08-31 05:03:09 -07:00
Maciej Skoczeń
46e10103ff
Take activeQ lock for part of the Update method
2025-08-25 12:30:43 +00:00
Maciej Skoczeń
8b0b0df431
Don't run PreEnqueue when pod is activated from backoffQ
2025-08-22 12:40:41 +00:00
Maciej Skoczeń
aa59f930b3
Add lock to TestAsyncPreemption to prevent races
2025-08-05 09:43:12 +00:00
Maciej Skoczeń
c5ef720837
Fix race in scheduler integration tests
2025-08-05 09:42:52 +00:00
yliao
34a64db2c7
extended resource backed by DRA: implementation
2025-07-29 18:55:21 +00:00
Kensei Nakada
ac9fad6030
feat: trigger PreFilterPreBind in the binding cycle
2025-07-29 19:01:02 +09:00
Kubernetes Prow Robot
2a03dd1d5e
Merge pull request #133120 from utam0k/kep-5229-metrics
...
KEP-5229: Add the metrics
2025-07-28 03:58:36 -07:00
Maciej Skoczeń
17d733e243
KEP-5229: Send API calls through dispatcher and cache
2025-07-25 15:35:36 +00:00
utam0k
b956484c25
KEP-5229: Add metrics for async API dispatcher
...
Signed-off-by: utam0k <k0ma@utam0k.jp >
2025-07-25 19:29:14 +09:00
Kubernetes Prow Robot
a11bc701e8
Merge pull request #132457 from ania-borowiec/depends_on_cluster_move_podinfo
...
Moving Scheduler interfaces to staging: Move PodInfo and NodeInfo interfaces (together with related types) to staging repo, leaving internal implementation in kubernetes/kubernetes/pkg/scheduler
2025-07-24 09:38:27 -07:00
Ania Borowiec
aecd37e6fb
Moving Scheduler interfaces to staging: Move PodInfo and NodeInfo interfaces (together with related types) to staging repo, leaving internal implementation in kubernetes/kubernetes/pkg/scheduler
2025-07-24 12:10:58 +00:00
Maciej Skoczeń
4fc9546e0e
KEP-5229: Implement API dispatcher
2025-07-21 14:00:34 +00:00
Omar Nasser
45c355ca58
Move unschedulablePods struct to a separate file
2025-07-11 19:48:11 +03:00
Junhao Zou
1b730abf8d
cleanup: use HandleErrorWithXXX instead of logger.Error where errors are intentionally ignored
2025-07-08 09:34:49 +08:00
Ania Borowiec
ee8c265d35
Move Code and Status from pkg/scheduler/framework to k8s.io/kube-scheduler/framework
2025-06-30 10:06:22 +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
Kensei Nakada
f694c58c6c
feat: graduate QueueingHint to GA
2025-05-26 21:23:46 +02:00
Maciej Skoczeń
157903b09b
Skip backoff when PodMaxBackoffDuration is set to zero
2025-05-26 09:35:53 +00:00
Kensei Nakada
adc4916dfe
feat: introduce pInfo.UnschedulableCount to make the backoff calculation more appropriate
2025-05-17 12:39:58 +02:00
Kubernetes Prow Robot
0113538e59
Merge pull request #127180 from sanposhiho/general-gate
...
feat: introduce pInfo.GatingPlugin to filter out events more generally
2025-05-14 05:13:18 -07:00
Kensei Nakada
5140786829
feat: improve the backoff calculation to o(1)
2025-05-12 01:26:47 +02:00
Kensei Nakada
d28c8cd488
fix: not removing the plugin from the unsched plugins after PreEnqueue
2025-05-07 14:12:23 +02:00
Kensei Nakada
47d296d62d
feat: introduce pInfo.GatingPlugin to filter out events more generally
2025-05-07 13:54:47 +02:00
carlory
24257f2d31
Remove deprecated scheduler cache metrics
2025-04-24 11:45:38 +08:00
Ania Borowiec
17acc4a5ee
Move queue.Done() before Prebind, add tests
2025-03-20 22:14:36 +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
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
Maciej Skoczeń
e367dca6c5
Change backoffQ less function to order pods by priority in windows
2025-03-19 13:04:15 +00:00
Maciej Skoczeń
1be3f8961b
Fix a race when closing activeQ
2025-03-18 10:25:56 +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
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
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
Ania Borowiec
4205f04ce3
Replace uses of reflect.DeepEqual with cmp.Diff in pkg/scheduler tests
2025-02-26 09:27:51 +00:00
Kubernetes Prow Robot
65321bf5ee
Merge pull request #130214 from macsko/split_backoffq_into_backoffq_and_errorbackoffq
...
Split backoffQ into backoffQ and errorBackoffQ in scheduler
2025-02-24 10:48:36 -08:00
Maciej Skoczeń
0f24b9ff45
Split backoffQ into backoffQ and errorBackoffQ in scheduler
2025-02-24 14:11:26 +00:00
Keisuke Ishigami
6b16f05148
modify SchedulerCacheSize field comment because it will be removed at v1.34
2025-02-15 17:50:41 +09:00
Kubernetes Prow Robot
a716ea756d
Merge pull request #129635 from macsko/cache_calculateresource_result_when_adding_pod_to_nodeinfo
...
Use cached calculateResource result when removing pod from NodeInfo in preemption
2025-01-21 04:16:37 -08:00
Maciej Skoczeń
0452ae402a
Use cached calculateResource result when removing pod from NodeInfo in preemption
2025-01-21 10:02:57 +00:00
googs1025
65b243fcd6
chore: remove repeated scheduler prefix metrics for CacheSizeMetrics
2024-11-26 14:26:07 +08:00
Kubernetes Prow Robot
fb033826a8
Merge pull request #128170 from sanposhiho/async-preemption
...
feature(KEP-4832): asynchronous preemption
2024-11-07 19:44:54 +00:00