Commit Graph

6540 Commits

Author SHA1 Message Date
karmada-bot 6f2f3ebb22
Merge pull request #4451 from zhzhuang-zju/unjoin
Enhanced forced deletion on karmadactl unjoin
2024-11-04 11:15:43 +08:00
zhzhuang-zju 1eb2f9ec31 enhanced forced deletion on karmadactl unjoin
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-11-04 09:59:11 +08:00
karmada-bot 01b8312381
Merge pull request #5775 from jabellard/api_server_service_info2
Add API Server Service Information to `KarmadaStatus`
2024-11-04 09:57:42 +08:00
karmada-bot 3ccd0fe801
Merge pull request #5773 from chaosi-zju/local-up
enable LoadBalancer type karmada-apiserver service in operator
2024-11-04 09:18:43 +08:00
zach593 0e64e7ed05 fix crb_status_controller ut is referencing namespaced objects
Signed-off-by: zach593 <zach_li@outlook.com>
2024-11-03 17:34:28 +08:00
Mohamed Awnallah ccccace553 pkg: unit test aggregatedAPIServer
In this commit, we unit test aggregatedAPIServer on creating
new aggregatedAPIServer with clusterAPI.

Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-11-02 18:22:52 +02:00
Joe Nathan Abellard 325e3bdaea Add API Server Service Information to KarmadaStatus
Signed-off-by: Joe Nathan Abellard <contact@jabellard.com>
2024-11-02 10:41:22 -04:00
karmada-bot 5cd3c1a89f
Merge pull request #5599 from jabellard/api_server_service_info
Proposal: Add API Server Service Information to `KarmadaStatus`
2024-11-02 19:49:42 +08:00
karmada-bot b270d02ef4
Merge pull request #5769 from RainbowMango/pr_restrict_operator_service_type
Restrict supported service types of Karamda APIServer supported by karmada-operator
2024-11-02 19:15:42 +08:00
Joe Nathan Abellard e8c81c54f2 Add API Server Service Information to KarmadaStatus
Signed-off-by: Joe Nathan Abellard <contact@jabellard.com>
2024-11-02 05:59:07 -04:00
chaosi-zju 7aae08fb42 enable LoadBalancer type karmada-apiserver service in operator
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-11-02 16:30:51 +08:00
Anuj Agrawal 8ea31a8d5c Added unit tests for the scheduler cache snapshot functionality
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-11-01 15:44:13 +05:30
RainbowMango a644477266 Restrict supported service types of Karamda APIServer provisioned by karmada-operator.
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-11-01 17:39:30 +08:00
Mohamed Awnallah ddf4102d18 pkg/karmadactl/addons: unit test descheduler
In this commit, we unit test descheduler addon on enabling,
disabling, and status operations. In addition to this we refactor
some code to utilize some utilities across karmadactl addons.

Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-10-31 22:26:51 +03:00
karmada-bot 057cf860f4
Merge pull request #5762 from zhzhuang-zju/v1.12.0-beta.0
publish release notes for v1.12.0-beta.0
2024-10-31 18:33:39 +08:00
karmada-bot 8a93579bd9
Merge pull request #5758 from mohamedawnallah/unitTestMetricsAdapterAddons
pkg/karmadactl/addons: unit test metrics adapter
2024-10-31 16:19:40 +08:00
zhzhuang-zju 70b5c8004e publish release notes for v1.9.8, v1.10.6 and v1.11.2
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-10-31 14:41:38 +08:00
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
Mohamed Awnallah 3b79f574c0 pkg/karmadactl/addons: unit test metrics adapter
In this commit, we unit test metrics adapter on status
operations making sure metrics adapter deployed correctly
on both the host cluster and karmada control plane by checking
on deployment and aaAPIServices respectively.

Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-10-30 14:51:01 +03: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
Mohamed Awnallah 4ab6bff3b0 pkg/karmadactl/addons: unit test install addons
In this commit, we unit test install addons to make sure the
following addons `karmada-descheduler`, `karmada-metrics-adapter`,
`karmada-scheduler-estimator`, and `karmada-search` are already
configured.

Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-10-29 15:43:17 +03: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
Anuj Agrawal da6266028e Added tests for pkg/util/helper/work.go
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>

Added tests for pkg/util/helper/work.go

Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-10-25 13:11:31 +05:30