Commit Graph

3096 Commits

Author SHA1 Message Date
karmada-bot 6d26feb77c
Merge pull request #5458 from zhzhuang-zju/karmadactlannotate
add new command annotate
2024-08-29 21:17:47 +08:00
karmada-bot 10cc29ae92
Merge pull request #5453 from zhzhuang-zju/karmadactllabel
add new command label
2024-08-29 19:47:46 +08:00
zhzhuang-zju 65f686e473 add new command annotate
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-08-29 19:47:08 +08:00
karmada-bot bd483c141d
Merge pull request #5454 from whitewindmills/words-cleanup
Fix spelling errors
2024-08-29 19:43:46 +08:00
圣朋 48b03df9c9 fix: aggregate apiserver http method to get
Signed-off-by: 圣朋 <sp441185@alibaba-inc.com>
2024-08-29 17:59:12 +08:00
zhzhuang-zju 8b21a65f97 add new command label
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-08-29 16:02:12 +08:00
whitewindmills b4ad838227 Fix spelling errors
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-08-29 15:58:05 +08:00
Nishant Bansal 3e5ea52ac6 Improved test coverage for dependencies_distributor in pkg/dependenciesdistributor
Signed-off-by: Nishant Bansal <nishant.bansal.282003@gmail.com>
2024-08-29 12:49:20 +05:30
karmada-bot 47cea6a84d
Merge pull request #5432 from spiritNO1/fix_url
fix: remove extra slash when constructing member cluster URL if the apiEndpoint of the cluster object ends with a slash
2024-08-29 12:20:46 +08:00
hulizhe 1a34a70ef3 enhance top pod command
Signed-off-by: hulizhe <pompeii.hu@gmail.com>
2024-08-29 10:50:30 +08:00
karmada-bot 2efe03fac9
Merge pull request #5441 from RainbowMango/pr_bump_custom-metrics-apiserver
Bump custom-metrics-server to v1.30.0
2024-08-28 22:05:45 +08:00
圣朋 f5f351bd4a fix: remove extra slash when constructing member cluster URL to adapt the apiEndpoint of the cluster object ends with a slash.
Signed-off-by: 圣朋 <sp441185@alibaba-inc.com>
2024-08-28 17:47:32 +08:00
whitewindmills e13d06b70d skip descheduling ResourceBinding which is being deleted
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-08-28 17:05:03 +08:00
RainbowMango a968ff3d8b Bump custom-metrics-server to v1.30.0 which requires Kubernetes v1.30 as the main module
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-08-28 15:23:06 +08:00
karmada-bot 295dee80dc
Merge pull request #5381 from xovoxy/cert-rotation-ut
Improve test coverage for /pkg/controllers/certificate, with a minor optimization
2024-08-28 15:17:45 +08:00
karmada-bot d16f0985ec
Merge pull request #5437 from liangyuanpeng/scheduler_options
Standardize the health probe and metrics arguments of scheduler.
2024-08-28 09:11:45 +08:00
Lan Liang 0fceab521a Standardize the health probe and metrics arguments of scheduler.
Signed-off-by: Lan Liang <gcslyp@gmail.com>
2024-08-27 12:37:21 +00:00
karmada-bot a184b40a56
Merge pull request #5434 from zhzhuang-zju/karmadactledit
add new command edit
2024-08-27 20:28:45 +08:00
zhzhuang-zju e9c1df6828 add new command edit
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-08-27 19:35:13 +08:00
karmada-bot 9a678b65f0
Merge pull request #5290 from seanlaii/controller-manager-options
Standardize the health probe argument of karmada-controller-manager
2024-08-27 18:37:45 +08:00
karmada-bot 8320ccf7fb
Merge pull request #5435 from whitewindmills/descheduler-options
Standardize the health probe and metrics arguments of descheduler
2024-08-27 17:55:45 +08:00
wei-chenglai f6d022f799 Standardize the health probe argument of karmada-controller-manager
Signed-off-by: wei-chenglai <qazwsx0939059006@gmail.com>
2024-08-27 16:29:01 +08:00
karmada-bot 98b2bda5fb
Merge pull request #5427 from yashpandey06/pkg/estimator/client/service
Added tests for service file in pkg/estimator/client
2024-08-27 16:20:44 +08:00
Yash Pandey ec419583bb Added unit tests for service in pkg/estimator/client
Signed-off-by: Yash Pandey <yash.pandey@agoda.com>
2024-08-27 12:02:02 +05:30
whitewindmills d9ecf2a9ca Standardize the health probe and metrics arguments of descheduler
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-08-27 14:32:00 +08:00
karmada-bot 608af763e1
Merge pull request #5412 from yashpandey06/test/search/proxy
Added UTs for proxy file 80% coverage
2024-08-27 14:20:44 +08:00
karmada-bot 8f6425b81a
Merge pull request #5273 from seanlaii/estimator-options
Standardize the health probe and metrics arguments of scheduler-estimator
2024-08-27 13:52:44 +08:00
Yash Pandey 332e235214 Added tests in pkg/registry
Signed-off-by: Yash Pandey <yash.pandey@agoda.com>
2024-08-27 09:57:03 +05:30
wei-chenglai c266e4b234 Standardize the health probe & metrics arguments of scheduler-estimator
Signed-off-by: wei-chenglai <qazwsx0939059006@gmail.com>
2024-08-27 11:49:42 +08:00
zhzhuang-zju 764bf58f1a add new command delete
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-08-27 09:52:25 +08:00
karmada-bot 19d1146c35
Merge pull request #5413 from NishantBansal2003/unit-test-detector
Improved test coverage for preemption in pkg/detector
2024-08-27 09:35:44 +08:00
Nishant Bansal 134b29cd60 Improved test coverage for preemption in pkg/detector
Signed-off-by: Nishant Bansal <nishant.bansal.282003@gmail.com>
2024-08-26 16:11:00 +05:30
hulizhe 216b465e98 add new command explain
Signed-off-by: hulizhe <pompeii.hu@gmail.com>
2024-08-26 17:29:00 +08:00
karmada-bot e13518de1e
Merge pull request #5394 from hulizhe/karmadactlapiresource
add new command karmadactl api-resources
2024-08-26 16:40:44 +08:00
karmada-bot 444b1b5876
Merge pull request #5395 from hulizhe/karmadactlattach
add new command karmadactl attach
2024-08-26 16:22:44 +08:00
karmada-bot 98ddb139fa
Merge pull request #5416 from NishantBansal2003/ut-policy-detector
Improved test coverage for policy in pkg/detector
2024-08-26 16:04:44 +08:00
hulizhe 55c8f909f9 add new command attach
Signed-off-by: hulizhe <pompeii.hu@gmail.com>
2024-08-26 15:21:30 +08:00
karmada-bot cc12739480
Merge pull request #5366 from anujagrawal699/addedTests-pkg/util/fedinformer
Added tests pkg/util/fedinformer
2024-08-26 15:15:44 +08:00
karmada-bot 6eb86ab706
Merge pull request #5399 from hulizhe/karmadactlcreate
add new command karmadactl create
2024-08-26 15:12:44 +08:00
karmada-bot d12df248ce
Merge pull request #4224 from zhzhuang-zju/ctl-top-node
karmadactl supports top node
2024-08-26 12:09:43 +08:00
karmada-bot 3757a2af50
Merge pull request #5421 from NishantBansal2003/ut-dependenciesdistributor
Improved test coverage for dependencies_distributor in pkg/dependenciesdistributor
2024-08-26 11:32:44 +08:00
karmada-bot 4eea6da77d
Merge pull request #5403 from a7i/work-status-suspend
fix: work status sync when work dispatching is suspended
2024-08-26 10:31:43 +08:00
Nishant Bansal ba39fded7f Improved test coverage for dependencies_distributor in pkg/dependenciesdistributor
Signed-off-by: Nishant Bansal <nishant.bansal.282003@gmail.com>
2024-08-25 18:27:44 +05:30
Nishant Bansal 860f3032aa Improved test coverage for policy in pkg/detector
Signed-off-by: Nishant Bansal <nishant.bansal.282003@gmail.com>
2024-08-24 19:51:59 +05:30
karmada-bot aee21b8f48
Merge pull request #5408 from anujagrawal699/addedTests-pkg/servicenameresolutiondetector
Added tests for pkg/servicenameresolutiondetector
2024-08-24 17:08:42 +08:00
Anuj Agrawal 147ede0284 Added tests for pkg/servicenameresolutiondetector
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>

