Commit Graph

175 Commits

Author SHA1 Message Date
Garrybest 6597fafd17 avoid calling apiserver when scheduling result has no changes
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-12-29 16:40:26 +08:00
karmada-bot 3d06bb84a3
Merge pull request #3000 from Fish-pro/fix/logupperstart
Uniform klog output starts with uppercase
2022-12-29 12:28:50 +08:00
chen zechun 83d43235e8 Uniform error log output starts with uppercase
Signed-off-by: chen zechun <zechun.chen@daocloud.io>
2022-12-28 19:12:36 +08:00
karmada-bot 6af94e239d
Merge pull request #2975 from Poor12/fix-region
[bugfix]when replicaDivisionPreference is Weighted and WeightPreference is nil
2022-12-27 18:16:52 +08:00
Poor12 dbcf60a696 log error when replicaDivisionPreference is Weighted and WeightPreference is nil
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-12-23 14:25:18 +08:00
Garrybest 2dd48e029a dispense replicas for job
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-12-23 10:11:44 +08:00
karmada-bot 73a1b8236e
Merge pull request #2946 from Garrybest/pr_division
refactor dynamic schedule
2022-12-16 10:15:42 +08:00
Garrybest b34bb6f13e add dynamic schedule test
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-12-15 18:58:02 +08:00
Garrybest b4803c42c9 refactor dynamic schedule
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-12-15 18:57:45 +08:00
karmada-bot 6111ad0e69
Merge pull request #2899 from Garrybest/pr_metrics
clean up metrics for scheduler, descheduler and estimator
2022-12-15 16:49:23 +08:00
karmada-bot 08b750d815
Merge pull request #2957 from chaunceyjiang/taint
Add detailed information about the taint
2022-12-15 14:26:24 +08:00
chaunceyjiang d33deaeead Add detailed information about the taint
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2022-12-15 10:57:36 +08:00
jwcesign 950b614fa7 Fix resource hangover in member cluster when propagating matching changes
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2022-12-13 14:55:50 +08:00
Garrybest c747cbcce7 clean up metrics for scheduler, descheduler and estimator
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-12-12 17:35:49 +08:00
Garrybest 470ba50455 get max weight for a cluster when construct weight list
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-11-26 10:55:16 +08:00
Garrybest 8d9780f838 refactor static weight strategy
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-11-22 15:28:04 +08:00
Garrybest 6ef82917ca refactor assign replicas strategy
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-11-22 13:25:20 +08:00
Poor12 5418b5d265 refactor events
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-11-15 15:34:22 +08:00
jwcesign f954b44c22 UT: import gomock to make write ut easier
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2022-10-25 10:34:35 +08:00
Poor12 5836639f69 add metrics_recorder for scheduler framework
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-10-20 16:35:11 +08:00
mathlsj 4c39d8deec Fix clusterInfoSnapshot may be nil it will caused painc
Signed-off-by: mathlsj <mathlsj@outlook.com>
2022-10-17 22:26:33 +08:00
karmada-bot 78fb5dbb3e
Merge pull request #2527 from carlory/fix-02
scheduler & descheduler introduce scheduler-estimator-service-prefix flag
2022-10-15 14:37:10 +08:00
raymondmiaochaoyue 6e1c4781f5 test registry.go
Signed-off-by: raymondmiaochaoyue <raymondmiaochaoyue@didiglobal.com>
2022-10-13 18:39:01 +08:00
carlory 23b52270da karmada scheduler & descheduler introduce scheduler-estimator-service-prefix flag
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-10-12 13:53:25 +08:00
karmada-bot c11fb634bc
Merge pull request #2302 from Garrybest/pr_diagnosis
add scheduling diagnosis
2022-10-11 10:47:08 +08:00
Poor12 1d282bf179 add metrics test for scheduler
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-09-30 15:39:00 +08:00
raymondmiaochaoyue f4fc3d1480 1. Support deploy karmada-scheduler-estimator in physical machine.
2. remove unnecessary sudo

Signed-off-by: raymondmiaochaoyue <raymondmiaochaoyue@didiglobal.com>
2022-09-26 16:25:16 +08:00
Garrybest b19cdb1031 add scheduling diagnosis
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-09-18 17:04:54 +08:00
dddddai 01f37c160c adopt transform func to save memory
Signed-off-by: dddddai <dddwq@foxmail.com>
2022-09-16 10:43:05 +08:00
changzhen 8b4eb7b310 fix bug of #2447: when replicaDivisionPreference is Weighted and WeightPreference is nil
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-08-30 21:51:50 +08:00
changzhen 4049bf8285 don't consider the older cluster when filter with taint_toleration
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-08-30 20:52:23 +08:00
chaunceyjiang 90ce5e004e Reschedule ResourceBinding when adding a cluster
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2022-08-27 11:01:25 +08:00
Garrybest ff94289352 remove Failover from scheduler
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-08-22 14:23:16 +08:00
karmada-bot 0cc00f7bcf
Merge pull request #2345 from yy158775/patch-update
patch resourcebinding instead of update and update observed generation.
2022-08-10 08:56:08 +08:00
yy158775 2d8d70202b add test for Scheduler's patchXXX
Signed-off-by: yy158775 <1584616775@qq.com>
2022-08-09 11:59:46 +08:00
AllenZMC eecb74f513 add ut for spreadconstraint
Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>
2022-08-07 23:28:00 +08:00
yy158775 194a448b6f patch ClusterResourceBinding instead of update and update observed generation.
Signed-off-by: yy158775 <1584616775@qq.com>
2022-08-07 16:49:40 +08:00
RainbowMango 286805c239 patch resourcebinding instead of update and update observed generation.
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-08-05 09:17:01 +08:00
karmada-bot 02836f928d
Merge pull request #1854 from likakuli/feature_notreadytaint
feat: use taint instead of condition to filter cluster
2022-07-22 16:57:48 +08:00
karmada-bot 37ffc7dfd5
Merge pull request #2135 from chaunceyjiang/scheduler_plugins
custom enable or disable of scheduler plugins
2022-07-20 15:59:44 +08:00
chaunceyjiang fc600ae003 custom scheduler plugin
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2022-07-20 11:16:02 +08:00
karmada-bot ab0883e73d
Merge pull request #2170 from RainbowMango/pr_rename_plugin
Rename scheduler plugin name
2022-07-19 10:27:43 +08:00
Garrybest 1d2028b10f add taint manager
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-07-15 10:42:38 +08:00
RainbowMango 8159189708 Rename scheduler plugin name
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-07-11 18:05:08 +08:00
prodan 2f35a48c5e add: disable-scheduler-estimator-in-pull-mode flag
Signed-off-by: prodan <pengshihaoren@gmail.com>
2022-06-30 12:10:37 +08:00
kerthcet 84cc6f8500 Feat: add outOfTree plugin entry when initializing scheduler
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-06-01 20:32:54 +08:00
karmada-bot 3f1d0cf81c
Merge pull request #1720 from CharlesQQ/scheduler-feature
feat: allow propagate workload to cluster but replicas is zero
2022-05-30 20:37:49 +08:00
likakuli a42c819c10 feat: taint cluster by condition and filter cluster by taint in scheduler
Signed-off-by: likakuli <1154584512@qq.com>
2022-05-29 11:54:11 +08:00
chang.qiangqiang 962089cb01 feat: add command option for enable-empty-workload-propagation
Signed-off-by: charlesQQ <charles_ali@qq.com>

Author:   charlesQQ <charles_ali@qq.com>
2022-05-26 00:52:15 +08:00
RainbowMango db217990dd supply unit test to cover zero replica case
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-05-20 11:39:14 +08:00