Commit Graph

44 Commits

Author SHA1 Message Date
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
whitewindmills 6d18bea052 Integrate UpdateStatus function
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-06-11 16:57:51 +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
RainbowMango c47e12a442 bump golangci-lint to v1.55.2
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-01-21 12:34:24 +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 e2fac02e2c only update necessary part of binding status
Signed-off-by: lxtywypc <lxtywypc@gmail.com>
2023-11-13 17:09:04 +08:00
Poor12 e71a360f17 delete redundant deepcopy
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-06-09 17:37:12 +08:00
changzhen 1d0e6ced65 fix an issue where DeepEqual becomes invalid in aggregate binding status
Signed-off-by: changzhen <changzhen5@huawei.com>
2023-04-04 16:32:16 +08:00
karmada-bot d4ddd6c47c
Merge pull request #3202 from Poor12/add-bindingstatus-controller
Add bindingstatus controller
2023-03-07 17:21:13 +08:00
changzhen da0664728c the condition is updated only after scheduling
Signed-off-by: changzhen <changzhen5@huawei.com>
2023-02-27 09:27:45 +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
RainbowMango a1e8f164cb adopt static check issues
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-01-31 09:22:41 +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
Poor12 5418b5d265 refactor events
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-11-15 15:34:22 +08:00
Garrybest 92d8c69d46 stop publish duplicated event
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-09-23 10:43:59 +08:00
changzhen afca732825 reflect health status for recording the healthy state of the current resource running in the member cluster
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-08-24 17:27:56 +08:00
changzhen b6c7320f70 make changes to binding-controller to adopt graceful eviction
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-08-05 16:43:47 +08:00
chaunceyjiang 5350072889 fix binding reference key hash collision
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2022-07-04 09:42:51 +08:00
chaunceyjiang 52a3c46218 fix when the type of svc is nodeport. resourcebindings FULLYAPPLIED field is False
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2022-05-17 15:26:18 +08:00
karmada-bot 810048fe89
Merge pull request #1670 from XiShanYongYe-Chang/update-work-contains
Update judge work contains serviceExport with .spec.workload.manifests
2022-05-07 10:44:27 +08:00
changzhen 43fde63b4d update judge work contains serviceExport with work.spec.workload.manifests
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-04-26 20:43:06 +08:00
changzhen 86072e1dbd sort the aggregatedStatus in rb/crb by the clusterName
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-04-26 19:40:14 +08:00
changzhen 0b985f4463 add default reflectstatus implementation with deployment kind
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-04-24 11:19:42 +08:00
huone1 067d45ec4d fix the fulluapplied status is wrong in some scenario
Signed-off-by: huone1 <huwanxing@huawei.com>
2022-03-22 11:33:44 +08:00
changzhen fdc2fdb370 eliminate duplicate getworks function
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-03-01 09:52:51 +08:00
lihanbo 4569663b40 adapt for propagating dependencies
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2022-02-26 15:49:06 +08:00
Garrybest 85d8a6ccf4 add karmada-descheduler
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-02-24 11:43:28 +08:00
wlp1153468871 c570006603 Update first in RetryOnConflict
Signed-off-by: wlp1153468871 <luping.wei@daocloud.io>
2022-01-24 18:55:38 +08:00
helenfrank 43036a9670 Replace all the retry.DefaultBackoff with retry.DefaultRetry from codebase
Signed-off-by: helenfrank <helenfrank@protonmail.com>
2022-01-11 10:28:59 +08:00
lihanbo c07b6ce2dd update FullyApplied condition
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-12-10 17:16:05 +08:00
changzhen 033de2de9f delete the TODO logic with binding labels
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-11-22 17:41:55 +08:00
changzhen cac82db303 move binding's namespace/name from work's label to annotation
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-10-09 16:28:00 +08:00
RainbowMango 56fbbe1054 adopt binding v1alpha2
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2021-09-28 17:03:46 +08:00
karmada-bot 2b615642ca
Merge pull request #579 from pigletfly/fix-rb-status
Retry conflict errors when aggregating binding status
2021-08-30 17:50:52 +08:00
pigletfly a2f78ab794 Fix update rb status
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
2021-08-30 17:14:17 +08:00
pigletfly 4df1ae6806 Add applied result in aggregated status
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
2021-08-13 23:17:38 +08:00
pigletfly 8edb376966 Move labels to apis
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
2021-08-06 00:03:00 +08:00
Garrybest 675458ebb2 cleanup: use meta.IsStatusConditionTrue
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-07-09 20:38:20 +08:00
changzhen f32bd501e6 add service_export_controller to watch serviceexport and report endpointslices to karmada
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-07-03 16:33:07 +08:00
pengli b602aaf868 no informer for sync status back when k8s resource applied failed to member cluster
Signed-off-by: pengli <justdoit.pli@gmail.com>
2021-06-18 12:00:28 +08:00
Hongcai Ren 1bf2e6502f
suppress some useless logs (#224)
Signed-off-by: RainbowMango <renhongcai@huawei.com>
2021-03-19 14:42:00 +08:00
Zhen Chang 0290ebf253
Aggregate status to clusterResourceBinding (#223)
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-03-18 14:40:33 +08:00
Zhen Chang da34779efb
Aggregate status to resourcebinding (#221)
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-03-17 18:17:46 +08:00