Added tests for pkg/servicenameresolutiondetector

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

Added tests for pkg/servicenameresolutiondetector

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

Added tests for pkg/servicenameresolutiondetector

Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-08-23 10:24:10 +05:30
xovoxy 5e66106f85 Improve test coverage for /pkg/controllers/certificate, with a minor optimization
Signed-off-by: xovoxy <xilovele@gmail.com>
2024-08-23 12:49:14 +08:00
karmada-bot bcf68fadcb
Merge pull request #5409 from NishantBansal2003/ut-detector
Improved test coverage for policy in pkg/detector
2024-08-23 10:24:41 +08:00
Anuj Agrawal daf29c5112 Added test files for pkg/util/fedinformer
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>

Added tests for pkg/util/fedinformer

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

Added tests for pkg/util/fedinformer

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

Added tests for pkg/util/fedinformer

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

Added tests for pkg/util/fedinformer

Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-08-22 15:47:38 +05:30
karmada-bot dc1669db71
Merge pull request #5388 from yashpandey06/test/binding
Added tests in pkg/binding for condition coverage
2024-08-22 10:31:41 +08:00
Vamshi Maskuri 49adbf8204 refactor
Signed-off-by: Vamshi Maskuri <117595548+varshith257@users.noreply.github.com>

add review comments

