Commit Graph

200 Commits

Author SHA1 Message Date
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
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