Commit Graph

6019 Commits

Author SHA1 Message Date
zhzhuang-zju 4f5638f182 publish release notes for v1.12.0-beta.0
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-10-31 14:21:44 +08:00
karmada-bot 9c0bd72aad
Merge pull request #5751 from anujagrawal699/addedTests-pkg/util/lifted/scheduler/framework/types.go
Added unit tests for scheduler framework types
2024-10-30 14:45:39 +08:00
karmada-bot 787f57c879
Merge pull request #5629 from B1F030/karmada-agent-rbac
minimize the rbac permissions for karmada-agent
2024-10-30 11:33:38 +08:00
B1F030 976e62f5f2 minimize the rbac permissions for karmada-agent
Signed-off-by: B1F030 <646337422@qq.com>
2024-10-29 21:50:46 +08:00
karmada-bot 90df54a484
Merge pull request #5628 from wulemao/unregister-ut
add realted ut for unregister
2024-10-29 20:35:38 +08:00
wulemao 83a23abbd5 add related ut for unregister
Signed-off-by: wulemao <1194736083@qq.com>
2024-10-29 18:31:16 +08:00
karmada-bot 6c6281f6a4
Merge pull request #5594 from wulemao/karmadactl-unjoin
cleanup: change *kubeclient.Clientset to kubeclient.Interface in unregister module
2024-10-29 17:32:39 +08:00
karmada-bot 9421792640
Merge pull request #5620 from ipsum-0320/Implement-group-score-calc-test
Add unit test for group score calc to assign replicas evenly
2024-10-29 16:48:39 +08:00
ipsum-0320 a41892b66e feat: add UT for group score calc
Signed-off-by: ipsum-0320 <trueman.0320@zju.edu.cn>

feat: add UT for group score calc

Signed-off-by: ipsum-0320 <trueman.0320@zju.edu.cn>

feat: add UT for group score calc

Signed-off-by: ipsum-0320 <trueman.0320@zju.edu.cn>

feat: add unit test

Signed-off-by: ipsum-0320 <trueman.0320@zju.edu.cn>

chore: fix lint

Signed-off-by: ipsum-0320 <trueman.0320@zju.edu.cn>

feat: update the calc way of group score

Signed-off-by: ipsum-0320 <trueman.0320@zju.edu.cn>

re-test

Signed-off-by: ipsum-0320 <trueman.0320@zju.edu.cn>

chore: update comment

Signed-off-by: ipsum-0320 <trueman.0320@zju.edu.cn>

chore: re-test

Signed-off-by: ipsum-0320 <trueman.0320@zju.edu.cn>

fix: update weightUnit

Signed-off-by: ipsum-0320 <trueman.0320@zju.edu.cn>

Trigger checks

Signed-off-by: ipsum-0320 <trueman.0320@zju.edu.cn>

fix: lint error

Signed-off-by: ipsum-0320 <trueman.0320@zju.edu.cn>

fix: update the calc of group score

Signed-off-by: ipsum-0320 <trueman.0320@zju.edu.cn>

fix: golint error

Signed-off-by: ipsum-0320 <trueman.0320@zju.edu.cn>

feat: complete unit test

Signed-off-by: ipsum-0320 <trueman.0320@zju.edu.cn>

feat: add test

Signed-off-by: ipsum-0320 <trueman.0320@zju.edu.cn>
2024-10-29 15:55:17 +08:00
wulemao e0017b6ba4 cleanup: change *kubeclient.Clientset to kubeclient.Interface in unregister module
Signed-off-by: wulemao <1194736083@qq.com>
2024-10-29 15:32:12 +08:00
karmada-bot 07c6cb4db9
Merge pull request #5306 from tiansuo114/config
Add GitHub tests for karmadactl init --config command
2024-10-29 14:41:38 +08:00
tiansuo114 7426b4144b
Add github ci test for karmadactl init --init-config
Signed-off-by: tiansuo114 <1729765480@qq.com>
2024-10-29 11:00:24 +08:00
karmada-bot 5432d3260e
Merge pull request #5622 from ipsum-0320/Implement-group-score-calc-bonus
Implement calc group score for duplicate to assign replicas evenly
2024-10-29 10:23:38 +08:00
karmada-bot 42e50b799c
Merge pull request #5675 from mohamedawnallah/unitTestUtilOperatorPKG
operator/pkg: unit test utilities
2024-10-29 09:52:38 +08:00
karmada-bot 1e333650dd
Merge pull request #5626 from wulemao/karmadactl-unregister
support unregister cluster in karmada
2024-10-28 21:20:38 +08:00
wulemao f803efe492 support unregister cluster in karmada
Signed-off-by: wulemao <1194736083@qq.com>
2024-10-28 20:25:28 +08:00
ipsum-0320 9e349e60a8 feat: implement calc group score for duplicate to assign replicas evenly
Signed-off-by: ipsum-0320 <trueman.0320@zju.edu.cn>

