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
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
karmada-bot
c6000efe6b
Merge pull request #444 from Garrybest/init-container
...
modify pending pods resource calculation
2021-06-17 10:13:08 +08:00
Rohan Sharma
cd00c7c73c
Fix redundant log
...
Signed-off-by: Rohan Sharma <rhnsharma5113@gmail.com>
2021-06-16 20:25:31 +05:30
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
lihanbo
aa4baa12a2
clean up works when resource binding has been removed
...
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-06-10 10:00:54 +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
gy95
d33ae3818c
fix blank lines of import packages and repeated import problems ( #337 )
...
Signed-off-by: gy95 <guoyao17@huawei.com>
2021-05-16 19:01:11 +08:00
futuretea
39d1a3a636
Fix goimports
...
Signed-off-by: futuretea <1913508671@qq.com>
2021-05-13 11:31:19 +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
Hanbo Li
28e6d3ff71
support ReplicaSchedulingPolicy ( #269 )
...
Signed-off-by: lihanbo <lihanbo2@huawei.com>
Signed-off-by: Lihanbo (Hampo <l00512446@china.huawei.com>
2021-04-15 17:37:38 +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
Hanbo Li
a3ebc74cde
trigger resync for override policy changes ( #250 )
...
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-04-02 17:34:04 +08:00
Hanbo Li
dcad956744
optimize karmadactl unjoin command ( #254 )
...
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-04-02 10:14:07 +08:00
Hongcai Ren
3b3fde5ccd
remove useless karmada.io/executionspace label from cluster object. ( #253 )
...
Signed-off-by: RainbowMango <renhongcai@huawei.com>
2021-04-01 17:08:42 +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
Zhen Chang
986bcbcd29
add judgment with work label when joining binding queue ( #246 )
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-03-31 09:24:02 +08:00
lihanbo
d69f65479d
fix the failure of getting namespace in cluster controller
...
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-03-27 20:26:37 +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
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
Hanbo Li
fa86b6afd1
add cluster resource binding controller ( #205 )
...
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-03-11 09:18:28 +08:00
Zhen Chang
1b0aa972a1
Add webhook for mutating workload object of work resource ( #206 )
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-03-10 17:46:58 +08:00
Hongcai Ren
5abf32099f
wait for dependent override present before apply policy ( #204 )
...
Signed-off-by: RainbowMango <renhongcai@huawei.com>
2021-03-10 17:14:15 +08:00
Hongcai Ren
614d7b0b8d
trigger re-match for policy changes ( #202 )
...
Signed-off-by: RainbowMango <renhongcai@huawei.com>
2021-03-09 18:56:54 +08:00
RainbowMango
30bda2b55b
Moving ResourceBinding to work.karmada.io group
...
Signed-off-by: RainbowMango <renhongcai@huawei.com>
2021-03-06 15:37:51 +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
f262e2680f
Deprecate created-by label ( #194 )
...
Signed-off-by: RainbowMango <renhongcai@huawei.com>
2021-03-06 11:13:23 +08:00
Hongcai Ren
7905bb2371
Rename PropagationBinding to ResourceBinding ( #193 )
...
* Rename PropagationBinding to ResourceBinding
Signed-off-by: RainbowMango <renhongcai@huawei.com>
* Auto generate files
Signed-off-by: RainbowMango <renhongcai@huawei.com>
2021-03-06 09:46:35 +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
3e31afdf4f
Deprecate owner label(karmada.io/created-by) set to Work object ( #184 )
...
Signed-off-by: RainbowMango <renhongcai@huawei.com>
2021-03-04 11:20:26 +08:00
RainbowMango
d86fcf9fe3
match appropriate policy for detected resource.
...
Signed-off-by: RainbowMango <renhongcai@huawei.com>
2021-03-03 10:14:56 +08:00
Hongcai Ren
b83a915955
Deprecated PolicyClaimLabel and replace with new labels ( #178 )
...
Signed-off-by: RainbowMango <renhongcai@huawei.com>
2021-02-27 18:23:10 +08:00
xsy
9711b9e5f8
Fix the failure of updating member cluster resources when the work changes ( #179 )
...
Signed-off-by: xieshiyi <xieshiyi1@huawei.com>
2021-02-27 18:13:25 +08:00
Hanbo Li
14154f7c77
add namespace sync controller ( #173 )
...
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-02-26 09:49:24 +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
Hongcai Ren
c5502fc434
Remove hardcoded condition type. ( #166 )
...
Signed-off-by: RainbowMango <renhongcai@huawei.com>
2021-02-05 17:25:55 +08:00
Hanbo Li
6d907af426
support DependentOverrides ( #157 )
...
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-02-03 17:53:37 +08:00
Xianpao Chen
540188c3cc
transform hpa to propagationwork ( #147 )
...
Signed-off-by: chenxianpao <chenxianpao@huawei.com>
2021-01-29 12:29:41 +08:00
Xianpao Chen
f684ef0371
init hpa controller framework ( #141 )
...
Signed-off-by: chenxianpao <chenxianpao@huawei.com>
2021-01-26 10:12:06 +08:00
Kevin Wang
aa3d5b1c6a
update propagationpolicy controller name, according to API change ( #145 )
...
* update propagationpolicy controller name, according to API change
Signed-off-by: Kevin Wang <kevinwzf0126@gmail.com>
* fix lint
Signed-off-by: Kevin Wang <kevinwzf0126@gmail.com>
2021-01-25 18:51:11 +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
422cd8e555
rename propagationstrategy to policy in implementations
...
Signed-off-by: Kevin Wang <kevinwzf0126@gmail.com>
2021-01-25 15:55:06 +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
03120e6923
update generated files
...
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
Xianpao Chen
4ad4367eae
remove duplicate errors import ( #135 )
...
Signed-off-by: chenxianpao <chenxianpao@huawei.com>
2021-01-22 11:03:20 +08:00
Xianpao Chen
991d390778
refactor bindingcontroller with c.Client ( #131 )
...
Signed-off-by: chenxianpao <chenxianpao@huawei.com>
2021-01-21 17:33:47 +08:00
Hongcai Ren
f04229cec9
Support override policy ( #130 )
...
* support override resources by policy
Co-authored-by: lihanbo <lihanbo2@huawei.com>
Signed-off-by: RainbowMango <renhongcai@huawei.com>
* Update vendor
Signed-off-by: RainbowMango <renhongcai@huawei.com>
2021-01-20 10:33:18 +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
Xianpao Chen
323a375dbb
refactor karmadaclient to client ( #125 )
...
Signed-off-by: chenxianpao <chenxianpao@huawei.com>
2021-01-18 18:28:44 +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
Zhonghu Xu
c59afde0e6
Added scheduler framework and basic functionality( #108 )
...
Signed-off-by: xuzhonghu <xuzhonghu@huawei.com>
2021-01-07 20:39:38 +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
Kevin Wang
b3b08d6d70
update propagation policy api, make namespace and name singular in resourceSelector ( #107 )
...
* update propagation policy api, make namespace and name singular in resourceSelector
Signed-off-by: Kevin Wang <kevinwzf0126@gmail.com>
2021-01-07 10:25:28 +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
Hongcai Ren
e794857320
execution controller only foucs on generation changed event ( #105 )
...
Signed-off-by: RainbowMango <renhongcai@huawei.com>
2021-01-05 12:00:52 +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
Hanbo Li
5327705f6e
add finalizer when creating propagationwork ( #92 )
2020-12-28 17:09:53 +08:00