Commit Graph

19 Commits

Author SHA1 Message Date
zhy76 adef1e5974 feat: add license and verify license for code file
Signed-off-by: zhy76 <958474674@qq.com>
2023-11-16 11:11:21 +08:00
chaosi-zju 4241e88085 implementation of divide replicas by static weight evenly
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2023-11-15 14:47:01 +08:00
whitewindmills 45c995a9e1 add new schedule condition reason
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2023-07-17 18:38:41 +08:00
Garrybest 2dd48e029a dispense replicas for job
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-12-23 10:11:44 +08:00
Garrybest b4803c42c9 refactor dynamic schedule
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-12-15 18:57:45 +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
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
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
yingjinhui dafe30c649 fix test fail on arm64 mac `panic: permission denied`, removing gomonkey
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-05-16 20:07:40 +08:00
huone1 c876bb624f fix rb spec.Clusters is incorrent in some scenarios
Signed-off-by: huone1 <huwanxing@huawei.com>
2022-03-08 11:02:26 +08:00
huone1 f7e6ecd56a [feature]support rescheduling when deleting a cluster
Signed-off-by: huone1 <huwanxing@huawei.com>
2022-03-03 09:49:44 +08:00
huone1 6d8d68a72c delete some invalid logic in static weight strategy
Signed-off-by: huone1 <huwanxing@huawei.com>
2022-02-19 15:33:02 +08:00
huone1 75aa4ce0e6 fix spreadconstraints[i].MaxGroups Invalidation when scaleup replicas
Signed-off-by: huone1 <huwanxing@huawei.com>
2022-02-08 10:53:54 +08:00
dddddai ff83773c5e remove redundant sort
Signed-off-by: dddddai <dddwq@foxmail.com>
2021-12-17 10:24:33 +08:00
Garrybest eb0dac3a68 merge scale scheduling with normal scheduling
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-12-07 10:02:58 +08:00
xinjie xu 804bbed87c logic patch for calculating desireReplicaInfos
Signed-off-by: xinjie xu <1912747539@qq.com>
2021-11-18 21:04:06 +08:00
Garrybest a29f3f7a50 divide replicas by dynamic weight
Signed-off-by: Garrybest <garrybest@foxmail.com>
Co-authored-by: junqian <junqian@tencent.com>
2021-11-06 22:38:57 +08:00