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 |
iawia002
|
61a946aff7
|
Move GenerateKey function out of the worker file
Signed-off-by: iawia002 <z2d@jifangcheng.com>
|
2021-09-24 10:53:38 +08:00 |
karmada-bot
|
d67637c7f9
|
Merge pull request #723 from Garrybest/pr_pod
add resource pod in cluster.status.resourceSummary
|
2021-09-22 11:35:25 +08:00 |
esto
|
a6165e47f9
|
update import-aliases
Signed-off-by: esto <1291156784@qq.com>
|
2021-09-15 15:13:14 +08:00 |
Garrybest
|
1ed38bffe9
|
add resource pod in cluster.status.resourceSummary
Signed-off-by: Garrybest <garrybest@foxmail.com>
|
2021-09-14 11:32:14 +08:00 |
Garrybest
|
16c1723fb4
|
stop the lease controller when cluster does not exist
Signed-off-by: Garrybest <garrybest@foxmail.com>
|
2021-08-24 14:48:17 +08:00 |
Garrybest
|
e3f0b9b611
|
clean up AddPodRequest
Signed-off-by: Garrybest <garrybest@foxmail.com>
|
2021-08-22 11:25:37 +08:00 |
RainbowMango
|
f824427351
|
Move QPS and Burst to cluster status controller.
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
|
2021-08-19 11:44:24 +08:00 |
karmada-bot
|
67ded1f9ed
|
Merge pull request #590 from Garrybest/informer-manager
informer-manager: stop the informer before deleting the cluster
|
2021-08-16 19:48:25 +08:00 |
Garrybest
|
1452fa57e3
|
modify usage of informer-manager
Signed-off-by: Garrybest <garrybest@foxmail.com>
|
2021-08-16 17:16:42 +08:00 |
RainbowMango
|
fc5d191ba7
|
Fix misleading logs from cluster status controller
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
|
2021-08-16 12:14:22 +08:00 |
wawa0210
|
3d6637fc32
|
Delete the extra getClusterHealthStatus logic and use the wait.Poll framework directly
Signed-off-by: wawa0210 <xiaozhang0210@hotmail.com>
|
2021-08-12 11:41:40 +08:00 |
pigletfly
|
8edb376966
|
Move labels to apis
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
|
2021-08-06 00:03:00 +08:00 |
RainbowMango
|
54801cddca
|
remove inline json tag from status field
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
|
2021-07-23 09:52:09 +08:00 |
pigletfly
|
1e274e9b8f
|
Remove duplicate import
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
|
2021-07-09 12:06:59 +08:00 |
Garrybest
|
38690cbda6
|
share informer manager in global
Signed-off-by: Garrybest <garrybest@foxmail.com>
|
2021-07-05 19:31:41 +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 |
karmada-bot
|
d982bea021
|
Merge pull request #468 from pigletfly/fix-sync-work
Fix sync work status
|
2021-06-25 21:51:09 +08:00 |
shinytang6
|
3ad39af5cd
|
fix(controller): rm sub-resources from cluster api enablement list
Signed-off-by: shinytang6 <1074461480@qq.com>
|
2021-06-24 21:06:09 +08:00 |
pigletfly
|
46e587e5ad
|
Fix sync work status
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
|
2021-06-24 16:44:53 +08:00 |
karmada-bot
|
c053b6c8b3
|
Merge pull request #462 from vincent-pli/extend-cluster-status
Extend cluster.status.APIEnablements.Resources to struct with Kind
|
2021-06-24 15:15:08 +08:00 |
pengli
|
d5ee4e64cd
|
Extend cluster.status.APIEnablements.Resources to struct with Kind
Signed-off-by: pengli <justdoit.pli@gmail.com>
|
2021-06-24 13:40:52 +08:00 |
Garrybest
|
24ca29017e
|
add ScalarResources into cluster
Signed-off-by: Garrybest <garrybest@foxmail.com>
|
2021-06-23 15:27:34 +08:00 |
karmada-bot
|
fa3ac4888e
|
Merge pull request #421 from Garrybest/cluster-lifecycle-manager
add cluster lease controller
|
2021-06-18 17:50:12 +08:00 |
karmada-bot
|
3f99da3024
|
Merge pull request #442 from vincent-pli/no-informer-for-member-cluster-when-applied-faied
No informer for sync status back when k8s resource applied failed to member clusters
|
2021-06-18 12:51:25 +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 |
Garrybest
|
b9010cfe9b
|
add cluster lease controller
Signed-off-by: Garrybest <garrybest@foxmail.com>
|
2021-06-16 21:19:43 +08:00 |
Garrybest
|
207eb1677f
|
add pending pods resource calculation
Signed-off-by: Garrybest <garrybest@foxmail.com>
|
2021-06-16 21:13:46 +08:00 |
Garrybest
|
7bc0d00e61
|
clean up cluster resource calculation
Signed-off-by: Garrybest <garrybest@foxmail.com>
|
2021-06-15 20:15:04 +08:00 |
Garrybest
|
cd6ba3558f
|
calculate ResourceSummary in new cluster API
Signed-off-by: Garrybest <garrybest@foxmail.com>
|
2021-06-15 15:03:06 +08:00 |
RainbowMango
|
17804ac550
|
Split listNodesAndPods function
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
|
2021-06-11 17:13:42 +08:00 |
karmada-bot
|
738c148401
|
Merge pull request #417 from Garrybest/cluster-api
make cluster represents more precise resources
|
2021-06-11 16:15:02 +08:00 |
Garrybest
|
7632300761
|
change legacy code to adopt new cluster API
Signed-off-by: Garrybest <garrybest@foxmail.com>
|
2021-06-10 19:44:58 +08:00 |
Garrybest
|
0331f8c6df
|
modify hard code in cluster_status_controller
Signed-off-by: Garrybest <garrybest@foxmail.com>
|
2021-06-04 20:51:16 +08:00 |
Garrybest
|
26085fcd6f
|
feat(cluster-status-controller): use cached lister for getting node summary
Signed-off-by: Garrybest <garrybest@foxmail.com>
|
2021-06-03 11:54:44 +08:00 |
changzhen
|
5473488c04
|
fix golangci-lint: Implicit memory aliasing in for loop(G601)
Signed-off-by: changzhen <changzhen5@huawei.com>
|
2021-06-01 16:42:57 +08:00 |
Rui Fang
|
bbcf69f368
|
work: fix workload name conflicts (#358) (#359)
Signed-off-by: Garrybest <garrybest@foxmail.com>
|
2021-05-20 10:34:27 +08:00 |
RainbowMango
|
763c2a10e7
|
Adopt Reconcile() method signature change
Adopt MapOjbect removing change
Adopt event handling object changes
Adopt ToRequestsFunc to MapFunc change
Adopt EnqueueRequestsFromMapFunc change
Adopt runerable interface change
Adopt using admission review version v1
Signed-off-by: RainbowMango <renhongcai@huawei.com>
|
2021-05-08 19:12:35 +08:00 |
Hongcai Ren
|
fe2efa6139
|
Retry collect cluster status in case of cluster offline. (#275)
Signed-off-by: RainbowMango <renhongcai@huawei.com>
|
2021-04-20 09:16:54 +08:00 |
Hongcai Ren
|
71f4ddeb81
|
Add --cluster-status-update-frequency flag for karmada-agent (#272)
Signed-off-by: RainbowMango <renhongcai@huawei.com>
|
2021-04-17 18:38:24 +08:00 |
Hongcai Ren
|
fd5aeb8cf5
|
Introduce federated object key for refactor status clollection (#266)
Signed-off-by: RainbowMango <renhongcai@huawei.com>
|
2021-04-12 15:12:16 +08:00 |
yangcheng-icbc
|
3c193e1760
|
the binding name for any resource template should be a name-kind format (#248)
Signed-off-by: icbc-yangcheng <shineus1996@gmail.com>
|
2021-03-31 16:33:45 +08:00 |
lihanbo
|
e7aeb332ad
|
add e2e test for karmada agent
Signed-off-by: lihanbo <lihanbo2@huawei.com>
|
2021-03-27 17:58:55 +08:00 |
RainbowMango
|
4696f7800d
|
Fix non-operation update block status reflect issue
Signed-off-by: RainbowMango <renhongcai@huawei.com>
|
2021-03-25 21:29:15 +08:00 |
Hanbo Li
|
65a4f32e3e
|
generate work name based on different resource (#232)
Signed-off-by: lihanbo <lihanbo2@huawei.com>
|
2021-03-25 11:59:06 +08:00 |
Hanbo Li
|
59a02e0030
|
add karmada agent (#226)
Signed-off-by: lihanbo <lihanbo2@huawei.com>
|
2021-03-24 14:51:13 +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 |
RainbowMango
|
0b22238888
|
Adopt work API group change
Signed-off-by: RainbowMango <renhongcai@huawei.com>
|
2021-03-06 14:30:06 +08:00 |
Hongcai Ren
|
288d24c7b9
|
Deprecate create by label from manifests (#191)
Signed-off-by: RainbowMango <renhongcai@huawei.com>
|
2021-03-06 09:28:01 +08:00 |
Hongcai Ren
|
e7298f6f14
|
Optimize AsyncWorker make it could be re-use by other components (#174)
Signed-off-by: RainbowMango <renhongcai@huawei.com>
|
2021-02-25 20:27:07 +08:00 |
xsy
|
5c5aacdf51
|
fix panic when single cluster manager not found (#170)
Signed-off-by: xieshiyi <xieshiyi1@huawei.com>
|
2021-02-25 10:15:27 +08:00 |
Hongcai Ren
|
5f7305f1d7
|
Rename PropagationWork to Work. (#169)
Signed-off-by: RainbowMango <renhongcai@huawei.com>
|
2021-02-09 14:30:34 +08:00 |
Kevin Wang
|
0dba6b8e23
|
update cluster_status_controller name according to API change (#144)
Signed-off-by: Kevin Wang <kevinwzf0126@gmail.com>
|
2021-01-25 18:50:25 +08:00 |
Kevin Wang
|
4afcabe5f1
|
rename apigroup name, from propagationstrategy to policy
Signed-off-by: Kevin Wang <kevinwzf0126@gmail.com>
|
2021-01-25 15:55:06 +08:00 |
Kevin Wang
|
e33559250c
|
rename membercluster to cluster in relevant implementations
Signed-off-by: Kevin Wang <kevinwzf0126@gmail.com>
|
2021-01-23 09:53:52 +08:00 |
Kevin Wang
|
da394ab07a
|
rename membercluster api to cluster
Signed-off-by: Kevin Wang <kevinwzf0126@gmail.com>
|
2021-01-23 09:53:52 +08:00 |
Hongcai Ren
|
893fe6b93e
|
print logs only for real error and remove outdate todo (#129)
Signed-off-by: RainbowMango <renhongcai@huawei.com>
|
2021-01-18 18:35:21 +08:00 |
Hanbo Li
|
b9504db59b
|
recreate resource when resource in member cluster is unexpectedly deleted (#127)
Signed-off-by: lihanbo <lihanbo2@huawei.com>
|
2021-01-18 11:38:46 +08:00 |
Hanbo Li
|
143f09af1b
|
add object watcher to manage operations for object dispatched to member clusters (#104)
Signed-off-by: lihanbo <lihanbo2@huawei.com>
|
2021-01-07 18:51:07 +08:00 |
Hongcai Ren
|
3785f32ef2
|
Refelect resource running status to PropagationWork. (#106)
Signed-off-by: RainbowMango <renhongcai@huawei.com>
|
2021-01-05 16:18:28 +08:00 |
Xianpao Chen
|
8e0f2c4cae
|
add work queue for status controller (#99)
Signed-off-by: chenxianpao <chenxianpao@huawei.com>
|
2020-12-31 17:39:33 +08:00 |
Hanbo Li
|
7ed40d0ea7
|
get member cluster healthy status with the /readyz endpoint (#98)
Signed-off-by: lihanbo <lihanbo2@huawei.com>
|
2020-12-31 10:20:07 +08:00 |
Hongcai Ren
|
e4c7379eb5
|
simplify finalizer usage. (#94)
|
2020-12-30 09:25:00 +08:00 |
Xianpao Chen
|
62a85ea0f8
|
add informermangers for status processing (#91)
* add informermangers for status processing
Co-authored-by: Hongcai Ren <renhongcai@huawei.com>
|
2020-12-28 10:14:05 +08:00 |
lihanbo
|
fb91d91c94
|
add membercluster status controller
|
2020-12-23 14:48:48 +08:00 |
Xianpao Chen
|
dc017b0b8c
|
Add work status controller framework (#75)
|
2020-12-17 16:56:28 +08:00 |