Commit Graph

2845 Commits

Author SHA1 Message Date
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
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
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