Commit Graph

27 Commits

Author SHA1 Message Date
zach593 807153fdff move CreateOrUpdateWork() and related functions to controllers/ctrlutil
Signed-off-by: zach593 <zach_li@outlook.com>
2025-01-10 11:34:58 +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
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
Amir Alavi 866959a072
implement preserveResourcesOnDeletion to support migration rollback
Signed-off-by: Amir Alavi <amiralavi7@gmail.com>
2024-10-14 20:36:53 -04:00
xovoxy 38ee277de7 optimize: used unified context in controller
Signed-off-by: xovoxy <xilovele@gmail.com>
2024-08-06 11:44:20 +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
changzhen d1c298ef3d make cleanup with multiclusterservice controllers
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-07-22 11:15:58 +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
changzhen 64a5d0fa7a remove pp/cpp namespace/name labels
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-06-03 09:58:19 +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
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 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
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
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 38b2cae7e1 cleanup: enable revive(exported rule) checking
Signed-off-by: jwcesign <jwcesign@gmail.com>
2024-01-09 09:41:47 +08:00
jwcesign 3f6431dae2 feat: ignore reconcile the mcs triggered by svc if the mcs is not CrossCluster
Signed-off-by: jwcesign <jwcesign@gmail.com>
2023-12-20 10:21:58 +08:00
karmada-bot 515594592b
Merge pull request #4433 from jwcesign/report-event
feat: report event when the service doesn't exist/when endpointslice api is disabled
2023-12-20 09:25:16 +08:00
jwcesign 36ac29485e fix: clean the finalizer of mcs if the ExposureType transforms from CrossCluster to LoadBalancer
Signed-off-by: jwcesign <jwcesign@gmail.com>
2023-12-19 18:24:02 +08:00
jwcesign cfd88926dd feat: report event when the service doesn't exist/when endpointslice api is disabled
Signed-off-by: jwcesign <jwcesign@gmail.com>
2023-12-19 18:19:26 +08:00
jwcesign f0bc661579 fix: Update RB once new clusters are added to trigger the propagation of service to these new clusters
Signed-off-by: jwcesign <jwcesign@gmail.com>
2023-12-14 21:52:23 +08:00
jwcesign e77fe55851 feat: fix conflicts with pp
Signed-off-by: jwcesign <jwcesign@gmail.com>
2023-12-14 19:46:46 +08:00
jwcesign 090c1f0174 feat: clean eps work of the provison cluster once the mcs work deleted
Signed-off-by: jwcesign <jwcesign@gmail.com>
2023-12-07 14:09:07 +08:00
HongCen 8277a985b0 List&watch cluster creation/deletion, reconcile the work in the corresponding cluster execution namespace
Signed-off-by: HongCen <zhouhongcen1@huawei.com>
2023-12-04 17:06:08 +08:00
jwcesign 471f8eb8f0 cleanup: change MultiClusterService corresponding label
Signed-off-by: jwcesign <jwcesign@gmail.com>
2023-11-30 23:26:33 +08:00
jwcesign 5932615cba feat: support mcs with native svc name
Signed-off-by: jwcesign <jwcesign@gmail.com>
2023-11-30 15:55:15 +08:00
z00623291 33ae852fa0 List&watch mcs and service, reconcile the work in execution namespace
Signed-off-by: z00623291 <zhouhongcen1@huawei.com>
2023-11-29 17:50:26 +08:00