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
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
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
changzhen
e93da666ae
fix verify license lint error
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-12-26 19:40:26 +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
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
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
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
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
Anuj Agrawal
47528b417e
refactor: introduce DefaultHistoryLimit constant for CronFederatedHPA
...
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-12-02 18:59:44 +05:30
karmada-bot
064ccf1140
Merge pull request #5768 from anujagrawal699/addedTests-pkg/helper/status.go-cronfederatedhpa.go
...
Added unit tests for status and cronfederatedhpa helper utilities
2024-12-02 17:38:07 +08:00
mszacillo
082fe7cff9
Cleanup works from cluster if purgemode is immediately
...
Signed-off-by: mszacillo <mszacillo@bloomberg.net>
2024-11-27 23:37:01 -05:00
chaosi-zju
13c28a00b2
fix code typo errors
...
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-11-28 11:01:54 +08:00
zhzhuang-zju
b7afcaf5a2
karmadactl init: add CRDs archive verification to enhance file system robustness
...
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-11-27 16:47:58 +08:00
karmada-bot
f78e7e2a3d
Merge pull request #5703 from zhzhuang-zju/security
...
karmada-operator: add CRDs archive verification to enhance file system robustness
2024-11-27 16:28:04 +08:00
zhzhuang-zju
63590cbeee
karmada-operator: add CRDs archive verification to enhance file system robustness
...
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-11-27 15:07:56 +08:00
karmada-bot
8f4a03bd74
Merge pull request #5861 from seanlaii/deprecated
...
Enable the deprecation check which was disabled for version upgrade
2024-11-26 11:58:02 +08:00
wei-chenglai
e05628bb37
Enable deprecation check which was disabled for version upgrade
...
Signed-off-by: wei-chenglai <qazwsx0939059006@gmail.com>
2024-11-25 20:32:50 -05:00
karmada-bot
2c51aca8a0
Merge pull request #5825 from zhzhuang-zju/csrapproving
...
add agentcsrapproving controller to auto approve agent csr
2024-11-23 14:36:59 +08:00
zhzhuang-zju
103346111b
add agentcsrapproving controller to auto approve agent csr
...
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-11-22 18:21:06 +08:00
RainbowMango
02861c5ca0
AsyncWorker adopt typed rate limiter
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-11-21 12:15:00 +08:00
zhzhuang-zju
af90640361
minimize the RBAC permissions for the pull mode cluster
...
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-11-20 15:44:01 +08:00
zach593
e2827b1b2e
Add index for Work to speed up the processing of resource binding related controllers
...
Signed-off-by: zach593 <zach_li@outlook.com>
2024-11-19 11:48:04 +08:00
Anuj Agrawal
310e4f989b
Added unit tests for status and cronfederatedhpa helper utilities
...
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
Added unit tests for status and cronfederatedhpa helper utilities
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
Added unit tests for status and cronfederatedhpa helper utilities
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
Added unit tests for status and cronfederatedhpa helper utilities
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-11-16 12:37:10 +05:30
Anuj Agrawal
efff5bca9d
Added unit tests for safe lua lifted libraries
...
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-11-14 22:49:29 +05:30
RainbowMango
fc1df776dc
Adopt controller-runtime braking change: TypedReconciler
...
Reference PR2799
Adopt Kubernetes#125483 introduced ReadinessCheck
Adopt Kubernetes breaking change: EffectiveVersion
Reference PR: 122891
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-11-12 17:52:46 +08:00
karmada-bot
046d1ba107
Merge pull request #5798 from anujagrawal699/addedTests-pkg/util/helper/workstatus.go
...
Added unit tests for pkg/util/helper/workstatus.go
2024-11-12 11:53:50 +08:00
Anuj Agrawal
ed50e02d4e
Added unit tests for pkg/util/helper/workstatus.go
...
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
Added unit tests for pkg/util/helper/workstatus.go
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-11-11 20:30:50 +05:30
karmada-bot
d8b58c4f74
Merge pull request #5770 from anujagrawal699/addedTests-pkg/util/lifted/scheduler/cache/snapshot_test.go
...
Added unit tests for the scheduler cache snapshot functionality
2024-11-11 11:35:49 +08:00
Anuj Agrawal
085b433f49
Added unit tests for scheduler's cache package
...
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
Added unit tests for scheduler's cache package
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-11-07 09:43:57 +05:30
karmada-bot
a935aa1a76
Merge pull request #5610 from yanfeng1992/fixbug-toomany-conn
...
cluster proxy transport disable keepalive
2024-11-05 16:38:44 +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
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
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
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
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
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
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
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
karmada-bot
fdc47f8688
Merge pull request #5472 from zhzhuang-zju/dial
...
karmada-scheduler-estimator add the support for custom DNS suffix
2024-10-19 16:16:29 +08:00
Anuj Agrawal
35b92e4c1b
Added second part of unit tests for pkg/util/lifted/corev1printers.go
...
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-10-16 20:53:53 +05:30
karmada-bot
19b32a2979
Merge pull request #5597 from a7i/amir/preserveResourcesOnDeletion
...
implement preserveResourcesOnDeletion to support migration rollback
2024-10-16 18:19:27 +08:00
karmada-bot
0d520c0490
Merge pull request #5695 from anujagrawal699/addedTest-pkg/util/lifted/corev1printers.go-part1
...
Added first part of unit tests for pkg/util/lifted/corev1printers.go
2024-10-16 15:49:27 +08:00
Anuj Agrawal
b98dc6e950
Added tests for pkg/util/membercluster_client_test.go
...
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
Added tests for pkg/util/membercluster_client_test.go
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-10-15 22:58:00 +05:30
Amir Alavi
866959a072
implement preserveResourcesOnDeletion to support migration rollback
...
Signed-off-by: Amir Alavi <amiralavi7@gmail.com>
2024-10-14 20:36:53 -04:00
Anuj Agrawal
ace0e69099
Added first part of unit tests for pkg/util/lifted/corev1printers.go
...
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-10-14 22:12:15 +05:30