Commit Graph

24 Commits

Author SHA1 Message Date
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
chang.qiangqiang 2daa150fd6 fix(status): set log to level 5
Signed-off-by: chang.qiangqiang <chang.qiangqiang@immomo.com>
2024-11-06 16:28:42 +08:00
Amir Alavi dbed85441a
skip interpret health of resources without a hook
Signed-off-by: Amir Alavi <amiralavi7@gmail.com>
2024-10-05 11:09:52 -04:00
Amir Alavi 5f54261725
fix: work status sync when work dispatching is suspended
Signed-off-by: Amir Alavi <amiralavi7@gmail.com>
2024-08-20 10:45:15 -04:00
chaosi-zju 478b8c6456 fix expected patch operations may be missed when AggregateStatus
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-08-14 15:21:44 +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
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
whitewindmills 6d18bea052 Integrate UpdateStatus function
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-06-11 16:57:51 +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
RainbowMango d4b610cad6 fix lint issues
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-05-06 11:36:54 +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
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
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
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
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
chaosi-zju 56e0d8c9e6 execute InterpretHealth even if statusRaw is nil
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2023-12-20 15:44:39 +08:00
jwcesign 18a2e07e5b fix: do not recreate endpointslice if k8s controller deletes it in provider member clusters
Signed-off-by: jwcesign <jwcesign@gmail.com>
2023-12-14 21:46:18 +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
lxtywypc 67de65d892 Revert "Merge pull request #3808 from ctripcloud/refactor-execution-workstatus"
This reverts commit 90ccbcdfce, reversing
changes made to 24bb582950.

Signed-off-by: lxtywypc <lxtywypc@gmail.com>
2023-08-31 14:23:58 +08:00
lxtywypc 89e3673fbb only update object in member cluster by execution controller
Signed-off-by: lxtywypc <lxtywypc@gmail.com>
2023-08-16 16:36:22 +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