Signed-off-by: Vamshi Maskuri <117595548+varshith257@users.noreply.github.com>

fix lint
2024-08-21 22:28:42 +05:30
Yash Pandey 7bef0986ca Added and modified tests in binding common
Signed-off-by: Yash Pandey <yash.pandey@agoda.com>
2024-08-21 15:38:25 +05:30
Nishant Bansal 87da9a9bc1 Improved test coverage for policy in pkg/detector
Signed-off-by: Nishant Bansal <nishant.bansal.282003@gmail.com>
2024-08-20 23:42:40 +05:30
Amir Alavi 5f54261725
fix: work status sync when work dispatching is suspended
Signed-off-by: Amir Alavi <amiralavi7@gmail.com>
2024-08-20 10:45:15 -04:00
karmada-bot d4bfbb5a70
Merge pull request #5390 from NishantBansal2003/unit-tests-detector
Improved test coverage for handler in pkg/detector
2024-08-20 11:40:38 +08:00
karmada-bot 2c1e0f8b4e
Merge pull request #5368 from anujagrawal699/addedTests-pkg/controllers/namespace
Added test for namespace controller
2024-08-20 10:53:38 +08:00
zhzhuang-zju 3af667c62c karmadactl supports top node
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-08-19 20:06:32 +08:00
karmada-bot 24de174b35
Merge pull request #5398 from hulizhe/karmadactlexec
enhance karmadactl exec command
2024-08-19 18:14:37 +08:00
karmada-bot 7307e2e1fb
Merge pull request #5227 from XiShanYongYe-Chang/fix-remedy-ci-failed
fix the error of cluster status old condition update will overwrite the newest condition
2024-08-19 18:07:38 +08:00
hulizhe a6aa08e6b3 add new command karmadactl create
Signed-off-by: hulizhe <pompeii.hu@gmail.com>
2024-08-19 17:16:44 +08:00
changzhen b59761efcf fix error of when cluster status condition update
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-08-19 16:34:50 +08:00
hulizhe 914d57ca89 enhance karmadactl exec command
Signed-off-by: hulizhe <pompeii.hu@gmail.com>
2024-08-19 16:10:57 +08:00
hulizhe 668a994bf9 add new command karmadactl api-resources
Signed-off-by: hulizhe <pompeii.hu@gmail.com>
2024-08-19 15:57:26 +08:00
hulizhe 2249abd818 enhance karmadactl describe command
Signed-off-by: hulizhe <pompeii.hu@gmail.com>
2024-08-19 15:37:52 +08:00
karmada-bot f3ae66ba60
Merge pull request #5254 from hulizhe/karmadactlget
Enhance the capabilities of the karmadactl get command
2024-08-19 12:01:38 +08:00
karmada-bot 40e3337e14
Merge pull request #5372 from NishantBansal2003/unit-tests-resourceinterpreter
Improved test coverage for default.go and other related files in pkg/resourceinterpreter
2024-08-19 11:50:38 +08:00
hulizhe 99ef7a3b59 enhance karmadactl get command
Signed-off-by: hulizhe <pompeii.hu@gmail.com>
2024-08-19 10:16:46 +08:00
Anuj Agrawal 4cc0c20a7c Added tests for namespace controller
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-08-17 20:50:49 +05:30
Anuj Agrawal b00fac8069 Added tests for namespace controller
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-08-17 19:15:53 +05:30
Nishant Bansal ad9c16d5a8 Improved test coverage for handler in pkg/detector
Signed-off-by: Nishant Bansal <nishant.bansal.282003@gmail.com>
2024-08-16 23:18:08 +05:30
Nishant Bansal 2818bae8ff Improved test coverage for default.go and other related files in pkg/resourceinterpreter
Signed-off-by: Nishant Bansal <nishant.bansal.mec21@iitbhu.ac.in>
2024-08-16 16:32:31 +05:30
changzhen 911cc44974 remove pp/cpp name length limit
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-08-16 10:34:15 +08:00
karmada-bot e7cb1332c5
Merge pull request #5318 from chaosi-zju/fixpatch
fix expected patch operations may be missed when AggregateStatus
2024-08-16 10:29:35 +08:00
Amir Alavi b27e669f48
fix: allow suspended work to get deleted
Signed-off-by: Amir Alavi <amiralavi7@gmail.com>
2024-08-15 09:03:06 -04:00
Anuj Agrawal 633f5ba31e Added tests for namespace controller
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-08-14 22:33:20 +05:30
karmada-bot bfa5839d36
Merge pull request #5364 from anujagrawal699/improveTestCoverage-pkg/descheduler
Improve test coverage of pkg/descheduler
2024-08-14 17:35:34 +08:00
chaosi-zju 478b8c6456 fix expected patch operations may be missed when AggregateStatus
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-08-14 15:21:44 +08:00
Anuj Agrawal 57575675ef Added test for namespace controller
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-08-14 12:32:41 +05:30
karmada-bot e5757115c2
Merge pull request #5358 from NishantBansal2003/resourceinterpreter-ut-coverage
Improved test coverage for replica in pkg/resourceinterpreter
2024-08-13 21:13:34 +08:00
Anuj Agrawal 810ca89e69 Added tests and improved test coverage of pkg/descheduler
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-08-13 17:36:21 +05:30
Anuj Agrawal 9e67017305 Added new test file and Improved Test Coverage of descheduler package
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-08-13 15:35:53 +05:30
karmada-bot e5b1298608
Merge pull request #5339 from NishantBansal2003/coverage-util-files
Add 100% test coverage for matcher, shadow, and names.go in pkg/util
2024-08-13 17:07:32 +08:00
Nishant Bansal e6a7b49a58 Improved test coverage for replica in pkg/resourceinterpreter
Signed-off-by: Nishant Bansal <nishant.bansal.mec21@iitbhu.ac.in>
2024-08-13 12:52:46 +05:30
karmada-bot 8526486681
Merge pull request #5346 from NishantBansal2003/ut-resourceinterpreter-files
Add test coverage for revisereplica and retain in pkg/resourceinterpr…
2024-08-13 10:38:33 +08:00
karmada-bot 62c5d8bca2
Merge pull request #5338 from anujagrawal699/improveTestCoverage-pkg/util/eventfilter
Added new test cases and improved test coverage of pkg/util/eventfilter
2024-08-13 10:31:33 +08:00
Yash Pandey 4d49f36d09 Added unit test cluster_condition coverage : 100% (squashed commit)
Signed-off-by: Yash Pandey <yash.pandey@agoda.com>

