Kubernetes Prow Robot
18b81513b6
Merge pull request #112025 from kerthcet/refactor/handle-scheduling-failure
...
Refactor schedulingCycle and bindingCycle in scheduler
2022-10-21 08:31:51 -07:00
kerthcet
f7f857814f
Refactor schedulingCycle and bindingCycle in scheduler
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-10-21 13:53:18 +08:00
Kubernetes Prow Robot
8305358630
Merge pull request #108494 from sanposhiho/RunScorePlugins-return-type
...
change framework.RunScorePlugins to return slice organized by node
2022-10-20 08:57:02 -07:00
sanposhiho
cbf1ea5e68
change framework.RunScorePlugins to return slice organized by node
2022-10-20 01:04:38 +00:00
Kubernetes Prow Robot
2b6abb1b33
Merge pull request #113113 from kerthcet/fix/metics-in-scheduler
...
Fix metrics time durations in schedulerCycle and bindingCycle
2022-10-17 19:53:17 -07:00
kerthcet
1582c42e2b
Fix metrics time durations in schedulerCycle and bindingCycle
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-10-17 23:24:24 +08:00
Yuan Chen
7297f48f12
Add profile level percentageOfNodesToScore
...
Fix conversion errors
Changed the order
update
update
fix manaul coversions
keep the global parameter for backward compatibility
Address Wei's comments
Fix an error
Fix issues
Add unit tests for validation
Fix a comment
Address comments
Update comments
fix verifiation errors
Add tests for scheme_test.go
Convert percentageOfNodesToScore to pointer
Fix errors
Resolve conflicts
Fix testing errors
Address Wei's comments
Revert IntPtr to Int changes
Address comments
Not overrite percentageOfNodesToScore
Fix a bug
Fix a bug
change errs to err
Fix a nit
Remove duplication
Address comments
Fix lint warning
Fix an issue
Update comments
Clean up
Address comments
Revert changes to defaults
fix unit test error
Update
Fix tests
Use default PluginConfigs
2022-10-14 13:01:06 -07:00
kidddddddddddddddddddddd
121d24cfc7
changes in non-test files
2022-10-12 21:09:55 +08:00
Kubernetes Prow Robot
c5f795c8bf
Merge pull request #112222 from astraw99/fix-scheduler-misc
...
Update some scheduler misc
2022-09-14 18:37:22 -07:00
Kubernetes Prow Robot
3ac752e4a0
Merge pull request #112003 from sanposhiho/metrics-goroutine
...
feature(scheduler): add "goroutines" metric and deprecate the "scheduler_goroutines" metric
2022-09-12 12:01:16 -07:00
Kante Yin
096dafe757
Feat: unify the status handle when return in bindingCycle ( #112103 )
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-09-09 08:31:23 -07:00
astraw99
ee24513e47
Fix scheduler misc
2022-09-04 00:07:49 +08:00
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
Kensei Nakada
08bd123b95
feature(scheduler): add "goroutines" metric and deprecate the "scheduler_goroutines" metric
2022-09-01 13:21:21 +00: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