Maciej Skoczeń
6233b25907
Introduce Workload Scheduling Cycle
...
Add integration tests for gang and basic policy workload scheduling
Add more tests for cluster snapshot
Proceed to binding cycle just after pod group cycle
Enforce one scheduler name per pod group, rename workload cycle to pod group cycle
Add unit tests for pod group scheduling cycle
Run ScheduleOne tests treating pod as part of a pod group
Rename NeedsPodGroupCycle to NeedsPodGroupScheduling
Observe correct per-pod and per-podgroup metrics during pod group cycle
Rename pod group algorithm status to waiting_on_preemption
Mention forgotAllAssumedPods is a safety check
2026-02-17 09:02:32 +00:00
Mohammad Varmazyar
4f455c9c0d
Refactor plugin clearing to use ClearRejectorPlugins method
2025-11-26 09:54:32 +01:00
Mohammad Varmazyar
d64e09c697
Clear plugins at handleSchedulingFailure and preserve both at Pop
2025-11-24 20:32:41 +01:00
Mohammad Varmazyar
ec05bcf186
test: simplify TestFlushUnschedulablePodsLeftoverSetsFlag
...
scheduler: add logging for pods scheduled after flush and preserve UnschedulablePlugins
2025-11-24 09:55:52 +01:00
Maciej Skoczeń
4babdf8026
Fix race in movePodsToActiveOrBackoffQueue
2025-09-02 11:57:18 +00:00
Maciej Skoczeń
46e10103ff
Take activeQ lock for part of the Update method
2025-08-25 12:30:43 +00: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
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
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
adc4916dfe
feat: introduce pInfo.UnschedulableCount to make the backoff calculation more appropriate
2025-05-17 12:39:58 +02:00
Kensei Nakada
47d296d62d
feat: introduce pInfo.GatingPlugin to filter out events more generally
2025-05-07 13:54:47 +02:00
Maciej Skoczeń
c7919f5e22
Pop from the backoffQ when the activeQ is empty
2025-03-20 16:07:13 +00:00
Maciej Skoczeń
1be3f8961b
Fix a race when closing activeQ
2025-03-18 10:25:56 +00:00
Maciej Skoczeń
2fc3cd90b1
Store pod backoff expiration time in QueuedPodInfo
2025-03-06 10:45:38 +00:00
Maciej Skoczeń
6975572a80
Add missing increments of queue_incoming_pods_total metric in scheduling queue
2025-03-04 12:37:22 +00:00
Kensei Nakada
83f9e4b6df
cleanup: remove event list
2024-10-18 11:10:10 +10:00
Kubernetes Prow Robot
f248c24456
Merge pull request #127182 from sanposhiho/cleanup-metrics
...
chore: cleanup inFlightPods when closing the queue
2024-09-06 12:05:42 +01:00
Kensei Nakada
d76433554e
chore: cleanup inFlightPods when closing the queue
2024-09-06 17:12:28 +09:00
Kensei Nakada
6d357d2476
fix: discard a pod at Pop() when the pod is being scheduled
2024-09-05 22:30:43 +09:00
Kensei Nakada
b5ed15b94a
feat: implement a force flush
2024-09-04 21:59:27 +09:00
Kensei Nakada
110d28355d
feat(scheduler): support inflight_events metric
2024-09-02 10:16:43 +09:00
Kensei Nakada
8519d3399f
chore: move the scheduler internal components out of internal dir
2024-08-25 13:10:29 +09:00