Signed-off-by: Yash Pandey <yash.pandey@agoda.com>
2024-08-12 17:59:07 +05:30
Nishant Bansal 95b91845a0 Add test coverage for revisereplica and retain in pkg/resourceinterpreter/
Signed-off-by: Nishant Bansal <nishant.bansal.mec21@iitbhu.ac.in>
2024-08-12 15:17:58 +05:30
karmada-bot 034b5d4ccf
Merge pull request #5342 from xovoxy/binding-ut
Improve test coverage for /pkg/controllers/binding
2024-08-12 15:20:31 +08:00
xovoxy effcc6c899 Improve test coverage for /pkg/controllers/binding
Signed-off-by: xovoxy <xilovele@gmail.com>
2024-08-09 22:19:05 +08:00
Nishant Bansal 95b421dd55 Add 100% test coverage for matcher, shadow, and names.go in pkg/util
Signed-off-by: Nishant Bansal <nishant.bansal.mec21@iitbhu.ac.in>
2024-08-09 17:43:11 +05:30
Anuj Agrawal 95e3da96ec Added new test cases and improved test coverage of pkg/util/eventfilter
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-08-09 16:09:53 +05:30
Amir Alavi 8f707f35b4
work suspension: emit event for work dispatch status
Signed-off-by: Amir Alavi <amiralavi7@gmail.com>

fix lint

