whitewindmills
a5d8ba7c09
Use webhook to set associated labels and annotations of work
...
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-05-10 11:03:19 +08:00
huangyanfeng
7c2b3e19ee
if an error is non-nil not need to set Result.Requeue true
...
Signed-off-by: huangyanfeng <huangyanfeng1992@gmail.com>
2024-04-03 14:08:22 +08:00
zhy76
adef1e5974
feat: add license and verify license for code file
...
Signed-off-by: zhy76 <958474674@qq.com>
2023-11-16 11:11:21 +08:00
zhangdiandian
7cef5b8086
fix: The PULL mode cluster cannot be deleted immediately
...
Signed-off-by: zhangdiandian <1635468471@qq.com>
2023-10-26 13:45:40 +00:00
Poor12
b2ac1b2432
refactor the func and event of taint cluster
...
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-07-31 17:32:24 +08:00
karmada-bot
d5e604c24c
Merge pull request #3130 from yanfeng1992/fix-remove-cluster-re-queue
...
unjoin cluster check namespace reduce cluster enqueue
2023-06-16 11:41:50 +08:00
huangyanfeng
da234809fc
add ExecutionSpaceRetryFrequency to reduce cluster requeue
...
Signed-off-by: huangyanfeng <huangyanfeng1992@gmail.com>
2023-06-12 20:01:49 +08:00
Amir Alavi
121afd21ff
add managed-by label to resources created by karmada controllers ( #3262 )
...
* update value of managed-by label to 'karmada'
Signed-off-by: Amir Alavi <amiralavi7@gmail.com>
* change managed by label to a karmada reserved label
Signed-off-by: Amir Alavi <amiralavi7@gmail.com>
---------
Signed-off-by: Amir Alavi <amiralavi7@gmail.com>
2023-05-12 14:35:24 +08:00
xigang
6aac228706
cleanup: remove unused cluster controller log
...
Signed-off-by: xigang <wangxigang2014@gmail.com>
2023-04-17 17:23:01 +08:00
changzhen
b0fe95d60b
remove code for collecting clusterID under upgrading
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2023-02-14 10:52:06 +08:00
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
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
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
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
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