Commit Graph

364 Commits

Author SHA1 Message Date
RainbowMango bff2eb9024 Adopt k/k API/interface changes
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-02-19 21:16:32 +08:00
jinglinax@163.com 9a9534d09e return err replace nil
Signed-off-by: jinglinax@163.com <jinglinax@163.com>
2022-02-17 15:56:30 +08:00
likakuli f4fc8ee15b fix a bug that Replica set by overridepolicy will be reset by ReviseReplica interpreterhook issue#1347
Signed-off-by: likakuli <1154584512@qq.com>
2022-02-10 16:14:14 +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
Rishi Kumar Ray 893fbefa50 Update first in RetryOnConflict
Signed-off-by: Rishi Kumar Ray <rishi.ray@knoldus.com>
2022-01-26 14:33:24 +05:30
pigletfly 2d797acb23 Sort apiResources
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
2022-01-24 14:57:00 +08:00
karmada-bot abc767bfcd
Merge pull request #1277 from iawia002/unstructured
Clean up the code that converts Unstructured objects
2022-01-20 10:09:25 +08:00
karmada-bot 28f0bf365b
Merge pull request #1145 from kerthcet/feature/fix-ensure-cyclomatic-complexity
fix ensureWork cyclomatic complexity
2022-01-20 09:00:25 +08:00
kerthcet 695f3cc99e fix ensureWork cyclomatic complexity
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-01-19 13:16:56 +08:00
Xinzhao Xu 501f68aea4 Clean up the code that converts Unstructured objects
Signed-off-by: Xinzhao Xu <z2d@jifangcheng.com>
2022-01-19 10:28:30 +08:00
changzhen fc7616e234 update HookEnabled interface with resourceinterpreter
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-01-19 09:27:15 +08:00
ashley-rongfang a1c25ae4a8 Update first in RetryOnConflict
Signed-off-by: ashley-rongfang <rongfang@huawei.com>
2022-01-18 11:05:27 +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
carlory da91752a29 remove unreachable code
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-01-02 22:21:45 +08:00
changzhen 05722acfc0 add impersonatorSecretRef for cluster object
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-12-29 11:08:13 +08:00
changzhen bc377033e3 upgrade scenario for pull mod cluster
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-12-27 12:22:08 +08:00
changzhen fb8f99718c upgrade scenario for push mode cluster
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-12-26 16:48:22 +08:00
Xinzhao Xu d7b593ce55 Remove deprecated ReplicaSchedulingPolicy API
Signed-off-by: Xinzhao Xu <z2d@jifangcheng.com>
2021-12-24 17:43:06 +08:00
Xinzhao Xu a895c38005 Implementing the ReviseReplica hook
Signed-off-by: Xinzhao Xu <z2d@jifangcheng.com>
2021-12-24 16:02:25 +08:00
Xinzhao Xu 05eb1d51d7 Add --controllers flag to karmada-agent and move ControllerContext to a separate package
Signed-off-by: Xinzhao Xu <z2d@jifangcheng.com>
2021-12-23 21:32:06 +08:00
lihanbo beb4dd7581 add unified auth controller
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-12-23 19:46:39 +08:00
karmada-bot ea0874acd0
Merge pull request #1070 from mrlihanbo/add_events_in_resource
add events to resource template
2021-12-21 09:26:28 +08:00
lihanbo b238572263 add events to resource template
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-12-20 17:31:38 +08:00
karmada-bot 5eefcd6a49
Merge pull request #1053 from mrlihanbo/delete-work-bugfix
abort deleting workload when the member cluster is unready
2021-12-20 17:07:27 +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
changzhen 586cd9d407 update discoveryv1beta1 to discoveryv1 for endpointslice
Signed-off-by: changzhen <changzhen5@huawei.com>
Signed-off-by: Shike-Ada <1073457937@qq.com>
2021-12-18 17:19:21 +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
karmada-bot 3a743aaaa9
Merge pull request #1060 from mrlihanbo/FullyApplied
update FullyApplied condition after aggregating works status
2021-12-10 17:43:18 +08:00
lihanbo c07b6ce2dd update FullyApplied condition
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-12-10 17:16:05 +08:00
karmada-bot 09c04490bc
Merge pull request #988 from mrlihanbo/schedule-condition
update Scheduled conditon when failed scheduling
2021-12-07 09:18:14 +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
lihanbo 435f32cc4d update Scheduled conditon when failed scheduling
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-12-02 17:53:53 +08:00
huangminjie 80467aea48 feature: change namespace filter rule
some namespaces(like karmada-test, karmada-dev, etc.) will be propagated

