Commit Graph

210 Commits

Author SHA1 Message Date
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
changzhen d96296f66b modify judgement of placement changed
Signed-off-by: changzhen <changzhen5@huawei.com>
2023-02-27 09:13:48 +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
karmada-bot d1bad846a5
Merge pull request #3141 from chaunceyjiang/cleanup
Replace ""  with NamespaceAll.
2023-02-13 16:56:55 +08:00
chaunceyjiang 111f6b33e3 Replace "" with NamespaceAll.
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-02-13 14:25:00 +08:00
karmada-bot b36bc65d14
Merge pull request #2702 from Poor12/add-toleration
Add placement for bindingSpec
2023-02-13 11:08:55 +08:00
Poor12 5eff625925 add placement for binding
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-02-10 15:18:01 +08:00
Poor12 a4354cad38 add schedulerName for event
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-02-10 09:33:16 +08:00
Poor12 bec9ca1f6a Support multiple schedulers
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-02-01 12:00:40 +08:00
RainbowMango a1e8f164cb adopt static check issues
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-01-31 09:22:41 +08:00
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