Kubernetes Prow Robot
904417b5d3
Merge pull request #110894 from yuanchen8911/prefilter
...
Consolidate PreFilter and Filter reason messages for scheduler
2022-09-02 16:34:27 -07:00
kerthcet
71d0b89e3e
Move constant schedulerError in scheduler to v1 package
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-09-01 23:43:20 +08:00
Yuan Chen
cf28762aef
Add PreFilter messages to Diagnosis
...
Address Wei Huang's comments
Define a separatorTemplate
Add test for scheduler FitError.Error()
2022-08-31 12:46:03 -07:00
kerthcet
eeb6e791d9
fix error type
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-08-24 16:02:21 +08:00
Kubernetes Prow Robot
ea4ff062ab
Merge pull request #111810 from Huang-Wei/sched-context-leak
...
Fix potential context leaking in scheduler
2022-08-23 19:01:12 -07:00
Kensei Nakada
1538bbd73d
fix(scheduler): split scheduleOne into two functions for schedulingCycle and bindingCycle
2022-08-19 14:09:18 +00:00
Wei Huang
a07e27082a
Fix potential context leaking in scheduler
2022-08-11 22:22:40 -07:00
Wei Huang
65ce36d257
sched: evaluate error message once
2022-07-20 10:18:53 -07:00
Wei Huang
4f77732540
merge MakeDefaultErrorFunc into handleSchedulingFailure
2022-07-12 12:11:16 -07:00
SataQiu
d3092cd296
scheduler: do not update sched.nextStartNodeIndex when evaluate nominated node
2022-07-07 10:02:28 +08:00
Yuan Chen
ef0456eb40
Refactor scheduler code
2022-06-30 11:27:25 -07:00
kerthcet
67b0ce87fe
Using inherited context in utils
...
This PR focus on utils in scheduler. When to patch pod status or delete pod,
it is better to use an inherited context.
Although this do not take a big effect in preventing goroutine leak, but it is a best practice
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-05-25 10:14:40 +08:00
shinta
22984402ab
impl 'IsWait' functions
...
Co-authored-by: Alex Wang <453102040@qq.com>
2022-05-04 12:36:13 +09:00
Kante
9bb76ecf00
migrate scheduling logic to schedule_one.go as more reasonable ( #109045 )
...
* refactor: migrate scheduling logic to scheduler_one.go as more reasonable
Signed-off-by: kerthcet <kerthcet@gmail.com>
* remove snapshot() function
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-03-27 08:51:20 -07:00