fix lint
2024-08-09 06:15:05 -04:00
karmada-bot 37488bd109
Merge pull request #5331 from NishantBansal2003/unit-tests-util-common
Add unit tests for common.go in pkg/util
2024-08-09 17:53:29 +08:00
Nishant Bansal bf0294be91 Add unit tests for common.go in pkg/util
Signed-off-by: Nishant Bansal <nishant.bansal.mec21@iitbhu.ac.in>
2024-08-09 14:14:33 +05:30
karmada-bot 6e9136d5e9
Merge pull request #5310 from anujagrawal699/improveTestCoverage-pkg/controllers/context
Improve test coverage of pkg/controllers/context
2024-08-09 15:51:29 +08:00
karmada-bot 052b06ecc2
Merge pull request #5333 from a7i/duplicate-import
chore: remove duplicate imports
2024-08-09 14:52:29 +08:00
karmada-bot fa05f9b600
Merge pull request #5317 from a7i/work-suspend-work-status-conditions
work suspension: work status conditions
2024-08-09 14:45:29 +08:00
Amir Alavi 010d38954e
chore: remove duplicate imports
Signed-off-by: Amir Alavi <amiralavi7@gmail.com>
2024-08-08 23:22:37 -04:00
karmada-bot 5a10d75828
Merge pull request #5324 from chaosi-zju/fixut
repair the test for rb status controller
2024-08-08 16:55:29 +08:00
karmada-bot c3c90efeeb
Merge pull request #5316 from qinguoyi/perf-findpath
perf:make findFeasiblePaths faster
2024-08-08 13:50:28 +08:00
chaosi-zju 16a4f42862 repair the test for rb status controller
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-08-08 12:18:39 +08:00
qinguoyi df681d0861 chore:clean up
Signed-off-by: qinguoyi <1532979219@qq.com>
2024-08-08 10:55:03 +08:00
qinguoyi 2db9dc4811 chore:clean up
Signed-off-by: qinguoyi <1532979219@qq.com>
2024-08-08 10:55:03 +08:00
qinguoyi a98041281d perf:make findFeasiblePaths faster
Signed-off-by: qinguoyi <1532979219@qq.com>
2024-08-08 10:55:03 +08:00
karmada-bot 37dfa37515
Merge pull request #5311 from yike21/generation-helmrelease
Align federated helmreleases.helm.toolkit.fluxcd.io observedGeneration semantics with its native
2024-08-08 10:42:28 +08:00
Amir Alavi 1d8e0a029e
work suspension: work status conditions
Signed-off-by: Amir Alavi <amiralavi7@gmail.com>
2024-08-07 22:25:05 -04:00
karmada-bot da74c2de65
Merge pull request #5302 from NishantBansal2003/add-unit-tests-util
Add 100% unit test coverage for annotation and label in pkg/util
2024-08-08 09:35:28 +08:00
karmada-bot 53da8194d8
Merge pull request #5295 from XiShanYongYe-Chang/update-left-slice-length
update left slice length in the resortAvailableClusters func
2024-08-07 18:42:27 +08:00
Nishant Bansal 5643f77e7b Add 100% unit test coverage for annotation and label in pkg/util
Signed-off-by: Nishant Bansal <nishant.bansal.mec21@iitbhu.ac.in>
2024-08-07 16:04:43 +05:30
Anuj Agrawal 4632376772 Improved test coverage of pkg/controllers/context
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-08-07 15:25:10 +05:30
Anuj Agrawal 59fe3901a2 Improved test coverage of pkg/controllers/context
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-08-07 12:24:13 +05:30
Anuj Agrawal ad46b67e2d Improved test coverage of pkg/controllers/context
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-08-07 12:20:35 +05:30
Anuj Agrawal baff21a75a Improved Test Coverage of pkg/controllers/context
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-08-07 09:26:45 +05:30
Amir Alavi d9e174b014
work suspension: webhook validation
Signed-off-by: Amir Alavi <amiralavi7@gmail.com>
2024-08-06 23:53:34 -04:00
yike21 0cf72ac56a Align federated helmreleases.helm.toolkit.fluxcd.io observedGeneration semantics with its native
Signed-off-by: yike21 <yike21@qq.com>
2024-08-06 23:58:12 +08:00
xovoxy 38ee277de7 optimize: used unified context in controller
Signed-off-by: xovoxy <xilovele@gmail.com>
2024-08-06 11:44:20 +08:00
whitewindmills 384f260953 add validation for failover api
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-08-06 10:41:36 +08:00
karmada-bot 4124ba8513
Merge pull request #5299 from whitewindmills/app-failover-logs
cleanup: Print seconds to avoid unreadable minutes
2024-08-06 10:27:26 +08:00
karmada-bot 920baceafd
Merge pull request #4838 from a7i/work-suspend
feat: cluster-level resource propagation pause and resume capabilities
2024-08-06 09:38:27 +08:00
whitewindmills 4af54fb68b Print seconds to avoid unreadable minutes
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-08-05 19:04:34 +08:00
changzhen 1b4e829ffd update left slice length in the resortAvailableClusters func
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-08-05 17:24:35 +08:00
karmada-bot 6b87604fed
Merge pull request #5281 from grosser/grosser/role-labels
add karmada.io/system label to created clusterrole+bindings
2024-08-02 18:04:23 +08:00
karmada-bot 04a4d84093
Merge pull request #5287 from mohamedawnallah/addFederatedResourceQuotaValidationTests
pkg: test `federatedresourcequota` webhook
2024-08-02 10:38:23 +08:00
Mohamed Awnallah 7373ab303e pkg: test `federatedresourcequota` webhook
In this commit, we add unit tests for the `FederatedResourceQuota`
validation logic and its related components. The tests ensure that
the validation logic correctly handles various scenarios, including:

- Validating `FederatedResourceQuota` specifications with appropriate resource assignments.
- Detecting cases where overall resource limits are less than the assigned resources.
- Handling scenarios where resource names in assignments do not exist in the overall resources.
- Validating `FederatedResourceQuotaStatus` to ensure standard resource types and correct cluster names.
- Handling invalid resource lists in both `Overall` and `AggregatedStatus`.

Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-08-01 02:39:44 +00:00
Michael Grosser f4df03f6e0
add karmada.io/system label to created clusterrole+bindings
Signed-off-by: Michael Grosser <michael@grosser.it>
2024-07-31 18:46:21 -07:00
xovoxy f30e450a36 optimize: used a unified context in cluster_controller reconcile
Signed-off-by: xovoxy <xilovele@gmail.com>
2024-07-31 15:36:58 +08:00
karmada-bot 145a67e873
Merge pull request #5280 from XiShanYongYe-Chang/update-pluginToClusterScores-length
[Cleanup] update pluginToClusterScores length from filterPlugins length to scorePlugins length
2024-07-30 22:17:21 +08:00
changzhen 0735ec0202 update pluginToClusterScores length from filterPlugins length to scorePlugins length
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-07-30 20:51:25 +08:00
karmada-bot 987206ed9c
Merge pull request #5234 from chaosi-zju/patch
only generate json patch for status filed when patchBindingStatus
2024-07-30 17:31:21 +08:00
chaosi-zju fbb7a5e926 only generate json patch for status filed when patchBindingStatus
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-07-30 15:37:50 +08:00
Amir Alavi 58dbd6b56e
feat: cluster-level resource propagation pause and resume capabilities
Signed-off-by: Amir Alavi <amiralavi7@gmail.com>
2024-07-29 19:03:52 -04:00
karmada-bot ec81ac7c80
Merge pull request #5259 from zhzhuang-zju/cleanupmark
optimization: add retry when clean up mark from resourcetemplate failed
2024-07-29 12:08:19 +08:00
karmada-bot 21b330c23c
Merge pull request #5223 from whitewindmills/agent-options
Standardize the health probe arguments
2024-07-27 22:05:18 +08:00
zhzhuang-zju f24663b1e4 optimization: add retry when clean up mark from resourcetemplate failed
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-07-27 11:10:52 +08:00
karmada-bot c38f169916
Merge pull request #5247 from chaosi-zju/metrics
add metrics for recreate/update resource event when sync work status
2024-07-26 15:49:19 +08:00
karmada-bot 1430ecbd2e
Merge pull request #5243 from grosser/grosser/exelabe
add karmada.io/system label to created execution namespaces
2024-07-26 12:03:17 +08:00
chaosi-zju 32850c405c add metrics for recreate/update resource event when sync work status
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-07-26 11:17:48 +08:00
karmada-bot 335cc90bc0
Merge pull request #5246 from grosser/grosser/relabel
relabel webhooks to make it obvious they belong to karmada
2024-07-26 09:33:17 +08:00
Michael Grosser 13f0f6e6d8
add karmada.io/system label to created execution namespaces
Signed-off-by: Michael Grosser <michael@grosser.it>
2024-07-25 07:48:49 -07:00
karmada-bot 4ba18c12ed
Merge pull request #5194 from yike21/generation-helmchart
Align federated helmcharts.source.toolkit.fluxcd.io observedGeneration semantics with its native
2024-07-25 16:11:17 +08:00
karmada-bot 1774bd771e
Merge pull request #5197 from yike21/generation-ocirepository
Align federated ocirepositories.source.toolkit.fluxcd.io observedGeneration semantics with its native
2024-07-25 16:10:16 +08:00
karmada-bot 08dceefa40
Merge pull request #5193 from yike21/generation-bucket
Align federated buckets.source.toolkit.fluxcd.io observedGeneration semantics with its native
2024-07-25 16:08:16 +08:00
Michael Grosser afc1e5fc89
relabel webhooks to make it obvious they belong to karmada
Signed-off-by: Michael Grosser <michael@grosser.it>
2024-07-24 19:45:52 -07:00
karmada-bot bc1c96ee05
Merge pull request #5175 from tiansuo114/master
improve karmadactl unit test: check the cert file exist
2024-07-24 17:45:15 +08:00
whitewindmills 955b5b5862 Standardize the health probe arguments
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-07-23 10:20:48 +08:00
changzhen d1c298ef3d make cleanup with multiclusterservice controllers
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-07-22 11:15:58 +08:00
karmada-bot 61a3d1f815
Merge pull request #5196 from yike21/generation-helmrepository
Align federated helmrepositories.source.toolkit.fluxcd.io observedGeneration semantics with its native
2024-07-19 15:37:11 +08:00
karmada-bot 32924ad5d8
Merge pull request #5215 from mszacillo/priorityclass-flinkdeployment
Adding generic handling of priorityclass + namespace for flinkdeployment interpreter
2024-07-18 23:58:11 +08:00
tiansuo114 26a178d0fe
Add cert file exist check
Signed-off-by: tiansuo114 <1729765480@qq.com>

fix ci

Signed-off-by: tiansuo114 <1729765480@qq.com>

change fmt.Println to t.Fatal

Signed-off-by: tiansuo114 <1729765480@qq.com>

Fix the issues raised in the discussion

Signed-off-by: tiansuo114 <1729765480@qq.com>

fix

Signed-off-by: tiansuo114 <1729765480@qq.com>

fix

Signed-off-by: tiansuo114 <1729765480@qq.com>

fix

Signed-off-by: tiansuo114 <1729765480@qq.com>

add file check

Signed-off-by: tiansuo114 <1729765480@qq.com>

fix