Signed-off-by: huangminjie <minjie.huang@daocloud.io>
2021-12-01 16:19:11 +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
karmada-bot ce7d278977
Merge pull request #932 from mrlihanbo/cluster_status_condition
add conditions for cluster status
2021-11-26 14:37:06 +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
changzhen 033de2de9f delete the TODO logic with binding labels
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-11-22 17:41:55 +08:00
guoyao ae34e4d1b8 unify IsNodeReady function
Signed-off-by: guoyao <1015105054@qq.com>
2021-11-15 11:35:03 +08:00
Garrybest 47a6823afa support job scheduling
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-11-09 14:29:34 +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
karmada-bot 9f2835d3f2
Merge pull request #895 from mrlihanbo/queue_bugfix
prevent empty key from queue
2021-11-05 12:00:32 +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
zhongjun.li a31708ae46 propagationpolicy clean up
Signed-off-by: zhongjun.li <zhongjun.li@daocloud.io>
2021-11-02 18:02:32 +08:00
wawa0210 a87b3ca1e8
remove hpa works object as much as possible
Signed-off-by: wawa0210 <xiaozhang0210@hotmail.com>
2021-10-28 08:33:27 +08:00
karmada-bot 76ee54f2a3
Merge pull request #867 from iawia002/fix-lint
Update .golangci.yml file to include comments check rule
2021-10-27 09:31:36 +08:00
iawia002 10f17e1eec Update .golangci.yml file to include comments check rule
Signed-off-by: iawia002 <z2d@jifangcheng.com>
2021-10-26 11:41:28 +08:00
wawa0210 597abca96e
Delete EndpointSlice should consider the situation that it no longer exists
Signed-off-by: wawa0210 <xiaozhang0210@hotmail.com>
2021-10-25 21:18:42 +08:00
haozi007 d10da4f1db fix return invalid error
Signed-off-by: duguhaotian <knowledgehao@163.com>
2021-10-22 04:41:51 +01:00
karmada-bot 4ac02a613f
Merge pull request #808 from RainbowMango/pr_nominate_owners
nominate approvers and reviewers
2021-10-22 10:46:09 +08:00
karmada-bot 765f0b4b04
Merge pull request #845 from mrlihanbo/bugfix-cluster-status
collect status even if cluster's deletionTimestamp is not zero
2021-10-22 09:19:09 +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
lonelyCZ f3eae223cc Add FullyApplied to binding
Signed-off-by: lonelyCZ <531187475@qq.com>
2021-10-20 16:23:07 +08:00
karmada-bot e9f4bdeb94
Merge pull request #837 from wawa0210/refactor-executespace-event
refactor execute space event
2021-10-20 12:07:06 +08:00
wawa0210 854cac6e72
refactor execute space event
Signed-off-by: wawa0210 <xiaozhang0210@hotmail.com>
2021-10-20 11:40:53 +08:00
karmada-bot 384c1322e9
Merge pull request #828 from mrlihanbo/delete-ns-bugfix
ignore not found error when deleting resource
2021-10-20 09:55:07 +08:00
karmada-bot 9b97ca9222
Merge pull request #749 from pigletfly/cluster-controller-event
Add event for cluster controller
2021-10-19 19:21:04 +08:00
RainbowMango fb81c73c67 nominate approvers and reviewers
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2021-10-19 14:31:38 +08:00
pigletfly 3e1d4473e5 Add event for cluster controller
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
2021-10-19 09:57:22 +08:00
lihanbo fed776f419 ignore not found err when delete resource
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-10-18 19:34:30 +08:00
karmada-bot d2af1e1991
Merge pull request #823 from dddddai/sched-condition
Propose a Scheduled condition for RB/CRB
2021-10-18 15:15:01 +08:00
karmada-bot 15d0af0a03
Merge pull request #800 from wawa0210/execution-events
Reorganize  events code and add execution event
2021-10-18 14:13:02 +08:00
wawa0210 b247085261
Add execution event
Signed-off-by: wawa0210 <xiaozhang0210@hotmail.com>
2021-10-18 13:48:17 +08:00
dddddai eaea5c608b add scheduled condition for binding
Signed-off-by: dddddai <dddwq@foxmail.com>
2021-10-18 11:43:40 +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
karmada-bot cceed5c9f8
Merge pull request #791 from dddddai/from-cache
Fetch control plane workload from cache instead of api server
2021-10-15 17:55:57 +08:00
karmada-bot c97fa4b96e
Merge pull request #807 from wawa0210/fix-ensureremoveexecutionspace
refactor ensureRemoveExecutionSpace method
2021-10-15 17:46:05 +08:00
dddddai 65071d1e64 fetch control plane workload from cache instead of api server
Signed-off-by: dddddai <dddwq@foxmail.com>
2021-10-15 17:33:25 +08:00
wawa0210 0503a0e4a9
Ensure that the return value of ensureRemoveExecutionSpace is correct
Signed-off-by: wawa0210 <xiaozhang0210@hotmail.com>
2021-10-15 17:21:13 +08:00
karmada-bot a9250c5977
Merge pull request #817 from dddddai/test
Aggregate status no matter if ensured work or not
2021-10-15 09:37:57 +08:00
dddddai 981201ce61 aggregate status no matter if ensured work or not
Signed-off-by: dddddai <dddwq@foxmail.com>
2021-10-14 15:44:11 +08:00
wawa0210 a930a54c62
The tryCreateWorkload method does not directly output error information, directly returns error, which is handled by the external caller to avoid repeated output
Signed-off-by: wawa0210 <xiaozhang0210@hotmail.com>
2021-10-10 23:43:29 +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 1a60ade046 Deprecate ReplicaSchedulingPolicy API(must promote controller-gen cmd)
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2021-09-30 16:29:28 +08:00
karmada-bot 3f275c53e6
Merge pull request #770 from dddddai/owner-ref
Remove invalid ownerReference in HPA controller
2021-09-30 15:37:37 +08:00
changzhen acee9c6a09 modify event reason
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-09-30 12:09:42 +08:00
changzhen e25e2038a4 retain original code style
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-09-30 11:15:30 +08:00
pigletfly 8600106853 Add binding event
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
2021-09-30 10:54:27 +08:00
karmada-bot 7d77644d43
Merge pull request #775 from Garrybest/pr_cleanup
clean up unstructured conversion
2021-09-29 12:05:35 +08:00
Garrybest e9a7a2a022 clean up unstructured conversion
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-09-29 11:33:19 +08:00
dddddai ede9fad83c add finalizer in resource binding and cluster resource binding
Signed-off-by: dddddai <dddwq@foxmail.com>
2021-09-29 11:21:51 +08:00
RainbowMango 56fbbe1054 adopt binding v1alpha2
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2021-09-28 17:03:46 +08:00
dddddai c9de7fbb07 remove invalid ownerReference in HPA Controller
Signed-off-by: dddddai <dddwq@foxmail.com>
2021-09-28 11:02:36 +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
karmada-bot fed43983af
Merge pull request #758 from iawia002/cleanup
Move GenerateKey function out of the worker file
2021-09-26 11:48:30 +08:00
karmada-bot c7b64700d2
Merge pull request #755 from phantooom/rui.zou/fix-matchcluster
fix: when matchClusters is empty controller will crash
2021-09-26 09:42:31 +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 d625a87783
Merge pull request #746 from dddddai/get-member-workload-from-cache
Get member workload from cache instead of api server
2021-09-23 21:18:28 +08:00
phantooom b9929128b3 fix: when matchClusters is empty controller will crash
Signed-off-by: phantooom <xiaorui.zou@gmail.com>
2021-09-23 13:25:08 +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
dddddai 30a8b34ac7 get member workload from cache
Signed-off-by: dddddai <dddwq@foxmail.com>
2021-09-20 21:49:49 +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
lihanbo 3da0a0c117 fix bug of aggregating status to resourcebinding
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-09-07 21:00:07 +08:00
karmada-bot 3c3127ab2b
Merge pull request #682 from CKchen0726/fix_comment_mistake
fix comment mistake in pkg/controllers/cluster/cluster_controller.go
2021-09-01 10:53:56 +08:00
CKchen0726 de4d4d6bf2 fix comment mistake in pkg/controllers/cluster/cluster_controller.go
Signed-off-by: CKchen0726 <chenchangkuan@huawei.com>
2021-09-01 09:12:31 +08:00
phantooom bf90394a0f fix: when ReplicaSchedulingPolicy all the staticWeightRule weight is 0, calculateReplicas func divide by 0
Signed-off-by: phantooom <xiaorui.zou@gmail.com>
2021-08-31 22:34:56 +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
karmada-bot 546324f381
Merge pull request #649 from XiShanYongYe-Chang/move-ensureWork
move helper.EnsureWork() to pkg/controllers/binding package
2021-08-28 14:51:48 +08:00
karmada-bot c42ca39041
Merge pull request #639 from RainbowMango/pr_nominate_reviewers
nominate owners
2021-08-26 09:11:44 +08:00
karmada-bot 2cfab7b24d
Merge pull request #630 from just1900/master
remove health data explicitly when a cluster is being deleted
2021-08-25 10:01:42 +08:00
changzhen 7299d8c091 move helper.EnsureWork() to pkg/controllers/binding
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-08-24 15:34:27 +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 ef1e4c22fd nominate reviewers
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2021-08-21 16:17:58 +08:00
just1900 9b0050c800 feat(cluster): remove health data explicitly when a cluster is being deleted
Signed-off-by: just1900 <legendj228@gmail.com>
2021-08-20 15:34:00 +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
karmada-bot e7887f4fb8
Merge pull request #533 from pigletfly/watchedNamespace
controller-manager: introduce --skipped-propagating-namespaces flag
2021-07-22 19:06:46 +08:00
pigletfly 3a29c15a7e Add skipped-propagating-namespaces flag
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
2021-07-22 17:41:50 +08:00
changzhen 0f1ce4e1d9 add e2e test for MCS feature
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-07-21 16:46:10 +08:00
changzhen 1fe244c3d9 refactor util.CreateOrUpdateWork with helper.CreateOrUpdateWork
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-07-15 16:27:19 +08:00
changzhen 12e2585e82 Cleanup cyclomatic complexity with function EnsureWork
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-07-14 20:43:45 +08:00
karmada-bot ae007af9e3
Merge pull request #514 from pigletfly/remove-duplicate-import
Remove duplicate import
2021-07-10 09:29:28 +08:00
karmada-bot 1f8c6a9bba
Merge pull request #508 from XiShanYongYe-Chang/webhook
Mutate policy's ResourceSelectors in webhook
2021-07-09 18:11:28 +08:00
pigletfly 1e274e9b8f Remove duplicate import
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
2021-07-09 12:06:59 +08:00
RainbowMango d8e2053b35 Suppress reported work from propagating
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2021-07-09 11:55:30 +08:00
changzhen 1e6c21cc28 mutate policy's ResourceSelectors in webhook
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-07-09 11:02:23 +08:00
pigletfly d4bbde279f Add skippedPropagatingAPIs option
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
2021-07-08 19:17:01 +08:00
changzhen 7e63e90ef9 derive service from ServiceImport
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-07-07 19:30:40 +08:00
karmada-bot b35402c3bd
Merge pull request #496 from qianjun1993/ensureWork
ensure work with given replicas
2021-07-07 15:40:24 +08:00
junqian ffe285ea2a ensure work with given replicas
Signed-off-by: junqian <junqian@tencent.com>
2021-07-07 15:14:23 +08:00
changzhen a6c76d2ffa collect endpointslices from executionNamespace to service namespace
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-07-06 22:08:58 +08:00
Garrybest 38690cbda6 share informer manager in global
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-07-05 19:31:41 +08:00
karmada-bot d95edbd747
Merge pull request #484 from XiShanYongYe-Chang/mcs
Add ServiceExport controller to report EndpointSlice
2021-07-03 17:15:19 +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
Garrybest b1de17b3d7 block start in cluster health monitor
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-07-01 10:41:45 +08:00
karmada-bot e1db428290
Merge pull request #454 from Garrybest/cluster-lifecycle
monitor cluster health in cluster_controller
2021-06-28 09:18:12 +08:00
Garrybest d434a4d57e monitor cluster health in cluster_controller
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-06-27 16:43:29 +08:00
lihanbo f45147a9ce adopt applying manifest to member cluster when resource with the same name and kind already exists
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-06-26 16:25:10 +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