Commit Graph

47 Commits

Author SHA1 Message Date
chang.qiangqiang a115a22f47 feat(dependenciesdistributor):remove log
Signed-off-by: chang.qiangqiang <chang.qiangqiang@immomo.com>
2025-01-22 10:43:55 +08:00
whitewindmills b10c102e00 fix the attached binding deletion problem
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2025-01-13 17:44:31 +08:00
changzhen 82fc37ea04 Fix the problem of ResourceBinding remaining when the workload is deleted in the dependencies distribution scenario
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-12-12 15:54:57 +08:00
chang.qiangqiang fd9cd89e42 feat(dependenciesdistributor): set dependenciesdistributor rb maxconcurrentreconciles same as concurrent-resourcebinding-syncs
Signed-off-by: chang.qiangqiang <chang.qiangqiang@immomo.com>
2024-11-22 19:53:24 +08:00
karmada-bot 6795dba9d1
Merge pull request #5809 from CharlesQQ/introduce-flag-dependencies-distributor
feat(dependenciesdistributor):  introduce --concurrent-dependent-resource-syncs flag
2024-11-19 21:02:56 +08:00
RainbowMango fc1df776dc Adopt controller-runtime braking change: TypedReconciler
Reference PR2799
Adopt Kubernetes#125483 introduced ReadinessCheck
Adopt Kubernetes breaking change: EffectiveVersion
Reference PR: 122891

Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-11-12 17:52:46 +08:00
chang.qiangqiang 066eec0b7d feat(dependenciesdistributor): introduced flag for dependencies-distributor
Signed-off-by: chang.qiangqiang <chang.qiangqiang@immomo.com>
2024-11-12 16:31:21 +08:00
chaosi-zju b605d9d637 ensure controller names are unique when emitting metrics
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-11-11 12:05:12 +08:00
chaunceyjiang 38bb553266 feat: set conflictResolution for dependent resources.
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2024-10-25 15:15:14 +08:00
changzhen f63c134aa4 handle preserveResourceOnDeletion with dependencise distributor
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-10-23 10:25:31 +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
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
xovoxy 38ee277de7 optimize: used unified context in controller
Signed-off-by: xovoxy <xilovele@gmail.com>
2024-08-06 11:44:20 +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
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 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 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 f8d6be5320 Deprecate key labels of rb/crb
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-04-10 11:30:43 +08:00
jwcesign 947a80e00f cleanup: enable revive(var-naming rule) checking
Signed-off-by: jwcesign <jwcesign@gmail.com>
2024-01-10 12:15:03 +08:00
whitewindmills 7e894a0e62 Fix misjudgment when updating attached binding
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-01-09 16:28:28 +08:00
Zhizhen He 25a62c6c57
fix typo
Signed-off-by: Zhizhen He <hezhizhen.yi@gmail.com>
2023-12-17 16:12:03 +08:00
karmada-bot 55547b2acf
Merge pull request #4199 from jwcesign/add-id-label
feat: add resource id label
2023-11-23 10:44:52 +08:00
jwcesign 7e6387e98f feat: add resoruce id label
Signed-off-by: jwcesign <jwcesign@gmail.com>
2023-11-20 11:07:11 +08:00
zhy76 adef1e5974 feat: add license and verify license for code file
Signed-off-by: zhy76 <958474674@qq.com>
2023-11-16 11:11:21 +08:00
chaunceyjiang e17eb1a595 feat: Introduce a LabelSelector field to DependentObjectReference
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-08-09 12:14:56 +08:00
chaunceyjiang 1f3bf9e423 fix: fix dependent resources being created and deleted repeatedly when the dependent resource has a status field.
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-08-02 14:57:34 +08:00
changzhen 46204117e1 cleanup dependencies distributor
Signed-off-by: changzhen <changzhen5@huawei.com>
2023-07-31 16:47:26 +08:00
RainbowMango 4ee4b22f05 Adopt Kubernetes breaking changes: PR 113542 which require singular names for core types
Adopt breaking change of contriller-runtime PR 2122
Adopt breaking change of contriller-runtime PR 2296
Adopt breaking change of controller-runtime PR 2139
Adopt breaking change of controller-runtime PR 2135
Adopt breaking change of Kubernetes PR 116218
Adopt breaking change of controller-runtime PR 2149
Adopt breaking change of controller-runtime PR 2150
Adopt breaking change of controller-runtime PR 2134
Adopt breaking change of controller-runtime PR 2293
Adopt breaking change of controller-runtime PR 2144
Adopt k8s feature: watch list. PR 115402
Adopt breaking change of Kubernetes PR 117102
Adopt Kubernetes change: disable staticcheck
Fix unit tests that failure due to fake-client behavior changes.

Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-07-29 16:47:38 +08:00
chaunceyjiang a10f895c1e feat: Support modification synchronization of custom resources as dependency
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-06-26 10:43:51 +08:00
Poor12 e71a360f17 delete redundant deepcopy
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-06-09 17:37:12 +08:00
whitewindmills 89295f9606 Fix inspection errors
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2023-05-17 17:06:27 +08:00
changzhen eecadfd43a add bindingStatus controller to aggregate work status and update the
status of resource template

Signed-off-by: changzhen <changzhen5@huawei.com>
2023-02-23 16:08:36 +08:00
chen zechun 83d43235e8 Uniform error log output starts with uppercase
Signed-off-by: chen zechun <zechun.chen@daocloud.io>
2022-12-28 19:12:36 +08:00
RainbowMango 14423bf5d8 Introduce generic hashset to simplify code
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-12-14 15:49:45 +08:00
Poor12 33193b8f9b add getDependencies and syncScheduleResultToDependencies event
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-11-17 11:03:05 +08:00
chaunceyjiang 92fff3163d propagate dependencies support propagate sa
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2022-09-17 18:21:17 +08:00
hanweisen 721d4e02bf propagate dependencies support propagate pvc
Signed-off-by: hanweisen <hanweisen_yewu@cmss.chinamobile.com>
2022-08-10 11:09:25 +08:00
RainbowMango 8461e4fb8c rename and re-organize the informermanager
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-08-09 17:24:23 +08:00
weilaaa 4ed701069d optimize unstructured convert methods
Signed-off-by: weilaaa <weilanidaye@gmail.com>
2022-08-04 11:38:25 +08:00
calvin0327 532b22f80d cleanup federated resource quota
Signed-off-by: calvin0327 <wen.chen@daocloud.io>
2022-07-08 09:55:22 +08:00
lihanbo f66e391ee7 bugfix: update Resource info when update attached binding
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2022-03-17 14:55:56 +08:00
lihanbo 8843749bf2 bugfix: enqueue the resource binding that has been scheduled to member clusters
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2022-03-17 14:51:27 +08:00
pigletfly 9e28d6c6e8 add ratelimiter flags
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
2022-03-03 16:09:39 +08:00
lihanbo 4a320cd114 add dependencies distributor framework
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2022-02-26 15:48:47 +08:00