Commit Graph

245 Commits

Author SHA1 Message Date
changzhen 27558d5a51 move detector directory from pkg/util/ to pkg/
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-10-20 10:21:08 +08:00
karmada-bot 41f0cb136a
Merge pull request #827 from ctripcloud/update-log
add cluster message in objectwatcher logs for convenient debugging
2021-10-18 19:24:01 +08:00
jingxueli 111999fa30 add cluster message in objectwatcher logs for convenient debugging
Signed-off-by: jingxueli <jingxueli@trip.com>
2021-10-18 17:48:21 +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
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
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 2d332b7556
Support delete ophranworks can continue the remove operation when an exception occurs, and finally return all deleted exceptions
Signed-off-by: wawa0210 <xiaozhang0210@hotmail.com>
2021-10-13 23:44:24 +08:00
iawia002 df019308be Fix several typos
Signed-off-by: iawia002 <z2d@jifangcheng.com>
2021-10-13 15:01:11 +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
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
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
RainbowMango a362e07125 Enable multi-version and updates binding to v1alpha2
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2021-09-28 17:03:46 +08:00
karmada-bot 54ebf79278
Merge pull request #769 from XiShanYongYe-Chang/remove-unused-code
remove logic of cleanup resource template status when delete binding object
2021-09-28 12:15:33 +08:00
changzhen 8559d48298 remove logic of cleanup resource template status when binding object delete
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-09-28 11:12:25 +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
iawia002 98cb836c31 Move the token and caData definitions to the API definition file
Signed-off-by: iawia002 <z2d@jifangcheng.com>
2021-09-27 10:11:52 +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
Garrybest a5774944b5 add scheduler estimator client
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-09-18 11:32:32 +08:00
esto a6165e47f9 update import-aliases
Signed-off-by: esto <1291156784@qq.com>
2021-09-15 15:13:14 +08:00
karmada-bot fba0ba8f5a
Merge pull request #700 from Garrybest/pr_kre
Add karmada-scheduler-estimator component
2021-09-11 09:54:09 +08:00
Garrybest 5411290137 add karmada-scheduler-estimator
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-09-10 16:14:19 +08:00
changzhen aca03f146c fix bug: update binding object with replicas and replicaRequirements
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-09-09 17:01:27 +08:00
karmada-bot f380abf288
Merge pull request #657 from Garrybest/pr_estimator
add node claim into ReplicaRequirements
2021-09-07 09:13:03 +08:00
Garrybest 4f8215e071 add node claim into ReplicaRequirements
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-09-06 15:31:42 +08:00
lihanbo d572c5d80c fix bug of removing labels from resource bingding
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-08-31 19:31:08 +08:00
karmada-bot 9336af6316
Merge pull request #647 from XiShanYongYe-Chang/refactor-imageoverride
refactor imageoverride: use converted resouce to extract json patches
2021-08-31 17:38:55 +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
changzhen 3abbacfe83 refactor imageoverride: use converted resouce to extract json patches
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-08-28 18:21:27 +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
changzhen eacfb492b1 fix use controller-runtime client resulting cache delay
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-08-25 15:12:15 +08:00
karmada-bot 5081eedb0a
Merge pull request #601 from qianjun1993/delete-policy
keep ResourceBinding when removing PropagationPolicy
2021-08-25 09:16:41 +08:00
karmada-bot 497ab01cd9
Merge pull request #645 from Garrybest/pr_lease
stop the lease controller when cluster does not exist
2021-08-24 19:44:40 +08:00
karmada-bot 06818af310
Merge pull request #637 from Garrybest/pr_estimator
move ReplicaResourceRequirements and Replicas into ResourceBindingSpec
2021-08-24 15:40:46 +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
junqian bf7f4bf097 stop remove ClusterResourceBindings labeled with policy
Signed-off-by: junqian <junqian@tencent.com>
2021-08-24 15:08:39 +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
changzhen a4bc72c03c retain necessary fields in Pod object
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-08-23 20:26:29 +08:00
Garrybest e3f0b9b611 clean up AddPodRequest
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-08-22 11:25:37 +08:00
Garrybest 5af53ce908 move ReplicaResourceRequirements and Replicas into ResourceBindingSpec
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-08-21 10:43:33 +08:00
betaincao c8e8a6269d add command and args override policy
Signed-off-by: betaincao <betaincao@gmail.com>
2021-08-19 17:00:29 +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
lihanbo d5a595d766 reflect status of job/service/ingress to resource template
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-08-18 17:40:00 +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