Signed-off-by: tiansuo114 <1729765480@qq.com>

fix

Signed-off-by: tiansuo114 <1729765480@qq.com>
2024-07-18 13:10:38 +08:00
karmada-bot 1bf93364af
Merge pull request #5204 from liangyuanpeng/statefulset_generation
Align federated StatefulSet's observedGeneration semantics with its native
2024-07-18 11:13:10 +08:00
karmada-bot a389fa2f8b
Merge pull request #5167 from whitewindmills/kruise-ds-generation
Align federated daemonsets.apps.kruise.io observedGeneration semantics with its native
2024-07-18 10:27:10 +08:00
mszacillo d79c6008d3 Adding generic handling of priorityclass + namespace for flinkdeployment interpreter
Signed-off-by: mszacillo <mszacillo@bloomberg.net>
2024-07-17 15:29:17 -04:00
karmada-bot a5070c758b
Merge pull request #5188 from XiShanYongYe-Chang/fix-residual-work-in-mcs
Fix the issue of residual work in the MultiClusterService feature.
2024-07-17 11:09:10 +08:00
Lan Liang 70cb862478 Update karmada-apiserve and kube-controller-manager to v1.29.6 by default.
Signed-off-by: Lan Liang <gcslyp@gmail.com>
2024-07-16 14:01:19 +00:00
Lan Liang 0de6b285c8 Align federated StatefulSet's observedGeneration semantics with its native
Signed-off-by: Lan Liang <gcslyp@gmail.com>
2024-07-16 05:09:01 +00:00
yike21 00e83f7623 Align federated ocirepositories.source.toolkit.fluxcd.io observedGeneration semantics with its native
Signed-off-by: yike21 <yike21@qq.com>
2024-07-14 17:37:40 +08:00
yike21 2fb7a55854 Align federated helmrepositories.source.toolkit.fluxcd.io observedGeneration semantics with its native
Signed-off-by: yike21 <yike21@qq.com>
2024-07-14 17:13:48 +08:00
yike21 b92029cc63 Align federated helmcharts.source.toolkit.fluxcd.io observedGeneration semantics with its native
Signed-off-by: yike21 <yike21@qq.com>
2024-07-14 02:27:21 +08:00
yike21 9d4201b446 Align federated buckets.source.toolkit.fluxcd.io observedGeneration semantics with its native
Signed-off-by: yike21 <yike21@qq.com>
2024-07-14 02:17:23 +08:00
changzhen fc73d6759e Fix the issue of residual work in the MultiClusterService feature.
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-07-13 19:02:28 +08:00
RainbowMango e8164eeebd Adopt controller-runtime braking changes: generics support PR2783
Adopt controller-runtime breaking changes: make decoder as interface. PR2736

Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-07-13 16:49:01 +08:00
RainbowMango 7e7d8f6b9a adopt deepcopy-gen breaking changes
Adopt register-gen breaking changes
adopt conversion-gen breaking change
Adopt client-gen breaking changes
adopt list-gen breaking changes
Adopt informer-gen breaking changes
Adopt openapi-gen breaking changes
Adopt go-to-protobuff breaking changes

Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-07-13 16:48:18 +08:00
karmada-bot d3adcf68ef
Merge pull request #5165 from whitewindmills/ds-generation
Align federated DaemonSet's observedGeneration semantics with its native
2024-07-13 16:31:06 +08:00
karmada-bot 7f0961f06c
Merge pull request #5177 from RainbowMango/pr_adopt_deprecated_addtoscheme
Adopt deprecated AddToScheme functions
2024-07-12 17:50:05 +08:00
karmada-bot fdc29c7470
Merge pull request #5127 from guozheng-shen/feat-ca
feat: karmadactl add ca-cert-path and ca-key-path opts
2024-07-12 14:41:05 +08:00
Amir Alavi 284dd278db
set karmada.io/system label to all member cluster registration resources
Signed-off-by: Amir Alavi <amiralavi7@gmail.com>
2024-07-11 14:42:30 -04:00
guozheng-shen 43bb7c75ce feat: karmadactl add ca-cert-path and ca-key-path opts
Signed-off-by: guozheng-shen <179826407@qq.com>
2024-07-11 21:30:44 +08:00
RainbowMango 5d14b8d254 Adopt deprecated AddToScheme functions
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-07-11 15:09:13 +08:00
whitewindmills 6158fd8af5 Expose metrics port for karmadactl installation
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-07-11 11:16:03 +08:00
karmada-bot ae45a5a597
Merge pull request #5164 from whitewindmills/update-cluster-printcolumns
Add more columns for cluster
2024-07-10 17:35:04 +08:00
whitewindmills c493c58fe9 Align federated daemonsets.apps.kruise.io observedGeneration semantics with its native
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-07-10 17:22:27 +08:00
whitewindmills 82aad4eee2 Align federated DaemonSet's observedGeneration semantics with its native
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-07-10 16:31:05 +08:00
karmada-bot 15df251200
Merge pull request #5144 from mszacillo/sort-clusterinfo
GroupClusters should sort by score and availableReplica count
2024-07-10 14:53:03 +08:00
hejunhua c3b854de62 Add more columns for cluster
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-07-10 14:25:33 +08:00
karmada-bot 625d8a5b77
Merge pull request #5154 from RainbowMango/pr_fix_mockgen_imports
Fix mockgen generated files not group imports issue
2024-07-09 17:32:03 +08:00
karmada-bot ffdc58cbba
Merge pull request #5057 from veophi/generation/cloneset
Align federated CloneSet's observedGeneration semantics with its native
2024-07-09 09:40:03 +08:00
mszacillo 01be91b9db GroupClusters should sort by score and availableReplica count
Signed-off-by: mszacillo <mszacillo@bloomberg.net>
2024-07-08 17:14:19 -04:00
veophi f2ad6e599a fix cloneset observed generation logic
Signed-off-by: veophi <sunweixiang@xiaohongshu.com>
2024-07-08 11:47:51 +08:00
RainbowMango 82b61dcc69 Fix mockgen generated files not group imports issue
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-07-08 11:12:16 +08:00
whitewindmills 91f72f998c Transplant propagation policy finalizer to karmada-webhook
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-07-08 10:23:38 +08:00
karmada-bot f869fbac16
Merge pull request #5086 from yike21/generation-gitrepository
Align federated GitRepository's observedGeneration semantics with its native
2024-07-08 10:13:01 +08:00
karmada-bot 25f9fdd8c0
Merge pull request #5147 from XiShanYongYe-Chang/remove-managed-label-in-collected-eps
Remove managed label in collected endpointslice and derived service
2024-07-08 09:56:02 +08:00
changzhen 81e30eb367 remove unused cleanup code in endpointslice-controller
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-07-06 17:53:12 +08:00
changzhen 9aee02019d remove managed label in collected endpointslice and derived service
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-07-06 17:37:17 +08:00
RainbowMango f2b37a43a3 Unify column names and add missing age column
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-07-04 18:15:37 +08:00
whitewindmills 2450bd6041 Correct licenses format
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-07-04 10:35:16 +08:00
Amir Alavi cb77fdc245
additional print columns for CRDs: `ResourceInterpreterCustomization` `ClusterPropagationPolicy` and `PropagationPolicy`
Signed-off-by: Amir Alavi <amiralavi7@gmail.com>
2024-07-02 12:49:57 -04:00
karmada-bot c0118efd9a
Merge pull request #5023 from mszacillo/flinkdeployment-crd
Adding FlinkDeployment CRD to supported third party resource customizations
2024-07-01 09:10:56 +08:00
karmada-bot c0c5569e03
Merge pull request #5094 from zhy76/feat/sts
Align federated StatefulSet's observedGeneration semantics with its native
2024-06-29 15:52:54 +08:00
mszacillo 4c8e4dea31 Improving tm replica interpretation
Signed-off-by: mszacillo <mszacillo@bloomberg.net>
2024-06-27 13:13:23 -04:00
mszacillo a1bcbf143f Adding nil check for podTemplate
Signed-off-by: mszacillo <mszacillo@bloomberg.net>
2024-06-26 17:20:47 -04:00
mszacillo 4f16de20ea Taking max replica requirement from jm and tms, updating health interpreter, adding getResourceQuantity function to kube library
Signed-off-by: mszacillo <mszacillo@bloomberg.net>
2024-06-26 13:17:10 -04:00
zhy76 d7d28eaf3b Align federated StatefulSet's observedGeneration semantics with its native
Signed-off-by: zhy76 <958474674@qq.com>
2024-06-26 20:59:48 +08:00
karmada-bot 4706dd8b54
Merge pull request #5095 from whitewindmills/jobs-replicas
Fix the bug in interpreting the replicas of Job
2024-06-26 17:37:51 +08:00
karmada-bot ef87b38d8c
Merge pull request #5099 from grosser/grosser/rename
rename host-as-* to karmada-as-*
2024-06-26 14:13:52 +08:00
Michael Grosser b30210f303
rename host-as-* to karmada-as-*
Signed-off-by: Michael Grosser <michael@grosser.it>
2024-06-25 21:49:30 -07:00
whitewindmills bf9eaf05ec Fix the bug in interpreting the replicas of Job
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-06-24 18:17:05 +08:00
yike21 8547843d01 fix kustomization observed generation logic
Signed-off-by: yike21 <yike21@qq.com>
2024-06-23 17:14:20 +08:00
yike21 b4c6fd889f fix gitrepository observed generation logic
Signed-off-by: yike21 <yike21@qq.com>
2024-06-23 17:07:01 +08:00
zhzhuang-zju acdd2115c6 Adding TLS Certificate Authentication to gRPC
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-06-21 15:56:20 +08:00