Commit Graph

3096 Commits

Author SHA1 Message Date
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
Michael Grosser 0bc96a2f67
add --as-* options to join command (#5016)
Signed-off-by: Michael Grosser <michael@grosser.it>
2024-06-20 09:31:46 +08:00
Lan Liang c8524d0d78 Update karmada-apiserve and kube-controller-manager to v1.28.9 by default.
Signed-off-by: Lan Liang <gcslyp@gmail.com>
2024-06-19 08:38:01 +00:00
karmada-bot f3b25c617d
Merge pull request #5042 from XiShanYongYe-Chang/add-work-namespace-annotations
add work namespace/name annotations in the endpointslice resources
2024-06-17 14:58:45 +08:00
karmada-bot b624cb8c64
Merge pull request #4867 from veophi/bugfix/deployment-generation
Align federated Deployment's observedGeneration semantics with its native
2024-06-17 11:18:44 +08:00
孙伟祥 933343df10 fix deployment observed generation logic
Signed-off-by: 孙伟祥 <sunweixiang@xiaohongshu.com>
2024-06-14 14:05:42 +08:00
whitewindmills 58c15c8ed9 fix code inspection errors
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-06-12 17:55:59 +08:00
changzhen dca46571fe add work namespace/name annotations in the eps
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-06-12 16:29:00 +08:00
changzhen d5a317a165 fix-remedy-e2e-errors
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-06-12 15:22:01 +08:00
karmada-bot 95e32649a9
Merge pull request #5028 from RainbowMango/pr_nominate_owners
nominate code owners of scheduler, resourceinterpreter, apis
2024-06-12 09:34:40 +08:00
karmada-bot 3ff49ad1d7
Merge pull request #4986 from whitewindmills/fix-aggregate-binding-status
Integrate UpdateStatus function
2024-06-11 19:48:39 +08:00
whitewindmills 6d18bea052 Integrate UpdateStatus function
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-06-11 16:57:51 +08:00
mszacillo f822072c34 Adding FlinkDeployment CRD to supported third party resource customizations
Signed-off-by: mszacillo <mszacillo@bloomberg.net>
2024-06-10 12:07:14 -04:00
RainbowMango 1c9395ba6e nominate code owners of scheduler, resourceinterpreter, apis
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-06-07 11:59:02 +08:00
karmada-bot 049ddc6d1f
Merge pull request #5020 from XiShanYongYe-Chang/remove=pp-namespce-name-labels
Remove pp/cpp namespace/name labels
2024-06-07 10:59:35 +08:00
karmada-bot f2633a43a9
Merge pull request #5012 from mszacillo/unschedulable-plugin-fix
Account for unschedulable plugin result during maxreplica estimation
2024-06-06 10:13:35 +08:00
mszacillo 23c9dc9a1e Account for unschedulable plugin result during maxreplica estimation
Signed-off-by: mszacillo <mszacillo@bloomberg.net>
2024-06-05 09:43:48 -04:00
karmada-bot d05b92153b
Merge pull request #4998 from chaosi-zju/dev
fix demo for dependencyInterpretation
2024-06-05 10:50:34 +08:00
chaosi-zju 3c731e5d08 fix demo for dependencyInterpretation
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-06-04 11:50:30 +08:00
changzhen 64a5d0fa7a remove pp/cpp namespace/name labels
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-06-03 09:58:19 +08:00
huangyanfeng 2a10b8b314 fix register cluster creates agent missing --cluster-namespace parameter
Signed-off-by: huangyanfeng <huangyanfeng1992@gmail.com>
2024-05-30 20:04:32 +08:00
changzhen 6edf69debb fix upgrade error with #5003
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-05-30 18:07:07 +08:00
karmada-bot 9c85fbddf9
Merge pull request #4997 from XiShanYongYe-Chang/remove-unused-id-label
remove unused id label in the dependencise distributor
2024-05-30 11:22:29 +08:00
changzhen ffa2f8c8f6 remove unused id label in the dependencise distributor
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-05-29 14:27:32 +08:00
changzhen d7419fe1f8 fix depended-by label value exceed 63 characters
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-05-29 11:55:29 +08:00
changzhen 8ec02ca39b add verify for all kinds of interpters with InterpretDependency operation
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-05-28 20:00:00 +08:00
Lan Liang ed0f26c328 cleanup pointer, use ptr.Toto obtain a pointer, ptr.Deref to dereference a pointer.
The new k8s.io/utils/ptr package provides generic wrapper functions,
which can be used instead of type-specific pointer wrapper functions.
This replaces the latter with the former, and migrates other uses of
the deprecated pointer package to ptr in affacted files.

See kubernetes/utils#283 for details.

Signed-off-by: Lan Liang <gcslyp@gmail.com>
2024-05-28 05:32:33 +00:00
karmada-bot be1a4fbbe2
Merge pull request #4894 from chaosi-zju/reschedule-delete
support auto delete WorkloadRebalancer when time up
2024-05-27 11:34:26 +08:00
karmada-bot 293ba7b188
Merge pull request #4985 from whitewindmills/skip-deleting-binding
Skip schedule deleting bindings
2024-05-27 11:16:26 +08:00
chaosi-zju a8b4050ee7 support auto delete WorkloadRebalancer when time up.
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-05-27 09:56:06 +08:00
changzhen 89f8a1bf36 add binding dependencies distributor finalizer to the independent binding
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-05-25 15:45:35 +08:00
changzhen 89088a6fe2 update relate binding name and comments for ease of understanding
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-05-25 10:55:31 +08:00
whitewindmills b43e93136a Skip schedule deleting bindings
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-05-24 17:19:10 +08:00
karmada-bot 8eb4322395
Merge pull request #4967 from RainbowMango/pr_remove_deprecated_clusterzone
Removed deprecated --cluster-zone from karmadactl join command
2024-05-23 10:40:22 +08:00
karmada-bot ef14a98242
Merge pull request #4964 from whitewindmills/validation-on-policy-id
Add validation on policy permanent ID
2024-05-23 09:20:19 +08:00
whitewindmills b7678c92b2 Add validation on policy permanent ID
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-05-22 17:59:52 +08:00
RainbowMango a0ace65395 Removed deprecated --cluster-zone from karmadactl join command
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-05-22 16:23:25 +08:00
karmada-bot e4a4a474f4
Merge pull request #3906 from Affan-7/cleanup-wait.poll
Migrate deprecated wait.Poll function
2024-05-22 15:52:18 +08:00
Lan Liang 5a4539d404 migrate wait.PollImmediate to wait.PollUntilContextTimeout.
Signed-off-by: Lan Liang <gcslyp@gmail.com>
2024-05-22 05:51:49 +00:00
RainbowMango 197d3358f7 Fixed golint issues and new piecies of wait.Poll
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-05-22 11:39:45 +08:00
Mohammed Affan 6a07cca040 Migrate deprecated wait.poll
Signed-off-by: Mohammed Affan <mohammed.affan.727@gmail.com>
2024-05-22 11:19:51 +08:00
karmada-bot 2ddebf1c64
Merge pull request #4960 from chaosi-zju/files
cleanup: grant the correct permissions when creating a file
2024-05-22 09:36:18 +08:00
karmada-bot 21b3ffec82
Merge pull request #4959 from XiShanYongYe-Chang/add-empty-judgement
[Cleanup] Add empty judgment for placement in taint-manager
2024-05-21 21:24:43 +08:00
changzhen dcd04aecfe add empty judgement for placement in taint-manager
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-05-21 16:23:13 +08:00
chaosi-zju 52cd7716e6 cleanup: adjust log print content when delete token by karmadactl.
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-05-21 16:10:26 +08:00
RainbowMango 845fb3376f fix golint issue introduced by #4950
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-05-21 11:30:32 +08:00
karmada-bot 894198975c
Merge pull request #4955 from chaosi-zju/3072
upgrade rsa key size from 2048 to 3072
2024-05-21 11:01:24 +08:00
karmada-bot 1ebaf1d5a8
Merge pull request #4950 from whitewindmills/bindID-webhook
cleanup dead code of generating binding permanent id
2024-05-21 10:22:25 +08:00
chaosi-zju 472da38a6c cleanup: grant the correct permissions when creating a file
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-05-21 09:30:38 +08:00
chaosi-zju dee30c821b upgrade rsa key size from 2048 to 3072
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-05-21 09:18:30 +08:00
Amir Alavi 3dfa5b54bd
fix: remove deployment revision annotation
Signed-off-by: Amir Alavi <amir.alavi@zendesk.com>
2024-05-20 07:19:21 -04:00
karmada-bot 3314771f31
Merge pull request #4949 from whitewindmills/policyid-webhook
cleanup dead code of generating PropagationPolicy permanent id
2024-05-20 12:16:23 +08:00
karmada-bot b4011125ed
Merge pull request #4940 from XiShanYongYe-Chang/remove-retain-annotations-logic
[Cleanup] remove retain annotations logic
2024-05-20 11:19:23 +08:00
karmada-bot 774a2b1366
Merge pull request #4934 from zhzhuang-zju/G107
silence gosec warning G107
2024-05-20 10:05:23 +08:00
karmada-bot dc7b755335
Merge pull request #4957 from chaosi-zju/text-template
cleanup: replace text/template with html/template
2024-05-20 09:26:23 +08:00
karmada-bot 6b9413f2dd
Merge pull request #4947 from zhzhuang-zju/pollutil
migrate wait.PollUntil to wait.PollUntilContextCancel
2024-05-17 18:27:21 +08:00
changzhen 581f392525 remove retain annotations logic
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-05-17 16:30:56 +08:00
chaosi-zju be3874a938 cleanup: replace text/template with html/template
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-05-17 15:37:55 +08:00
warjiang 59e88f1a38 clean: remove duplicate util reference
Signed-off-by: warjiang <1096409085@qq.com>
2024-05-17 01:57:04 +08:00
whitewindmills a9f3c02948 clean up dead code of generating binding permanent id
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-05-16 16:46:28 +08:00
whitewindmills bfc0f6fea6 cleanup dead code of generating PropagationPolicy permanent id
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-05-16 14:23:06 +08:00
zhzhuang-zju 13e13e9c14 migrate wait.PollUntil to wait.PollUntilContextCancel
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-05-16 11:16:11 +08:00
karmada-bot b217a9ce2d
Merge pull request #4944 from a7i/unit-test-retain-pv-pvc
unit test for interpreter retain (pv, pvc)
2024-05-16 09:59:20 +08:00
Amir Alavi 1496888318
unit test for interpreter retain (pv, pvc)
Signed-off-by: Amir Alavi <amir.alavi@zendesk.com>
2024-05-15 17:25:37 -04:00
Amir Alavi 384afd48fc
feat: retain `PersistentVolumeClaim` annotation `volume.kubernetes.io/selected-node`
Signed-off-by: Amir Alavi <amir.alavi@zendesk.com>
2024-05-15 17:21:34 -04:00
karmada-bot 6cfed59332
Merge pull request #4930 from zhzhuang-zju/golangciwith1.58.0
Bump golangci-lint to v1.58.0
2024-05-15 17:20:19 +08:00
karmada-bot b9c92a9cdd
Merge pull request #4916 from whitewindmills/workqueue-shutdown
Call shutdown after being stopped
2024-05-15 16:49:38 +08:00
whitewindmills 0708b7d55b Call shutdown after being stopped
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-05-14 18:01:02 +08:00
zhzhuang-zju 9960261c17 silence gosec warning G107
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-05-13 10:09:14 +08:00
zhzhuang-zju 309c67701b bump golangci to v1.58.0
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-05-13 09:32:13 +08:00
whitewindmills 93a04cbf0d Generate work permanent id in webhook
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-05-11 09:38:37 +08:00
karmada-bot 4ccffccc70
Merge pull request #4876 from chaosi-zju/reschedule-ut
add ut for WorkloadRebalancer controller
2024-05-10 16:17:15 +08:00
karmada-bot e30ca1b9cc
Merge pull request #4882 from whitewindmills/work-labels-annotations
Use webhook to set associated labels and annotations of work
2024-05-10 11:51:33 +08:00
whitewindmills a5d8ba7c09 Use webhook to set associated labels and annotations of work
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-05-10 11:03:19 +08:00
chaosi-zju 2b7d07ba1f add ut for WorkloadRebalancer controller.
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-05-10 10:54:14 +08:00
wei-chenglai 409c1c703b Bump sigs.k8s.io/controller-runtime to v0.17.5
Signed-off-by: wei-chenglai <qazwsx0939059006@gmail.com>
2024-05-08 21:16:15 -04:00
karmada-bot abb77d954c
Merge pull request #4911 from whitewindmills/rv-compare
chore: Use != for RV comparison
2024-05-07 20:13:31 +08:00
chaosi-zju 57c982f327 feat: support update event in WorkloadRebalancer
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-05-07 15:43:55 +08:00
whitewindmills 9c70349878 Use != for RV comparison
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-05-07 15:37:23 +08:00
Amir Alavi 2f3ac7dc79
chore: reuse proxyutil import for proxy
Signed-off-by: Amir Alavi <amir.alavi@zendesk.com>
2024-05-06 18:48:31 -04:00
karmada-bot ae0d3fa18e
Merge pull request #4884 from RainbowMango/pr_bump_k8s_1294
Bump Kubernetes dependencies to v1.29.4
2024-05-06 20:13:11 +08:00
RainbowMango d4b610cad6 fix lint issues
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-05-06 11:36:54 +08:00
RainbowMango 8cf31bfc37 Adopt Kubernetes #121390: remove etcd page
Adopt Kubernetes #118653, introduce VolumeResourceRequirements
Remove APIPriorityAndFairness feature gates from
karmada-aggregated-apiserver.

Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>

Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-05-06 11:36:54 +08:00
RainbowMango e5d05149ae Bump Kubernetes dependencies to v1.29.4
Update custom-metrics-apiserver to latest

Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-05-06 11:36:54 +08:00
chaosi-zju ccfc43e5bb fix patching WorkloadRebalancer failed due to misuse of shared slices
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-04-30 18:25:19 +08:00
karmada-bot 5bc8c5464d
Merge pull request #4872 from XiShanYongYe-Chang/add-shortname-for-ResourceInterpreterCustomization
add short name for resourceinterpretercustomizations
2024-04-30 15:04:09 +08:00
karmada-bot f33f3f8bf3
Merge pull request #4474 from jwcesign/add-uid
feat: add permanent id label to pp/cpp/rb/crb/work resources
2024-04-30 11:39:24 +08:00
karmada-bot afa3e11621
Merge pull request #4880 from whitewindmills/objectwatcher-delete
ObjectWatcher.Delete checks if resource can be deleted
2024-04-29 12:20:05 +08:00
whitewindmills f9f3d47c30 ObjectWatcher.Delete checks if resource can be deleted
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-04-28 18:45:44 +08:00
karmada-bot fff369941a
Merge pull request #4561 from zhzhuang-zju/annotation
e2e: Remove annotaions when pp/cpp is deleted
2024-04-28 17:40:04 +08:00
karmada-bot 81916d6d8f
Merge pull request #4813 from whitewindmills/deprecated-work-labels
Deprecate name/namespace labels of work
2024-04-28 16:33:23 +08:00
whitewindmills 8328054439 Deprecate name/namespace labels of work
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-04-28 15:22:44 +08:00
zhzhuang-zju 48425663cc e2e: Remove annotaions when pp/cpp is deleted
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-04-28 15:15:49 +08:00
karmada-bot c6ccb997c3
Merge pull request #4849 from yike21/update-testdate-for-cloneset
fix: update testdata for resourcecustomizations of CloneSet
2024-04-26 11:30:03 +08:00
changzhen cc72dc853d add short name for resourceinterpretercustomizations
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-04-26 10:15:47 +08:00
karmada-bot 8f9a624620
Merge pull request #4828 from liangyuanpeng/refactor_karmadactl_deploy
karmadactl: add common code for create and wait deployments.
2024-04-26 09:56:21 +08:00
wangxiaofei67 3232c52d57 add: Use opts.ResyncPeriod as controlPlaneInformerManager and sharedFactory
Signed-off-by: wangxiaofei67 <wangxiaofei67@jd.com>
2024-04-25 21:15:05 +08:00
karmada-bot 40d65f951a
Merge pull request #4864 from rohit-satya/etcd-update-3.5.13
etcd:Update version to 3.5.13
2024-04-25 20:56:21 +08:00
karmada-bot 68577f19f9
Merge pull request #4743 from whitewindmills/deprecated-labels
Deprecate name/namespace labels of pp/cpp
2024-04-25 20:47:02 +08:00
Rohit Satya 71e203ea33 etcd:Update version to 3.5.13
Signed-off-by: Rohit Satya <work.rohitsatya@gmail.com>
2024-04-25 09:52:24 +05:30
changzhen a16b4e220b replace work namespace/name labels with annotations
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-04-24 22:08:02 +08:00
chaosi-zju c600991f36 Introduce a new API named WorkloadRebalancer to support rescheduling.
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-04-23 10:34:11 +08:00
karmada-bot aded7c0c39
Merge pull request #4848 from chaosi-zju/reschedule-sche
Introduce a mechanism to scheduler to actively trigger rescheduling
2024-04-22 10:45:59 +08:00
chaosi-zju 0372cabba6 Introduce a mechanism to scheduler to actively trigger rescheduling
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-04-20 20:55:45 +08:00
khanhtc1202 e9a6d91ac4 Remove print in test
Signed-off-by: khanhtc1202 <khanhtc1202@gmail.com>
2024-04-20 13:59:31 +07:00
yike21 729b4fe387 fix: update testdata for resourcecustomizations of cloneset
Signed-off-by: yike21 <yike21@qq.com>
2024-04-19 12:42:54 +08:00
karmada-bot 20bb7a706d
Merge pull request #4839 from veophi/cloneset-status-selector
feat: show `status.labelSelector` for CloneSet
2024-04-19 09:55:15 +08:00
whitewindmills 59b8835bda Deprecate name/namespace labels of pp/cpp
Co-authored-by: changzhen <changzhen5@huawei.com>
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-04-18 14:21:02 +08:00
whitewindmills 52e5bc055e Add finalizer for propagation policy
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-04-17 21:38:50 +08:00
Lan Liang e8aefe0aa8 karmadactl: add common code for create and wait deployments.
Signed-off-by: Lan Liang <gcslyp@gmail.com>
2024-04-17 11:41:13 +00:00
孙伟祥 9bcd8526c9 show status.labelSelector for fed cloneSet
Signed-off-by: 孙伟祥 <sunweixiang@xiaohongshu.com>
2024-04-17 10:41:23 +08:00
karmada-bot fdad87efce
Merge pull request #4809 from chaunceyjiang/resourceVersion
feat: Add QPS related parameters to control the request rate of metrics-adapter to member clusters.
2024-04-16 11:36:54 +08:00
karmada-bot a2b1612e20
Merge pull request #4656 from chaosi-zju/haier
fix: avoid delete the key with empty value in object (lua table)
2024-04-16 11:30:12 +08:00
chaunceyjiang 6f29134f1e Add QPS related parameters to control the request rate of metrics-adapter to member clusters.
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2024-04-16 10:49:06 +08:00
zhzhuang-zju 672c77a631 make DeepEqual judgments more efficient
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-04-15 10:09:53 +08:00
Amir Alavi 7dbfc9f22b
propagate `Secret` of type `kubernetes.io/service-account-token`
Signed-off-by: Amir Alavi <amiralavi7@gmail.com>
2024-04-11 09:45:23 -04:00
jwcesign 6a54a9abb4 feat: add permanent id label to pp/cpp/rb/crb/work resources
Signed-off-by: jwcesign <jwcesign@gmail.com>
2024-04-10 16:08:51 +08:00
karmada-bot 4898c0fc55
Merge pull request #4811 from whitewindmills/deprecated-rb_crb-labels
Deprecate key labels of rb/crb
2024-04-10 16:07:07 +08:00
karmada-bot 210ac04198
Merge pull request #4815 from XiShanYongYe-Chang/add-image-pull-policy-for-karmadactl-init
Add image-pull-policy flag for karmada init cmd
2024-04-10 12:10:49 +08:00
whitewindmills f8d6be5320 Deprecate key labels of rb/crb
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-04-10 11:30:43 +08:00
changzhen 4e8252291f add image-pull-policy flag for karmada init cmd
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-04-10 11:23:52 +08:00
karmada-bot bad778bbb9
Merge pull request #4821 from a7i/amir/refactor-pruner
chore: refactor `prune.RemoveIrrelevantField` to allow for more kind …
2024-04-10 10:39:07 +08:00
karmada-bot bc60437977
Merge pull request #4800 from yizhang-zen/yizhang/rename
Rename a function to match with updated behavior
2024-04-10 09:27:48 +08:00
yizhang-zen 04395e3579 Rename func to getClusterNameFromAnnotation to match with updated behavior
Signed-off-by: yizhang-zen <yizhang@zendesk.com>
2024-04-09 14:06:27 -07:00
Amir Alavi 3cd983db96
chore: refactor `prune.RemoveIrrelevantField` to allow for more kind pruners
Signed-off-by: Amir Alavi <amir.alavi@zendesk.com>
2024-04-09 15:19:14 -04:00
whitewindmills b0bbaa32e7 Fix the bug of mcs binding losing resourcebinding.karmada.io/permanent-id label
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-04-09 18:30:43 +08:00
whitewindmills 506c24f759 Use RetryOnConflict for applying CRB
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-04-09 10:51:58 +08:00
chaosi-zju e2babc3d24 fix: avoid delete the key with empty value in object (lua table)
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-04-07 09:44:08 +08:00
karmada-bot b0da31afc1
Merge pull request #4796 from chaunceyjiang/pods
karmada-metrics-adapter: reduce memory usage
2024-04-03 18:27:43 +08:00
karmada-bot 4f99ebd447
Merge pull request #4793 from whitewindmills/fix-work-permanentID
Use merge strategy to avoid work.karmada.io/permanent-id changes
2024-04-03 18:22:44 +08:00
chaunceyjiang 1186588d1d karmada-metrics-adapter: reduce memory usage
When there is a large amount of pod usage in the member cluster, metrics-adapter will consume a lot of memory. The reason is that it caches all the information of all pods in the cluster. However, we don't need all this information, so we trim some of the information to reduce memory usage.

Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2024-04-03 16:06:45 +08:00
huangyanfeng 7c2b3e19ee if an error is non-nil not need to set Result.Requeue true
Signed-off-by: huangyanfeng <huangyanfeng1992@gmail.com>
2024-04-03 14:08:22 +08:00
whitewindmills 9c08138f5b Use merge strategy to avoid work.karmada.io/permanent-id changes.
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-04-03 10:46:05 +08:00
karmada-bot 84e543320f
Merge pull request #4108 from liangyuanpeng/karmada_apiserver_upgrade
Update apiserver&controller-manager to v1.27 by default
2024-04-02 12:15:42 +08:00
Lan Liang 017f0fc212 Update karmada-apiserve and kube-controller-manager to v1.27.11 by default.
Signed-off-by: Lan Liang <gcslyp@gmail.com>
2024-04-01 13:51:00 +00:00
whitewindmills ce84edfe12 labels cannot be deleted via Karmada propagation
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-03-30 21:31:47 +08:00
karmada-bot 6534ffbffe
Merge pull request #4778 from RainbowMango/pr_pin_crd_plural_name
Pin plural name for all APIs to avoid unexpected change
2024-03-30 15:06:39 +08:00
changzhen e511ad7bfc remove old MergeAnnotation func and rename ReplaceAnnotation func to MergeAnnotation
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-03-30 09:43:12 +08:00
RainbowMango 32a40764ea pin CRD plural name to avoid default plural name changes due to dependencies changes
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-03-29 18:06:44 +08:00
karmada-bot 4e2548250b
Merge pull request #4774 from XiShanYongYe-Chang/fix-wrong-delete-eps
fix bug of wrong delete endpointslice collect from member cluster
2024-03-28 21:50:38 +08:00
changzhen 3121bd9b88 fix bug of wrong delete endpointslice collect from member cluster
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-03-28 20:36:20 +08:00
changzhen 0e60af8ee2 remove work label on the member cluster resource
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-03-28 12:56:35 +08:00
karmada-bot ff7322acf2
Merge pull request #4729 from chaosi-zju/hpav5
fix deployment replicas syncer in case that `status.replicas` haven't been collected from member cluster to template
2024-03-27 18:38:38 +08:00
chaosi-zju 31d6855e63 fix deployment replicas syncer in case that status.replicas haven't been collected
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-03-27 17:34:46 +08:00
changzhen 6b8e73e37a add endpointslice-controller finalizer for Endpointslice Work object
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-03-27 14:44:49 +08:00
changzhen d7db9c5acc fix eps remain when karmada-controller-manager restart
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-03-27 14:30:45 +08:00
changzhen b808f37847 fix wrong annotation marks on resource
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-03-26 20:00:14 +08:00
karmada-bot c5c6ffa4e9
Merge pull request #4718 from liangyuanpeng/cleanup_label_uid
Delete the labels of uid.
2024-03-26 17:02:37 +08:00
Zhiqiang Li 7a55dcd217 fix: replica interpreter err log format
Signed-off-by: Zhiqiang Li <stulzq@qq.com>
2024-03-20 19:50:52 +08:00
karmada-bot dbb82bebd2
Merge pull request #4721 from chaosi-zju/hpasyncerv2
fix deployment replicas syncer in case deployment status changed before label added
2024-03-20 15:02:49 +08:00
karmada-bot 1c0be4f41f
Merge pull request #4717 from liangyuanpeng/errlog_kubeconfig
Add more detail log for load karmada-host config and karmada-apiserver config.
2024-03-19 10:19:30 +08:00
Zechun Chen b8f9209574 fix typo for karmada
Signed-off-by: Zechun Chen <zechun.chen@daocloud.io>
2024-03-18 15:39:16 +08:00
chaosi-zju 3012c808f8 fix deployment replicas syncer in case deployment status changed before label added
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-03-18 11:39:42 +08:00
Lan Liang cd2812e30e Delete the labels of uid.
Signed-off-by: Lan Liang <gcslyp@gmail.com>
2024-03-18 03:00:19 +00:00
Lan Liang 7f152eda0d Add more detail log for load karmada-host config and karmada-apiserver config.
Signed-off-by: Lan Liang <gcslyp@gmail.com>
2024-03-17 12:47:15 +00:00
changzhen 473387bbd5 add ut for remedy controller eventhandler
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-03-15 14:35:54 +08:00
changzhen 6b04bffea0 add ut for remedy util function
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-03-15 11:01:18 +08:00
chaosi-zju 8f5cc4995c sync deployment replicas when it is controlled by hpa
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-03-14 20:39:22 +08:00
changzhen 2db3ca2629 add remedy api in the swagger.json
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-03-05 09:15:04 +08:00
karmada-bot 2cfa7e6efc
Merge pull request #4555 from whitewindmills/deprioritized-preemption
Optimize deprioritized policy preemption logic
2024-03-01 12:17:33 +08:00
whitewindmills e88797b2dc Optimize deprioritized policy preemption logic
Use the priorityequeue to sort the listed policies to avoid multiple preemption.

Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-02-29 15:52:38 +08:00
karmada-bot 44b4ca591e
Merge pull request #4663 from XiShanYongYe-Chang/set-enum-value-for-operator
Set enum value for operator in Remedy API
2024-02-28 23:41:14 +08:00
changzhen 8a101ebcb7 set enum value for operator in Remedy API
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-02-28 22:49:53 +08:00
karmada-bot 1baacbf98f
Merge pull request #4660 from chaosi-zju/gvr
add GroupVersion of remedy.karmada.io/v1alpha1 to SkippedResourceConfig
2024-02-28 21:49:32 +08:00
karmada-bot 7b3a6a3452
Merge pull request #4646 from wm775825/master
Add service-name-resolution-detector
2024-02-28 21:01:14 +08:00
wm775825 d88ac92f73 add service-name-resolution-detector
Signed-off-by: wm775825 <1174929164@qq.com>
2024-02-28 20:08:20 +08:00
chaosi-zju 54f310c4e0 add GroupVersion of remedy.karmada.io/v1alpha1 to SkippedResourceConfig
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-02-28 14:46:07 +08:00
karmada-bot 4f75b3c577
Merge pull request #4657 from XiShanYongYe-Chang/fix-remedy-panic
fix panic when update remedy.spec.clusteraffinity to empty
2024-02-28 12:05:31 +08:00
karmada-bot 9df370f597
Merge pull request #4654 from ipsum-0320/master
feat: update hack/.import-alias
2024-02-28 11:34:31 +08:00
changzhen 1edd563268 fix panic when update remedy.spec.clusteraffinity to empty
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-02-28 11:14:03 +08:00
changzhen 081610e33e add remedy controller
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-02-27 22:24:34 +08:00
changzhen 70afc1ad6d add remedy group api and update cluster api
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-02-27 21:29:13 +08:00
ipsum-0320 2d6da23cd5 feat: update hack/.import-alias
Signed-off-by: ipsum-0320 <trueman.0320@zju.edu.cn>
2024-02-27 21:12:26 +08:00
zhzhuang-zju 8241b3cab2 update work status condition when recreate failed
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-02-21 11:07:29 +08:00
karmada-bot 0aec7b58dc
Merge pull request #4584 from niuyueyang1996/implement-node/pod-tableconvert
Implement node/pod tableconvert
2024-02-05 15:49:55 +08:00
niuyueyang 4aecca59ef support node/pod TableConvertor.
Signed-off-by: niuyueyang <719415781@qq.com>
2024-02-05 11:37:13 +08:00
Fish-pro c401a5d9f1 bump alpine to 3.19.1 to address CVE concerns
Signed-off-by: Zechun Chen <zechun.chen@daocloud.io>
2024-01-31 20:30:25 +08:00
karmada-bot 0126b90fc8
Merge pull request #4591 from jwcesign/fix-mcs-mci-conflict
feat: add manager label to eps work to avoid the conflicts between mcs/serviceexport
2024-01-29 21:19:49 +08:00
jwcesign cebb1eac03 feat: add manager label to eps work to avoid the conflicts between mcs/serviceexport
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2024-01-29 20:22:36 +08:00
jwcesign e6225d8070 fix: reschedule the replicas of the disappear clusters in PP
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2024-01-29 15:50:47 +08:00
yweng14 e0b3e834ef [MVP] add resourcequota plugin in scheduler-estimator: add resourcequota plugin
Signed-off-by: yweng14 <yweng14@bloomberg.net>
2024-01-27 15:27:47 +08:00
karmada-bot 3cf27ccd6d
Merge pull request #4580 from niuyueyang1996/fix-table-convert
Support accept content type as=Table into karmada-search.
2024-01-26 15:21:46 +08:00
karmada-bot ae5b3fe373
Merge pull request #4577 from chaosi-zju/policy5
Introduced a lazy activation preference to PropagationPolicy/ClusterPropagationPolicy
2024-01-25 21:52:45 +08:00
chaosi-zju 926e34a7ad implementation of the LazyActivation preference for Policy.
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-01-25 20:56:31 +08:00
niuyueyang a694872c89 if accept set application/json;as=Table;g=meta.k8s.io;v=v1beta1.
scope not support TableConvertor will return code 406.
Signed-off-by: niuyueyang <719415781@qq.com>
2024-01-25 14:18:43 +08:00
RainbowMango 67fc70d5ac Nominate Yuan peng, Zhuang, and Yan feng as new reviewers
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-01-23 15:05:28 +08:00
karmada-bot d508417a1e
Merge pull request #4554 from yanfeng1992/fix-member-apienable
search add check member cluster api enable
2024-01-23 10:15:44 +08:00
karmada-bot 23c51ec08e
Merge pull request #4568 from RainbowMango/pr_bump_golangci
bump golangci-lint to v1.55.2
2024-01-23 10:03:43 +08:00
karmada-bot 32edd16051
Merge pull request #4557 from yanfeng1992/fix-pull-cluster-name-check
pull mode register add check cluster exists
2024-01-23 00:10:49 +08:00
huangyanfeng 0e46397086 pull mode register add check cluster exists
Signed-off-by: huangyanfeng <huangyanfeng1992@gmail.com>
2024-01-22 19:43:48 +08:00
RainbowMango c47e12a442 bump golangci-lint to v1.55.2
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-01-21 12:34:24 +08:00
Yao Weng c3458310d4
[MVP] add resourcequota plugin in scheduler-estimator: create framework for scheulder-estimator (#4534)
* [MVP] add resourcequota plugin in scheudler-estimator

Signed-off-by: yweng14 <yweng14@bloomberg.net>

* framework only

Signed-off-by: yweng14 <yweng14@bloomberg.net>

* fix lint error

Signed-off-by: yweng14 <yweng14@bloomberg.net>

* address comments

Signed-off-by: yweng14 <yweng14@bloomberg.net>

* add KubeClient in the Handle

Signed-off-by: yweng14 <yweng14@bloomberg.net>

* - add snapshot as input argument of RunEstimateReplicasPlugins
- add Result to give clearer message

Signed-off-by: yweng14 <yweng14@bloomberg.net>

* fix unitest name due

Signed-off-by: yweng14 <yweng14@bloomberg.net>

---------

Signed-off-by: yweng14 <yweng14@bloomberg.net>
2024-01-19 22:14:41 +08:00
karmada-bot 0e501b607a
Merge pull request #4528 from XiShanYongYe-Chang/remove-redundant-os-preload
Remove redundant os preload in lua vm
2024-01-19 10:53:41 +08:00
karmada-bot 697170b904
Merge pull request #4539 from zhzhuang-zju/label
cleanup: remove label when pp or cpp is deleted
2024-01-17 10:14:39 +08:00
huangyanfeng b6ff5b8cc5 search add check member cluster api enable
Signed-off-by: huangyanfeng <huangyanfeng1992@gmail.com>
2024-01-16 14:29:13 +08:00
changzhen f2a260641b remove redundant os preload
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-01-16 11:01:57 +08:00
karmada-bot 31031548b7
Merge pull request #4519 from XiShanYongYe-Chang/remove-unsafe-lua-library-function
remove unsafe lua load library function
2024-01-16 10:50:37 +08:00
Mohammed Affan 970435c3d1 Add linting for unused parameters
Signed-off-by: Mohammed Affan <mohammed.affan.727@gmail.com>
2024-01-13 12:26:54 +05:30
chaosi-zju e9851ae99b test of even distribution of replicas for removing cluster scenario
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-01-12 15:32:50 +08:00
zhzhuang-zju 774b9dcad2 cleanup: remove label when pp is deleted
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-01-12 14:11:23 +08:00
changzhen 6b5dc9f850 disable unsafe lua library function
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-01-11 16:49:43 +08:00