Commit Graph

334 Commits

Author SHA1 Message Date
RainbowMango 8461e4fb8c rename and re-organize the informermanager
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-08-09 17:24:23 +08:00
RainbowMango 2673a991d2 Add graceful eviction helper function and perform
graceful eviction only when feature gate is on.

Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-08-09 09:43:07 +08:00
changzhen b6c7320f70 make changes to binding-controller to adopt graceful eviction
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-08-05 16:43:47 +08:00
karmada-bot 393bf843de
Merge pull request #2315 from yy158775/workstatus_sync
stop update status if Work object in terminating state
2022-08-04 15:37:05 +08:00
yy158775 e26c0880cd don't collect status data when the work to be deleted
Signed-off-by: yy158775 <1584616775@qq.com>
2022-08-04 14:29:39 +08:00
karmada-bot 7097347d86
Merge pull request #2311 from weilaaa/optimize_unstructured_convert_methods
optimize unstructured convert methods
2022-08-04 14:16:01 +08:00
weilaaa 4ed701069d optimize unstructured convert methods
Signed-off-by: weilaaa <weilanidaye@gmail.com>
2022-08-04 11:38:25 +08:00
Garrybest 048caaa908 cleanup event in execution_controller
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-08-03 16:43:33 +08:00
AllenZMC 2f5178f88f add ut for binding/common
Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>
2022-08-01 23:42:01 +08:00
karmada-bot b860ba56c7
Merge pull request #2263 from zirain/namespace-cop
support ClusterOverridePolicy in namespaces_sync_controller
2022-07-29 16:30:54 +08:00
hejianpeng c038cdd127 support ClusterOverridePolicy in namespaces_sync_controller
Signed-off-by: hejianpeng <hejianpeng2@huawei.com>
2022-07-28 11:00:32 +08:00
RainbowMango dcbf8d2b96 Introduce RemoveCluster for ResourceBinding and ClusterResourceBinding
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-07-27 17:21:41 +08:00
karmada-bot 02836f928d
Merge pull request #1854 from likakuli/feature_notreadytaint
feat: use taint instead of condition to filter cluster
2022-07-22 16:57:48 +08:00
Poor12 f9f81280dc Cleanup ClusterClientSetFunc field in execution-controller
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-07-22 11:38:46 +08:00
karmada-bot d626fcc7cf
Merge pull request #1945 from Garrybest/pr_taint
add NoExecute taint manager
2022-07-18 16:26:43 +08:00
Garrybest e39c5844a7 add option and feature gate for taint manager
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-07-15 16:29:43 +08:00
AllenZMC b7a05f72e5 add ut for binding/common
Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>
2022-07-15 15:43:04 +08:00
Garrybest 1d2028b10f add taint manager
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-07-15 10:42:38 +08:00
calvin0327 532b22f80d cleanup federated resource quota
Signed-off-by: calvin0327 <wen.chen@daocloud.io>
2022-07-08 09:55:22 +08:00
karmada-bot 753d3df43e
Merge pull request #2081 from hanweisen/fixbug
avoid required label override by overridepolicy
2022-07-02 18:05:31 +08:00
chaunceyjiang 3dc02a8a07 fix import error
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2022-07-01 11:28:20 +08:00
hanweisen 7219bf6655 avoid required label override by overridepolicy
Signed-off-by: hanweisen <hanweisen_yewu@cmss.chinamobile.com>
2022-06-29 00:25:31 +08:00
karmada-bot 5fcdafbcfe
Merge pull request #2033 from dddddai/lease
Skip updating lease for push mode clusters
2022-06-23 20:42:15 +08:00
karmada-bot a2608ace23
Merge pull request #1998 from XiShanYongYe-Chang/cleanup-upgrade-code
Clean-up unused code for upgrade scene
2022-06-23 11:55:15 +08:00
dddddai 4e73056e51 skip updating lease for push mode clusters
Signed-off-by: dddddai <dddwq@foxmail.com>
2022-06-20 14:43:59 +08:00
karmada-bot 4c496a3a98
Merge pull request #1884 from dddddai/cluster-status
Add cluster success threshold
2022-06-17 15:46:09 +08:00
dddddai 1ebc680d16 add cluster success threshold
Signed-off-by: dddddai <dddwq@foxmail.com>
2022-06-16 18:02:17 +08:00
RainbowMango 56d1570439 rename misleading label constant
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-06-14 11:25:10 +08:00
changzhen 8ada4671ae clean-up unused code for upgrade scene
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-06-14 10:32:44 +08:00
karmada-bot 6ae45f8618
Merge pull request #1902 from hanweisen/addevent
add syncEvent from execution_controller to resource
2022-06-10 10:42:01 +08:00
hanweisen f43f67367c add syncEvent from execution_controller to resource
Signed-off-by: hanweisen <hanweisen_yewu@cmss.chinamobile.com>
2022-06-10 09:58:07 +08:00
karmada-bot d5275106fa
Merge pull request #1928 from chaunceyjiang/headless
When ServiceImportType is Headless, it should be ignored
2022-06-10 09:57:08 +08:00
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
chaunceyjiang 17a44ae041 When ServiceImportType is Headless, it should be ignored
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2022-05-31 15:37:24 +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
likakuli a42c819c10 feat: taint cluster by condition and filter cluster by taint in scheduler
Signed-off-by: likakuli <1154584512@qq.com>
2022-05-29 11:54:11 +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 be5755daaf
Merge pull request #1781 from Garrybest/pr_clusterlifecycle
enhance cluster lifecycle management: add taints for the clusters which are unhealthy for a period of time
2022-05-18 09:33:47 +08:00
Garrybest 7107e3934f enhance cluster lifecycle management
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-05-17 21:17:42 +08:00
AllenZMC dd2a677e0e add ut for IsControllerEnabled and correct the mistakes for configure-controllers.md
Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>
2022-05-13 14:41:54 +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
karmada-bot d0321b0608
Merge pull request #1743 from lvyanru8200/delete_statusField
[fix] delete work status 'Resource' field
2022-05-09 11:27:29 +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 43fde63b4d update judge work contains serviceExport with work.spec.workload.manifests
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-04-26 20:43:06 +08:00
karmada-bot f4ddd15b61
Merge pull request #1633 from XiShanYongYe-Chang/work-status-grab
Add ReflectStatus ResourceInterperter interface to grab workload status
2022-04-25 17:37:12 +08:00
RainbowMango 362bef3065 Add comments about why resource template not exist
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-04-24 15:15:14 +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