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
RainbowMango
9a776a7503
Remove golang mock as it has been replaced with uber mock
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-12-22 17:12:35 +08:00
karmada-bot
7a4d85b925
Merge pull request #4460 from liangyuanpeng/gomock
...
Replace golang/mock to uber-go/mock.
2023-12-22 16:45: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
Lan Liang
159f68c19b
Replace golang/mock to uber-go/mock.
...
golang/mock is no longer maintained and should replace to go.uber.org/mock, check https://github.com/golang/mock
Signed-off-by: Lan Liang <gcslyp@gmail.com>
2023-12-21 06:48:04 +00:00
karmada-bot
b7a7648c3d
Merge pull request #4419 from chaosi-zju/add-test
...
add scale down test for even distribution of replicas
2023-12-15 16:08:12 +08:00
jwcesign
e77fe55851
feat: fix conflicts with pp
...
Signed-off-by: jwcesign <jwcesign@gmail.com>
2023-12-14 19:46:46 +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
huangyanfeng
27971f4cd4
enqueueAffectedBindings and enqueueAffectedCRBs add schedulerNameFilter
...
Signed-off-by: huangyanfeng <huangyanfeng1992@gmail.com>
2023-10-17 15:34:01 +08:00
huangyanfeng
fec30e0380
schedulerOptions add support for RateLimiterOptions
...
Signed-off-by: huangyanfeng <huangyanfeng1992@gmail.com>
2023-10-10 12:07:15 +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
54b66e8b5d
adapt zones check in spread constraint plugin
...
check
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2023-08-24 20:15:24 +08:00
guiyong.ou
aad7b0b775
Standardize metrics help message
...
Signed-off-by: guiyong.ou <guiyong.ou@daocloud.io>
2023-08-24 12:36:06 +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
karmada-bot
71de1644f7
Merge pull request #3741 from whitewindmills/schedule-condition
...
feat: optimize scheduling condition semantics
2023-07-18 10:44:31 +08:00
whitewindmills
45c995a9e1
add new schedule condition reason
...
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2023-07-17 18:38:41 +08:00
RainbowMango
eb0a9bb018
Promote code owners as per community membership
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-07-04 10:25:10 +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
karmada-bot
8594406e5f
Merge pull request #3398 from whitewindmills/code-cleanup
...
Fix inspection errors
2023-05-19 20:28:53 +08:00
whitewindmills
89295f9606
Fix inspection errors
...
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2023-05-17 17:06:27 +08:00
Poor12
d06fe2b5b3
add application failover controller
...
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-05-06 10:36:54 +08:00
karmada-bot
185c7502ab
Merge pull request #3469 from Poor12/add-filter
...
Add a clusterEviction plugin
2023-04-28 10:30:18 +08:00
Poor12
80eab7bcb3
add a clusterEvicted plugin
...
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-04-28 09:21:45 +08:00
karmada-bot
7adfdfaa15
Merge pull request #3455 from Poor12/fix-generation-inconsistent
...
Ensure the latest schedulerObservedGeneration if do not need to schedule
2023-04-27 14:13:12 +08:00
Poor12
9ee205fcb1
fix generation inconsistent
...
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-04-27 11:26:45 +08:00
changzhen
467adcf0b6
add worker for cluster update in scheduler
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2023-04-26 18:29:51 +08:00
whitewindmills
5bb8eae68f
Avoid accidental impact for rb/crb's pointer on the cache
...
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2023-04-18 16:45:53 +08:00
karmada-bot
0b640f7785
Merge pull request #3371 from Poor12/fix-scheduler-duplicated
...
Unify the assign replicas when duplicated
2023-04-10 19:27:58 +08:00
karmada-bot
9b4c9a8222
Merge pull request #3364 from whitewindmills/patch-util
...
use patch helper instead of jsonpatch
2023-04-10 19:10:58 +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
b15e43251b
use patch helper instead of jsonpatch
...
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2023-04-06 16:04:58 +08:00
karmada-bot
cbf5c4a829
Merge pull request #3346 from Poor12/do-not-reschedule
...
[Performance] Do not schedule when status/metadata of binding update
2023-04-04 11:11:53 +08:00
Poor12
8d9538b9c9
do not scheudle when status/metadata change
...
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-04-03 19:35:42 +08:00
karmada-bot
5194e1761a
Merge pull request #3259 from whitewindmills/spreadconstraints
...
region selection algorithm optimization
2023-03-30 19:04:49 +08:00
whitewindmills
ed2fcea68d
add group selection algorithm
...
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2023-03-30 17:01:23 +08:00
Poor12
fc7d8fa3b8
Fix cluster_locality plugin when replicas == 0
...
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-03-23 10:58:09 +08:00
yanggang
49fa066e7b
Fix wrong logs for pkg/scheduler/event_handler.go
...
Signed-off-by: yanggang <gang.yang@daocloud.io>
2023-03-16 17:39:46 +08:00
changzhen
a4753cd77c
add generation for cluster object
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2023-03-09 15:05:10 +08:00
changzhen
313ecd3b2c
consider clusteraffinities when scedule with binding
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2023-02-27 17:11:58 +08:00
karmada-bot
69d330f04c
Merge pull request #3210 from XiShanYongYe-Chang/update-rb-status-conditions-only-after-scheduling
...
Update the RB condition is updated only after scheduling
2023-02-27 10:38:06 +08:00
changzhen
da0664728c
the condition is updated only after scheduling
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2023-02-27 09:27:45 +08:00