feat: implement calc group score for duplicate to assign replicas evenly

Signed-off-by: ipsum-0320 <trueman.0320@zju.edu.cn>

feat: calc group score for duplicate to assign replicas evenly

Signed-off-by: ipsum-0320 <trueman.0320@zju.edu.cn>
2024-10-28 19:20:39 +08:00
Anuj Agrawal 4f160e297d Added unit tests for scheduler framework types
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-10-28 15:59:21 +05:30
karmada-bot ff6075c801
Merge pull request #5740 from husnialhamdani/operator-file-naming
fix operator file naming
2024-10-28 16:51:38 +08:00
Husni Alhamdani 655aa5594e fix operator file naming
Signed-off-by: Husni Alhamdani <dhanielluis@gmail.com>
2024-10-28 16:00:26 +08:00
karmada-bot e65e993d2d
Merge pull request #5747 from a7i/rollback-metadata
chore: unify karmada labels/annotations usage in execution controller and test
2024-10-28 11:49:37 +08:00
Amir Alavi 1a7409d815
chore: unify karmada labels/annotations usage in execution controller and test
Signed-off-by: Amir Alavi <amiralavi7@gmail.com>
2024-10-26 14:06:04 -04:00
karmada-bot 1cd75f4fd0
Merge pull request #5621 from ipsum-0320/Implement-group-score-calc-base
Implement calc group score for divided to assign replicas evenly
2024-10-26 18:26:36 +08:00
karmada-bot 53afbbcaca
Merge pull request #5609 from wulemao/rollback-e2e1
add e2e for migration rollback feature
2024-10-26 14:45:35 +08:00
ipsum-0320 aa8cbda942 feat: calc group score by weight
Signed-off-by: ipsum-0320 <trueman.0320@zju.edu.cn>

chore: update

Signed-off-by: ipsum-0320 <trueman.0320@zju.edu.cn>

re-test

Signed-off-by: ipsum-0320 <trueman.0320@zju.edu.cn>

feat: update basic score

Signed-off-by: ipsum-0320 <trueman.0320@zju.edu.cn>

chore: add comment

Signed-off-by: ipsum-0320 <trueman.0320@zju.edu.cn>

feat: calcGroupScoreForDivided

Signed-off-by: ipsum-0320 <trueman.0320@zju.edu.cn>

fix: lint error

Signed-off-by: ipsum-0320 <trueman.0320@zju.edu.cn>

chore: fix the comment

Signed-off-by: ipsum-0320 <trueman.0320@zju.edu.cn>

feat: resolve the comments

Signed-off-by: ipsum-0320 <trueman.0320@zju.edu.cn>

fix: lint error

Signed-off-by: ipsum-0320 <trueman.0320@zju.edu.cn>
2024-10-26 14:11:33 +08:00
wulemao 90c70dfd66 add e2e for migration rollback feature
Signed-off-by: wulemao <1194736083@qq.com>
2024-10-26 11:58:45 +08:00
karmada-bot 9754a28dad
Merge pull request #5357 from tiansuo114/origin
Feature: karmadactl init supports deployment through configuration files
2024-10-26 10:35:35 +08:00
karmada-bot b4cd68aaa7
Merge pull request #5704 from mohamedawnallah/unitTestCRDInitTask
operator/pkg/tasks/init: unit test crds
2024-10-25 17:56:34 +08:00
tiansuo114 9b9847e3f7
Feature: karmadactl init supports deployment through configuration files
Signed-off-by: tiansuo114 <1729765480@qq.com>

fix lint

