Commit Graph

2828 Commits

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