Commit Graph

115 Commits

Author SHA1 Message Date
RainbowMango 8461e4fb8c rename and re-organize the informermanager
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-08-09 17:24:23 +08:00
karmada-bot 393bf843de
Merge pull request #2315 from yy158775/workstatus_sync
stop update status if Work object in terminating state
2022-08-04 15:37:05 +08:00
yy158775 e26c0880cd don't collect status data when the work to be deleted
Signed-off-by: yy158775 <1584616775@qq.com>
2022-08-04 14:29:39 +08:00
weilaaa 4ed701069d optimize unstructured convert methods
Signed-off-by: weilaaa <weilanidaye@gmail.com>
2022-08-04 11:38:25 +08:00
karmada-bot 5fcdafbcfe
Merge pull request #2033 from dddddai/lease
Skip updating lease for push mode clusters
2022-06-23 20:42:15 +08:00
dddddai 4e73056e51 skip updating lease for push mode clusters
Signed-off-by: dddddai <dddwq@foxmail.com>
2022-06-20 14:43:59 +08:00
karmada-bot 4c496a3a98
Merge pull request #1884 from dddddai/cluster-status
Add cluster success threshold
2022-06-17 15:46:09 +08:00
dddddai 1ebc680d16 add cluster success threshold
Signed-off-by: dddddai <dddwq@foxmail.com>
2022-06-16 18:02:17 +08:00
duanmeng 800107904e fix the incorrect use of ServerGroupsAndResources() in client-go
Signed-off-by: duanmeng <duanmeng_yewu@cmss.chinamobile.com>
2022-06-07 16:44:11 +08:00
Garrybest d1ce1a126d fix implicit issue for event filter
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-05-30 10:48:32 +08:00
karmada-bot 801d18767b
Merge pull request #1829 from dddddai/cluster-status
Add cluster failure threshold
2022-05-24 18:03:43 +08:00
dddddai 339f431673 add cluster failure threshold
Signed-off-by: dddddai <dddwq@foxmail.com>
2022-05-24 17:22:05 +08:00
karmada-bot b2ebfb6036
Merge pull request #1733 from XiShanYongYe-Chang/skip-reflect-status
Skip reflect work status when resource has empty status
2022-05-11 10:20:33 +08:00
lv 12d9023a5c [fix] delete work status 'Resource' field
Signed-off-by: lv <yanru.lv@daocloud.io>
2022-05-09 09:48:21 +08:00
changzhen d0dadb282a skip reflect work status when resource has empty status
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-05-07 11:02:22 +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
changzhen ecc8ddbb02 add ReflectStatus ResourceInterperter interface to grab workload status
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-04-22 10:08:03 +08:00
RainbowMango 11fd0f935c Refactor ratelimit flags to make it easier to share with karmada-agent.
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-03-18 17:25:13 +08:00
RainbowMango 8a402f8e94 chore: cleanup ratelimiter flags
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-03-08 08:57:01 +08:00
pigletfly 9e28d6c6e8 add ratelimiter flags
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
2022-03-03 16:09:39 +08:00
karmada-bot d980eeac5d
Merge pull request #1321 from pigletfly/fix-worker-num
introduce concurrent flags to controllers
2022-02-25 15:17:06 +08:00
RainbowMango 3f0aa79948 Fix comments from myself.
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-02-25 10:42:26 +08:00
pigletfly 957be91796 Fix controller reconcile concurrent
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
2022-02-24 15:54:14 +08:00
Garrybest 85d8a6ccf4 add karmada-descheduler
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-02-24 11:43:28 +08:00
Garrybest 0777cf064c clean up GetObjectFromCache
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-02-23 14:19:38 +08:00
RainbowMango bff2eb9024 Adopt k/k API/interface changes
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-02-19 21:16:32 +08:00
karmada-bot 846b1aeb98
Merge pull request #1304 from pigletfly/fix-sort-apiResources
fixed apiEnablements unordered issue
2022-01-29 15:31:34 +08:00
karmada-bot 648e89ec45
Merge pull request #1328 from EvaDD/master
Update first in RetryOnConflict
2022-01-28 16:58:35 +08:00
libentai f853550111 Update first in RetryOnConflict
Signed-off-by: libentai <libentai@huawei.com>
2022-01-28 15:50:18 +08:00
c30013971 773de5e746 Update first in RetryOnConflict
Signed-off-by: c30013971 <cuidengdeng@huawei.com>
2022-01-28 14:44:07 +08:00
pigletfly 2d797acb23 Sort apiResources
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
2022-01-24 14:57:00 +08:00
chen zechun 306d06a8ff change syncWorkStatus and reflectStatus function, modify comments and rename variable names.
Signed-off-by: chen zechun <zechun.chen@daocloud.io>
2022-01-12 12:05:32 +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
pigletfly 28f1fbf985 Retry on status update conflict
Signed-off-by: pigletfly wangbing.adam@gmail.com
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
2022-01-10 17:44:29 +08:00
lihanbo 5290f07345 abort deleting workload when the member cluster is unready
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-12-19 14:29:12 +08:00
jingxueli 0aec855964 set default for clusterCacheSync timeout and make it configurable
Signed-off-by: jingxueli <jingxueli@trip.com>
2021-12-16 21:28:04 +08:00
Garrybest 7445bd90da fix slow enqueue of async worker
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-12-04 19:44:33 +08:00
karmada-bot 7e35f9cc26
Merge pull request #1031 from pigletfly/fix-retry-on-update-status
Add retry on update status
2021-11-26 17:02:05 +08:00
lihanbo 2131ec5189 add conditions for cluster status
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-11-25 21:23:15 +08:00
pigletfly 39985d5dbe Add retry on update status
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
2021-11-25 19:55:03 +08:00
guoyao ae34e4d1b8 unify IsNodeReady function
Signed-off-by: guoyao <1015105054@qq.com>
2021-11-15 11:35:03 +08:00
karmada-bot 9d31827a4b
Merge pull request #925 from pigletfly/refactor-object-watcher
refactor object watcher interface
2021-11-08 11:39:42 +08:00
pigletfly dac00692e7 refactor object watcher interface
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
2021-11-05 23:26:51 +08:00
karmada-bot 51c911a60b
Merge pull request #894 from mrlihanbo/cluster_status_bugfix
add Timeout in WaitForCacheSync
2021-11-05 15:48:04 +08:00
lihanbo ac3878ec03 add Timeout in WaitForCacheSync
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-11-05 13:50:30 +08:00
lihanbo cc0f6ed08b return nil when the obj not managed by Karmada in work status controller
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-11-05 11:33:58 +08:00
lihanbo abdfc61310 collect status even if cluster's deletionTimestamp is not zero
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-10-21 09:54:11 +08:00
Garrybest 08fa785670 run async worker with no intervals
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-10-18 10:58:49 +08:00
Garrybest e9a7a2a022 clean up unstructured conversion
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-09-29 11:33:19 +08:00
changzhen e118c7909e fix an error when karmada-controller-manager restart
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-09-26 20:39:51 +08:00