Signed-off-by: tiansuo114 <1729765480@qq.com>
2024-10-25 17:02:59 +08:00
karmada-bot f7d6da341e
Merge pull request #4418 from chaunceyjiang/pr_4410
feat: set conflictResolution for dependent resources.
2024-10-25 16:53:34 +08:00
chaunceyjiang 38bb553266 feat: set conflictResolution for dependent resources.
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2024-10-25 15:15:14 +08:00
karmada-bot 53c00f72f2
Merge pull request #5711 from anujagrawal699/addedTests-pkg/detector-part1
Added first part of unit tests for pkg/detector
2024-10-25 14:14:35 +08:00
karmada-bot c6c20a9e22
Merge pull request #5733 from anujagrawal699/addedTests-pkg/util/round_trippers.go-context.go-policy-go
Added tests for utility functions in the pkg/util
2024-10-24 19:19:34 +08:00
karmada-bot e204459087
Merge pull request #5519 from zhzhuang-zju/operator
add ci for karmada operator
2024-10-24 16:54:34 +08:00
zhzhuang-zju 4f2b2f0918 add operator ci
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-10-24 16:00:13 +08:00
zhzhuang-zju e8aa2ff651 add script to deploy karmada-operator and karmada instance
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-10-24 16:00:01 +08:00
karmada-bot 5e7d83629f
Merge pull request #5739 from chaosi-zju/local-up-ca
add CA data to local up generated karmada config for enhanced security
2024-10-24 15:13:33 +08:00
karmada-bot 7347f11ebb
Merge pull request #5717 from XiShanYongYe-Chang/handle-preserveResource-with-dependency
Keep preserveResourcesOnDeletion of the dependent resource consistent with that of the primary resource
2024-10-24 12:21:33 +08:00
chaosi-zju 7cbee99fab add CA data to local up generated karmada config for enhanced security
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-10-24 10:14:51 +08:00
karmada-bot 60e8e34009
Merge pull request #5720 from jabellard/external_etcd_part2
External `etcd` Support for Karmada Operator - Part 2
2024-10-24 09:21:33 +08:00
Anuj Agrawal d35b21e786 Added tests for utility functions in the pkg/util
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-10-23 17:38:57 +05:30
Joe Nathan Abellard 54427360c8 Onwards!
Signed-off-by: Joe Nathan Abellard <contact@jabellard.com>

Onwards!

Signed-off-by: Joe Nathan Abellard <contact@jabellard.com>

Onwards!

Signed-off-by: Joe Nathan Abellard <contact@jabellard.com>

Onwards!

Signed-off-by: Joe Nathan Abellard <contact@jabellard.com>

Onwards!

Signed-off-by: Joe Nathan Abellard <contact@jabellard.com>

Onwards!

Signed-off-by: Joe Nathan Abellard <contact@jabellard.com>

Onwards!

Signed-off-by: Joe Nathan Abellard <contact@jabellard.com>
2024-10-23 07:10:57 -04:00
karmada-bot 331145f789
Merge pull request #5700 from anujagrawal699/addedTest-pkg/util/lifted/corev1printers.go-part2
Added second part of unit tests for pkg/util/lifted/corev1printers.go
2024-10-23 15:04:32 +08:00
Anuj Agrawal 012517d81e Added first part of unit tests for pkg/detector
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>

Added first part of unit tests for pkg/detector

Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-10-23 12:24:26 +05:30
karmada-bot 4d0181c2b9
Merge pull request #5706 from RainbowMango/pr_fix_incorrect_grade_choice
Fixes incorrect resource model selection
2024-10-23 14:52:32 +08:00
karmada-bot f19a4b5281
Merge pull request #5543 from anujagrawal699/addedTests-controllers/gracefuleviction
Added tests for graceful eviction controller
2024-10-23 10:45:32 +08:00
changzhen f63c134aa4 handle preserveResourceOnDeletion with dependencise distributor
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-10-23 10:25:31 +08:00
karmada-bot 13df63fa46
Merge pull request #5586 from B1F030/karmada-operator-rbac
minimize the rbac permissions for karmada-operator
2024-10-22 15:44:32 +08:00
B1F030 8b6d4c4fc1 minimize the rbac permissions for karmada-operator
Signed-off-by: B1F030 <646337422@qq.com>
2024-10-22 11:10:38 +08:00
karmada-bot be571fbe8e
Merge pull request #5662 from yanfeng1992/fix-search-match-resource
hasResource should return whether resource is matched not cached
2024-10-22 10:47:32 +08:00