Commit Graph

2564 Commits

Author SHA1 Message Date
karmada-bot ae5b3fe373
Merge pull request #4577 from chaosi-zju/policy5
Introduced a lazy activation preference to PropagationPolicy/ClusterPropagationPolicy
2024-01-25 21:52:45 +08:00
chaosi-zju 926e34a7ad implementation of the LazyActivation preference for Policy.
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-01-25 20:56:31 +08:00
RainbowMango 67fc70d5ac Nominate Yuan peng, Zhuang, and Yan feng as new reviewers
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-01-23 15:05:28 +08:00
karmada-bot d508417a1e
Merge pull request #4554 from yanfeng1992/fix-member-apienable
search add check member cluster api enable
2024-01-23 10:15:44 +08:00
karmada-bot 23c51ec08e
Merge pull request #4568 from RainbowMango/pr_bump_golangci
bump golangci-lint to v1.55.2
2024-01-23 10:03:43 +08:00
karmada-bot 32edd16051
Merge pull request #4557 from yanfeng1992/fix-pull-cluster-name-check
pull mode register add check cluster exists
2024-01-23 00:10:49 +08:00
huangyanfeng 0e46397086 pull mode register add check cluster exists
Signed-off-by: huangyanfeng <huangyanfeng1992@gmail.com>
2024-01-22 19:43:48 +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
Yao Weng c3458310d4
[MVP] add resourcequota plugin in scheduler-estimator: create framework for scheulder-estimator (#4534)
* [MVP] add resourcequota plugin in scheudler-estimator

Signed-off-by: yweng14 <yweng14@bloomberg.net>

* framework only

Signed-off-by: yweng14 <yweng14@bloomberg.net>

* fix lint error

Signed-off-by: yweng14 <yweng14@bloomberg.net>

* address comments

Signed-off-by: yweng14 <yweng14@bloomberg.net>

* add KubeClient in the Handle

Signed-off-by: yweng14 <yweng14@bloomberg.net>

* - add snapshot as input argument of RunEstimateReplicasPlugins
- add Result to give clearer message

Signed-off-by: yweng14 <yweng14@bloomberg.net>

* fix unitest name due

Signed-off-by: yweng14 <yweng14@bloomberg.net>

---------

Signed-off-by: yweng14 <yweng14@bloomberg.net>
2024-01-19 22:14:41 +08:00
karmada-bot 0e501b607a
Merge pull request #4528 from XiShanYongYe-Chang/remove-redundant-os-preload
Remove redundant os preload in lua vm
2024-01-19 10:53:41 +08:00
karmada-bot 697170b904
Merge pull request #4539 from zhzhuang-zju/label
cleanup: remove label when pp or cpp is deleted
2024-01-17 10:14:39 +08:00
huangyanfeng b6ff5b8cc5 search add check member cluster api enable
Signed-off-by: huangyanfeng <huangyanfeng1992@gmail.com>
2024-01-16 14:29:13 +08:00
changzhen f2a260641b remove redundant os preload
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-01-16 11:01:57 +08:00
karmada-bot 31031548b7
Merge pull request #4519 from XiShanYongYe-Chang/remove-unsafe-lua-library-function
remove unsafe lua load library function
2024-01-16 10:50:37 +08:00
Mohammed Affan 970435c3d1 Add linting for unused parameters
Signed-off-by: Mohammed Affan <mohammed.affan.727@gmail.com>
2024-01-13 12:26:54 +05:30
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
zhzhuang-zju 774b9dcad2 cleanup: remove label when pp is deleted
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-01-12 14:11:23 +08:00
changzhen 6b5dc9f850 disable unsafe lua library function
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-01-11 16:49:43 +08:00
karmada-bot e857d1f95e
Merge pull request #4522 from helen-frank/fix/defer_runlock
defer RUnlock
2024-01-10 17:33:34 +08:00
helen 2397af5f24 defer RUnlock
Signed-off-by: helen <haitao.zhang@daocloud.io>
2024-01-10 16:43:41 +08:00
Mohammed Affan 89c6d7299c Add linting for redefined builtin ids
Signed-off-by: Mohammed Affan <mohammed.affan.727@gmail.com>
2024-01-10 16:01:04 +08:00
jwcesign 947a80e00f cleanup: enable revive(var-naming rule) checking
Signed-off-by: jwcesign <jwcesign@gmail.com>
2024-01-10 12:15:03 +08:00
jwcesign e36a80c86c cleanup: enable revive(blank-imports rule) checking
Signed-off-by: jwcesign <jwcesign@gmail.com>
2024-01-10 10:07:55 +08:00
karmada-bot 43c3e330d6
Merge pull request #4492 from jwcesign/VarDeclarations
cleanup: enable revive(var-declaration rule) checking
2024-01-09 21:03:34 +08:00
karmada-bot caf34c6c7f
Merge pull request #4524 from whitewindmills/fix-err-in-dependencies_distributor
Fix misjudgment when updating attached binding
2024-01-09 20:17:33 +08:00
jwcesign 367db18cb6 cleanup: enable revive(var-declaration rule) checking
Signed-off-by: jwcesign <jwcesign@gmail.com>
2024-01-09 20:07:23 +08:00
whitewindmills 7e894a0e62 Fix misjudgment when updating attached binding
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-01-09 16:28:28 +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
whitewindmills 10f9fdd794 clean up deprecated codes
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-01-05 18:11:21 +08:00
karmada-bot 34b701416e
Merge pull request #4503 from zhzhuang-zju/comment
cleanup: enable revive(package-comments) checking
2024-01-04 18:33:28 +08:00
whitewindmills 70d18106bc Replace distribution/distribution dependencies
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-01-03 15:47:23 +08:00
karmada-bot a39cfb56f6
Merge pull request #4505 from yanfeng1992/fix-runscoreplugins-comment
cleanup RunScorePlugins code comments
2024-01-03 14:16:27 +08:00
huangyanfeng 7d229306bb cleanup RunScorePlugins code comments
Signed-off-by: huangyanfeng <huangyanfeng1992@gmail.com>
2024-01-03 11:30:22 +08:00
karmada-bot a1c1eedcc7
Merge pull request #4498 from chaosi-zju/lint-error-strings
cleanup: enable revive(error-strings) checking
2024-01-03 11:03:27 +08:00
zhzhuang-zju b695e5da36 cleanup: enable revive(package-comments) checking
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-01-03 10:19:14 +08:00
karmada-bot b69ead80d8
Merge pull request #4407 from CharlesQQ/evict-fix
fix(work):  motify gracefulEvictionTasks sub field creationTimestamp to pointer type
2024-01-02 21:43:27 +08:00
chaosi-zju 25b67f54d6 cleanup: enable revive(error-strings) checking
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-01-02 20:37:36 +08:00
Lan Liang 59cd00d942 Cleanup: enable lint of revive(superfluous-else)
Signed-off-by: Lan Liang <gcslyp@gmail.com>
2024-01-02 08:35:42 +00: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
karmada-bot 46843a4c2c
Merge pull request #4469 from chaosi-zju/add-test
test of even distribution of replicas for add cluster scenario
2023-12-25 17:26:20 +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
RainbowMango 99d413052e update auto-generated files
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-12-25 10:45:22 +08:00
RainbowMango abba80d6c9 Bump Kubernetes dependencies to v1.28.5
Adopts changes made by kubernetes#119207, implements RequestWatchProgress interface
Adopts changes made by kubernetes#116648, applyTo take in clients

Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-12-25 10:40:18 +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
chang.qiangqiang 9ec160ab9f fix(work): motify gracefulEvictionTasks sub field to pointer type
Signed-off-by: chang.qiangqiang <chang.qiangqiang@immomo.com>
2023-12-22 17:06:31 +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
karmada-bot c7c393f564
Merge pull request #4432 from chaosi-zju/add-test
add change static weight test for even distribution of replicas
2023-12-21 20:38:16 +08:00
Lan Liang b90035f03f Update apiserver&controller-manager to v1.26.12
Signed-off-by: Lan Liang <gcslyp@gmail.com>
2023-12-21 18:10:47 +08:00
karmada-bot f8cdc40591
Merge pull request #4404 from yanfeng1992/agent-leader-ns
register cluster install karmada-agent should set leader-elect-resouce-namespace
2023-12-21 16:04:17 +08:00