Commit Graph

47 Commits

Author SHA1 Message Date
karmada-bot a20dd6e630
Merge pull request #2935 from jwcesign/code-review-fix-v2
Delete the redundant logic in func GenerateExecutionSpaceName
2022-12-29 15:39:50 +08:00
chen zechun 83d43235e8 Uniform error log output starts with uppercase
Signed-off-by: chen zechun <zechun.chen@daocloud.io>
2022-12-28 19:12:36 +08:00
jwcesign 8acd1a4503 Delete the redundant logic in func GenerateExecutionSpaceName
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2022-12-28 15:59:24 +08:00
karmada-bot c416581aa9
Merge pull request #2835 from Poor12/add-event-for-gracefuleviction
Add events for graceful eviction controller
2022-11-28 17:59:10 +08:00
Poor12 e988f75fb0 add events for graceful eviction controller
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-11-26 10:27:10 +08:00
RainbowMango f8646f5d91 Update Golang version from v1.18.3 to v1.19.3
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-11-23 19:47:12 +08:00
Poor12 5418b5d265 refactor events
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-11-15 15:34:22 +08:00
karmada-bot 6502bda995
Merge pull request #2688 from Poor12/improve-cluster-event
Add the CreateExecutionSpaceSucceed and RemoveExecutionSpaceSucceed event
2022-11-08 19:45:52 +08:00
yanggang a0a7674d26
reuse context for controller-manager base-context
Signed-off-by: yanggang <gang.yang@daocloud.io>
2022-11-05 18:51:06 +08:00
Poor12 e438cfcf75 add CreateExecutionSpaceSucceed and RemoveExecutionSpaceSucceed event
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-11-03 11:48:10 +08:00
calvin 965bcc11c0 optimize collectIDForClusterObjectIfNeeded error message
Signed-off-by: calvin <wen.chen@daocloud.io>
2022-11-02 15:47:32 +08:00
Poor12 047b2fb7ae fix a typo about events
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-10-20 20:42:23 +08:00
chaunceyjiang 403c384b0f Add NotReady taint to the new cluster
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2022-08-26 11:49:53 +08:00
Garrybest 5658bdb2c3 remove TargetCluster when cluster is terminating
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-08-15 19:40:13 +08:00
karmada-bot 66af6ef502
Merge pull request #2313 from yy158775/unique_id
add ID the unique identifier for push and pull mode's cluster
2022-08-12 14:57:10 +08:00
yy158775 474933826b add ID the unique identifier for push and pull mode's cluster
Signed-off-by: yy158775 <1584616775@qq.com>
2022-08-12 09:37:50 +08:00
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
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
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
Garrybest 1d2028b10f add taint manager
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-07-15 10:42:38 +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
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
Garrybest 7107e3934f enhance cluster lifecycle management
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-05-17 21:17:42 +08:00
carlory da91752a29 remove unreachable code
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-01-02 22:21:45 +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 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
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
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
esto a6165e47f9 update import-aliases
Signed-off-by: esto <1291156784@qq.com>
2021-09-15 15:13:14 +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
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
Garrybest b1de17b3d7 block start in cluster health monitor
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-07-01 10:41:45 +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
Rohan Sharma cd00c7c73c Fix redundant log
Signed-off-by: Rohan Sharma <rhnsharma5113@gmail.com>
2021-06-16 20:25:31 +05:30
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
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
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
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
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