Commit Graph

3288 Commits

Author SHA1 Message Date
karmada-bot d24b2b9d08
Merge pull request #6061 from chaosi-zju/ensureWork
enhance ensureWork to continue processing clusters after individual failures
2025-01-24 11:50:52 +08:00
chaosi-zju af610cc58e enhance ensureWork to continue processing clusters after individual failures
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2025-01-23 18:07:27 +08:00
karmada-bot 07747ed3f7
Merge pull request #6065 from JimDevil/feat-search
fix(search/proxy/controller): resourceregistry merge ns
2025-01-22 12:44:50 +08:00
chang.qiangqiang a115a22f47 feat(dependenciesdistributor):remove log
Signed-off-by: chang.qiangqiang <chang.qiangqiang@immomo.com>
2025-01-22 10:43:55 +08:00
JimDevil 93c09c1c85 fix: resourceregistry merge the same cluster gvk's namespace
Signed-off-by: JimDevil <709192853@qq.com>
2025-01-21 21:18:47 +08:00
Yihao Wang 995c73c4ba Update test cert
Signed-off-by: Yihao Wang <yesiamyihao@gmail.com>
2025-01-20 21:48:54 +13:00
Monokaix cf46939019 fix pp suspension mistakenly override scheduling suspension
Signed-off-by: Monokaix <changxuzheng@huawei.com>
2025-01-18 16:57:30 +08:00
karmada-bot ce41488988
Merge pull request #5939 from ctripcloud/work-marshaler
fix deep equal check failure in CreateOrUpdateWork(), by replace the marshaler
2025-01-15 18:18:44 +08:00
karmada-bot 2df42bd74e
Merge pull request #6034 from whitewindmills/dependency_pr
fix the attached binding deletion problem
2025-01-15 15:20:44 +08:00
karmada-bot 272447eebc
Merge pull request #6026 from seanlaii/grpc
Replace grpc.DialContext and grpc.WithBlock with grpc.NewClient
2025-01-15 09:49:44 +08:00
wei-chenglai 36a6a8f06c Updated client connection creation pattern
Signed-off-by: wei-chenglai <qazwsx0939059006@gmail.com>
2025-01-13 18:06:56 -05:00
whitewindmills b10c102e00 fix the attached binding deletion problem
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2025-01-13 17:44:31 +08:00
zach593 ce1ca9912f fix deep equal check failure in CreateOrUpdateWork(), by replace the marshaler
Signed-off-by: zach593 <zach_li@outlook.com>
2025-01-10 19:53:46 +08:00
karmada-bot 253dc794b1
Merge pull request #6018 from ctripcloud/unstructured
move CreateOrUpdateWork() and related functions to controllers/ctrlutl
2025-01-10 14:20:40 +08:00
zach593 807153fdff move CreateOrUpdateWork() and related functions to controllers/ctrlutil
Signed-off-by: zach593 <zach_li@outlook.com>
2025-01-10 11:34:58 +08:00
YASH PANDEY 6cba9fe74b Version updates
Signed-off-by: YASH PANDEY <pandeyyash7052@gmail.com>
2025-01-09 14:57:09 +05:30
RainbowMango 2f180f26cd Add ResourceBinding scheduling suspension helper functions to simplify code
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2025-01-06 17:39:59 +08:00
chaosi-zju c7009b2d64 expose metrics of karmada-metrics-adapter
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2025-01-02 16:47:52 +08:00
Marty Mcfly 7a85687026
feat: cluster-level resource scheduling suspend and resume capabilities (#5937)
* RB suspension: API change

Signed-off-by: Monokaix <changxuzheng@huawei.com>

* Feat: scheduler supports binging suspension

Signed-off-by: Monokaix <changxuzheng@huawei.com>

---------

Signed-off-by: Monokaix <changxuzheng@huawei.com>
2025-01-02 11:46:34 +08:00
changzhen 8c6d0a4ee7 fix flake test with GetWorksByBindingID func
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-12-31 11:15:45 +08:00
karmada-bot 492e24dd8c
Merge pull request #5742 from anujagrawal699/addedTests-pkg/util/helper/work.go
Added tests for pkg/util/helper/work.go
2024-12-31 09:53:31 +08:00
chaosi-zju 5b7df5b231 fix rebalancer auto deleted failed
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-12-28 17:52:32 +08:00
karmada-bot 337c27bb18
Merge pull request #5974 from Monokaix/decouple
decouple suspension of propagation and resourcebinding
2024-12-28 13:18:29 +08:00
Monokaix eb2a4bd051 decouple suspension of propagation and resourcebinding
Signed-off-by: Monokaix <changxuzheng@huawei.com>
2024-12-28 11:31:53 +08:00
changzhen e93da666ae fix verify license lint error
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-12-26 19:40:26 +08:00
changzhen 5bd3d0128a remove apiserver dependency in resourceinterpreter
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-12-25 15:52:04 +08:00
karmada-bot c9ca6aca6a
Merge pull request #5936 from mohamedawnallah/addressKarmadaSearchControllerFlakyTestCases
pkg/search/controllers_test: reduce the probability of flaky test cases by waiting for cache to sync
2024-12-23 09:52:25 +08:00
karmada-bot 6e3316fb5c
Merge pull request #5862 from zhzhuang-zju/rmfile
remove the unnecessary file localization steps when karmadactl register
2024-12-20 17:45:22 +08:00
zhzhuang-zju 623a4f916c remove the unnecessary file localization steps when karmadactl register
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-12-20 15:59:49 +08:00
changzhen 262fcb328a fix validate panic when ResourceInterpreterWebhookConfiguration .webhooks[*].clientConfig.service.port is nil
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-12-20 15:16:38 +08:00
LavredisG 8659df84d7
Update interface.go
Signed-off-by: LavredisG <lavredisgoume@gmail.com>
2024-12-16 13:35:12 +02:00
changzhen 82fc37ea04 Fix the problem of ResourceBinding remaining when the workload is deleted in the dependencies distribution scenario
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-12-12 15:54:57 +08:00
Mohamed Awnallah 6ae8cfd3e9 pkg/karmadactl/util: unit test apiclient
In this commit, we unit test apiclient on creating restconfig.

Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-12-11 08:57:27 +02:00
Mohamed Awnallah 627b464489 pkg/search/controllers_test: wait for cache sync
Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-12-11 07:06:43 +02:00
karmada-bot ff7dc4af44
Merge pull request #5832 from anujagrawal699/addedTests-pkg/resourceinterpreter/customized/webhook/configmanager
Added unit tests for resourceinterpreter webhook configmanager
2024-12-09 20:05:14 +08:00
karmada-bot f0e060d73e
Merge pull request #5876 from tiansuo114/ps_completion
add shell completion code for fish
2024-12-09 11:22:13 +08:00
karmada-bot a8a01a30c2
Merge pull request #5908 from mohamedawnallah/unitUsageOfAddonConstants
cmd+hack+operator+pkg: unify addons constants
2024-12-09 10:46:14 +08:00
karmada-bot acce8fd5d8
Merge pull request #5772 from anujagrawal699/addedTests-pkg/util/lifted/scheduler/cache/node_tree_test.go
Added unit tests for the scheduler's node tree functionality
2024-12-07 19:43:12 +08:00
Anuj Agrawal ccea4d22f5 Added unit tests for resourceinterpreter webhook configmanager
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>

Added unit tests for resourceinterpreter webhook configmanager

Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>

Added unit tests for resourceinterpreter webhook configmanager

Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-12-06 16:16:51 +05:30
Anuj Agrawal 55707d8a4f Added unit tests for the scheduler's node tree functionality
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>

Added unit tests for the scheduler's node tree functionality

Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>

Added unit tests for the scheduler's node tree functionality

Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-12-06 15:52:09 +05:30
karmada-bot f72a312d14
Merge pull request #5898 from anujagrawal699/addedTests-pkg/estimator/server/replica/replica.go
Added unit tests for the replica package in the estimator server
2024-12-06 18:11:10 +08:00
Mohamed Awnallah 6144ea5a9b cmd+hack+operator+pkg: unify addons constants
In this commit we unify the usage of addon names i.e
`karmada-descheduler`, `karmada-scheduler-estimator`, `karmada-search`,
and `karmada-metrics-adapter` across the codebase.

Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
Co-authored-by: Hongcai Ren <renhongcai@huawei.com>
2024-12-05 18:45:44 +02:00
karmada-bot a655c45f6f
Merge pull request #5864 from anujagrawal699/addedTests-pkg/resourceinterpreter/customized/declarative/configmanager/accessor.go
Added unit tests for custom resource interpreter's configuration manager
2024-12-05 20:05:10 +08:00
Mohamed Awnallah fc28676516 pkg/karmadactl/cmdinit: unit test clusterinfo
In this commit, we unit test clusterinfo on creating
bootstrap configmap and creating cluster info RBAC rules.

Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-12-05 09:19:33 +02:00
Mohamed Awnallah 4e5237449b pkg/karmadactl: unit test unjoin
In this commit, we unit test unjoining cluster by
validating the unjoin cluster operation on arguments passed and
by verifying the deletion of all resources on the unjoining cluster
in case of cluster kubeconfig passed.

Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-12-04 20:30:03 +02:00
karmada-bot 616a95e0d7
Merge pull request #5754 from mohamedawnallah/unitTestInstallAddon
pkg/karmadactl/addons: unit test install addons
2024-12-04 17:17:09 +08:00
karmada-bot 1202cc7b80
Merge pull request #5829 from mohamedawnallah/unitTestCordonKaramdactl
pkg/karmadactl: unit test cordon
2024-12-04 16:43:09 +08:00
tiansuo114 ba2a0732fe
add shell completion code for fish shell
Signed-off-by: tiansuo114 <zhaoyi_114@outlook.com>

11

Signed-off-by: tiansuo114 <zhaoyi_114@outlook.com>
2024-12-04 10:55:55 +08:00
karmada-bot b3dad9bdc5
Merge pull request #5819 from anujagrawal699/addedTest-pkg/util/lifted/lua
Added unit tests for safe lua lifted libraries
2024-12-04 09:58:08 +08:00
karmada-bot eea14cb353
Merge pull request #5895 from mohamedawnallah/unitTestPromoteKarmadactl
pkg/karmadactl: unit test promote
2024-12-03 14:17:08 +08:00