RainbowMango
a8e965321e
Disable cluster failover by default which should be explicitly enabled by administrators after a fully evaluation.
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-11-30 09:59:35 +08:00
chaosi-zju
13c28a00b2
fix code typo errors
...
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-11-28 11:01:54 +08:00
changzhen
25867c45ba
update taint-manager to config eviction task with purgeMode
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-11-25 17:18:49 +08:00
chaosi-zju
b605d9d637
ensure controller names are unique when emitting metrics
...
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-11-11 12:05:12 +08:00
xovoxy
503fb93068
add test for pkg/controllers/cluster
...
Signed-off-by: xovoxy <xilovele@gmail.com>
2024-09-08 19:56:21 +08:00
xovoxy
f30e450a36
optimize: used a unified context in cluster_controller reconcile
...
Signed-off-by: xovoxy <xilovele@gmail.com>
2024-07-31 15:36:58 +08:00
Michael Grosser
13f0f6e6d8
add karmada.io/system label to created execution namespaces
...
Signed-off-by: Michael Grosser <michael@grosser.it>
2024-07-25 07:48:49 -07:00
Lan Liang
5a4539d404
migrate wait.PollImmediate to wait.PollUntilContextTimeout.
...
Signed-off-by: Lan Liang <gcslyp@gmail.com>
2024-05-22 05:51:49 +00:00
changzhen
dcd04aecfe
add empty judgement for placement in taint-manager
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-05-21 16:23:13 +08:00
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
Poor12
d06fe2b5b3
add application failover controller
...
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-05-06 10:36:54 +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
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