karmada-bot
c3c90efeeb
Merge pull request #5316 from qinguoyi/perf-findpath
...
perf:make findFeasiblePaths faster
2024-08-08 13:50:28 +08:00
qinguoyi
df681d0861
chore:clean up
...
Signed-off-by: qinguoyi <1532979219@qq.com>
2024-08-08 10:55:03 +08:00
qinguoyi
2db9dc4811
chore:clean up
...
Signed-off-by: qinguoyi <1532979219@qq.com>
2024-08-08 10:55:03 +08:00
qinguoyi
a98041281d
perf:make findFeasiblePaths faster
...
Signed-off-by: qinguoyi <1532979219@qq.com>
2024-08-08 10:55:03 +08:00
changzhen
1b4e829ffd
update left slice length in the resortAvailableClusters func
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-08-05 17:24:35 +08:00
mszacillo
01be91b9db
GroupClusters should sort by score and availableReplica count
...
Signed-off-by: mszacillo <mszacillo@bloomberg.net>
2024-07-08 17:14:19 -04:00
mszacillo
23c9dc9a1e
Account for unschedulable plugin result during maxreplica estimation
...
Signed-off-by: mszacillo <mszacillo@bloomberg.net>
2024-06-05 09:43:48 -04:00
Lan Liang
ed0f26c328
cleanup pointer, use ptr.Toto obtain a pointer, ptr.Deref to dereference a pointer.
...
The new k8s.io/utils/ptr package provides generic wrapper functions,
which can be used instead of type-specific pointer wrapper functions.
This replaces the latter with the former, and migrates other uses of
the deprecated pointer package to ptr in affacted files.
See kubernetes/utils#283 for details.
Signed-off-by: Lan Liang <gcslyp@gmail.com>
2024-05-28 05:32:33 +00:00
zhzhuang-zju
309c67701b
bump golangci to v1.58.0
...
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-05-13 09:32:13 +08:00
chaosi-zju
0372cabba6
Introduce a mechanism to scheduler to actively trigger rescheduling
...
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-04-20 20:55:45 +08:00
jwcesign
e6225d8070
fix: reschedule the replicas of the disappear clusters in PP
...
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2024-01-29 15:50:47 +08:00
RainbowMango
c47e12a442
bump golangci-lint to v1.55.2
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-01-21 12:34:24 +08:00
chaosi-zju
e9851ae99b
test of even distribution of replicas for removing cluster scenario
...
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-01-12 15:32:50 +08:00
jwcesign
38b2cae7e1
cleanup: enable revive(exported rule) checking
...
Signed-off-by: jwcesign <jwcesign@gmail.com>
2024-01-09 09:41:47 +08:00
karmada-bot
5ca4e5a3f6
Merge pull request #4472 from chaosi-zju/log
...
simply optimizing the scheduler log
2023-12-26 11:02:21 +08:00
chaosi-zju
bf5beb3456
simply optimizing the scheduler log
...
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2023-12-25 11:27:29 +08:00
chaosi-zju
ed33423be5
test of even distribution of replicas for add cluster scenario
...
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2023-12-25 10:34:18 +08:00
chaosi-zju
55a6b3c023
add change static weight test for even distribution of replicas
...
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2023-12-21 15:05:55 +08:00
chaosi-zju
265560be92
add scale down test for even distribution of replicas
...
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2023-12-14 16:27:25 +08:00
chaosi-zju
513c7feba4
add expand replicas test about even distribution of replicas
...
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2023-12-13 20:33:51 +08:00
chaosi-zju
1ebdf006e0
add test for static weight random remainder.
...
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2023-12-09 15:28:02 +08:00
chaosi-zju
6b2101a0f2
add test for static weight random remainder.
...
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2023-12-04 11:51:23 +08:00
chaosi-zju
a8629ac72a
Expose assignReplicas and selectClusters function in scheduler
...
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2023-11-22 17:29:23 +08:00
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
c8423cb237
fix spelling errors
...
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2023-09-04 10:22:39 +08:00
Tanggui Bian
10b5ff2036
Adopt zones in scheduler spread by constraints
...
Signed-off-by: Tanggui Bian <softwarebtg@163.com>
2023-08-26 16:34:20 +08:00
whitewindmills
5a8d60c889
avoid calculating available replicas for non-workload
...
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2023-07-28 10:34:32 +08:00
whitewindmills
45c995a9e1
add new schedule condition reason
...
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2023-07-17 18:38:41 +08:00
chaunceyjiang
a6d58ee34a
fix When EnableEmptyWorkloadPropagation flag is false zero deployment still can be propagated to member cluster
...
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-05-30 17:33:44 +08:00
Poor12
b61a87e7cc
unify the assign replicas when duplicated
...
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-04-07 09:28:44 +08:00
whitewindmills
ed2fcea68d
add group selection algorithm
...
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2023-03-30 17:01:23 +08:00
changzhen
9ca35d20f4
add bindingStatus in the schedule algorithm interface
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2023-02-25 17:04:49 +08:00
karmada-bot
b1f8b09d07
Merge pull request #3177 from my-git9/ut-assignment
...
[UT] increase test coverage for core/assignment.go
2023-02-20 11:08:00 +08:00
xin.li
522c55ce79
[UT] increase test coverage for core/assignment.go
...
Signed-off-by: xin.li <xin.li@daocloud.io>
2023-02-18 07:59:48 +08:00
Poor12
a616758eeb
refactor some codes
...
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-02-17 10:41:03 +08:00
Poor12
5eff625925
add placement for binding
...
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-02-10 15:18:01 +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
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
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
5836639f69
add metrics_recorder for scheduler framework
...
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-10-20 16:35:11 +08:00