karmada-bot
2d8213fefb
Merge pull request #6294 from RainbowMango/pr_refactor_work_index
...
Move index register to dedicated package
2025-04-14 20:42:01 +08:00
wei-chenglai
c12b040d8d
Fix lint issue ST1005
...
Signed-off-by: wei-chenglai <qazwsx0939059006@gmail.com>
2025-04-12 12:57:07 -04:00
RainbowMango
5865ee6ce2
Refactor Work index WorkIndexByResourceBindingID and WorkIndexByClusterResourceBindingID
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2025-04-12 19:07:06 +08:00
karmada-bot
73cce5999c
Merge pull request #6292 from seanlaii/fix-QF1003
...
Fix lint issue QF1003
2025-04-12 19:02:59 +08:00
wei-chenglai
51aec83d12
Fix lint issue fix-QF1003
...
Signed-off-by: wei-chenglai <qazwsx0939059006@gmail.com>
2025-04-12 00:33:48 -04:00
wei-chenglai
02598f609b
Fix lint issue ST1019
...
Signed-off-by: wei-chenglai <qazwsx0939059006@gmail.com>
2025-04-12 00:14:23 -04:00
changzhen
2667cef349
when cluster is not-ready doesn't cleanup MultiClusterService and EndpointSlice work
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2025-04-02 16:04:41 +08:00
karmada-bot
ba782c85c2
Merge pull request #6227 from XiShanYongYe-Chang/fix-3747
...
fix the issue where the binding gracefulEvictionTask can never be clear
2025-03-26 10:07:44 +08:00
changzhen
412952ec45
update mismatch log info in the taint-manager
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2025-03-24 20:54:42 +08:00
changzhen
cbfc085283
to prevent the generation judgment from always being false and block gracefulEvictionTask clearance, move the generation judgment logic to the reconcile
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2025-03-24 15:48:48 +08:00
wei-chenglai
d231a87aed
Bump golang to 1.23.7 and golangci-lint to 1.64.8
...
Signed-off-by: wei-chenglai <qazwsx0939059006@gmail.com>
2025-03-22 13:03:28 -04:00
karmada-bot
6810e88643
Merge pull request #6043 from vie-serendipity/feat/suspend
...
feat: replace instruction annotation with work suspendDispatching field
2025-03-20 17:21:40 +08:00
karmada-bot
9a92463c8b
Merge pull request #6211 from RainbowMango/pr_orgnize_indexer
...
Update Works index with a unique name
2025-03-20 16:56:39 +08:00
karmada-bot
2a25f5b555
Merge pull request #6145 from CharlesQQ/rate-limit-fix
...
add the ratelimiter options parameter for controllers that are missing it
2025-03-20 15:57:40 +08:00
chang.qiangqiang
2b109eb9df
fix(detector): add ratelimiteroptions for controllers
...
Signed-off-by: chang.qiangqiang <chang.qiangqiang@immomo.com>
2025-03-20 15:00:42 +08:00
RainbowMango
e3244462d7
Update Works index with a unique name
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2025-03-19 16:09:05 +08:00
vie-serendipity
4b437e40f4
feat: replace instruction annotation with work suspendDispatching field
...
feat: rename workIndex and mv GetWorkSuspendDispatching to helper
feat: modify the style of Deprecated
Signed-off-by: vie-serendipity <2733147505@qq.com>
feat: label and annotate workloads even though work is suspended
Signed-off-by: vie-serendipity <2733147505@qq.com>
test: fix ut for CreateOrUpdateWork
Signed-off-by: vie-serendipity <2733147505@qq.com>
2025-03-19 15:04:55 +08:00
karmada-bot
63ad83dfdd
Merge pull request #6173 from RainbowMango/pr_nominate_code_owners
...
Nominate code owners
2025-03-12 09:31:33 +08:00
zach593
d226ce11f3
update object watcher metrics and simplify cluster object version recording
...
Signed-off-by: zach593 <zach_li@outlook.com>
2025-03-09 00:52:48 +08:00
RainbowMango
0c8b8f5c70
Nominate code owners
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2025-02-28 16:37:46 +08:00
zach593
707e4422c2
add work mutating in ctrlutil.CreateOrUpdateWork()
...
Signed-off-by: zach593 <zach_li@outlook.com>
2025-02-24 13:56:53 +08:00
zach593
ffefe654ae
fixed some UTs did not pass apiversion and kind when generating unstructured.Unstructured
...
Signed-off-by: zach593 <zach_li@outlook.com>
2025-02-19 20:39:55 +08:00
chang.qiangqiang
58887bc078
fix(cluster): remove related metrics label after cluster is deleted
...
Signed-off-by: chang.qiangqiang <chang.qiangqiang@immomo.com>
2025-02-14 10:17:34 +08:00
karmada-bot
d24b2b9d08
Merge pull request #6061 from chaosi-zju/ensureWork
...
enhance ensureWork to continue processing clusters after individual failures
2025-01-24 11:50:52 +08:00
chaosi-zju
af610cc58e
enhance ensureWork to continue processing clusters after individual failures
...
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2025-01-23 18:07:27 +08:00
Monokaix
cf46939019
fix pp suspension mistakenly override scheduling suspension
...
Signed-off-by: Monokaix <changxuzheng@huawei.com>
2025-01-18 16:57:30 +08:00
zach593
ce1ca9912f
fix deep equal check failure in CreateOrUpdateWork(), by replace the marshaler
...
Signed-off-by: zach593 <zach_li@outlook.com>
2025-01-10 19:53:46 +08:00
zach593
807153fdff
move CreateOrUpdateWork() and related functions to controllers/ctrlutil
...
Signed-off-by: zach593 <zach_li@outlook.com>
2025-01-10 11:34:58 +08:00
chaosi-zju
5b7df5b231
fix rebalancer auto deleted failed
...
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-12-28 17:52:32 +08:00
Monokaix
eb2a4bd051
decouple suspension of propagation and resourcebinding
...
Signed-off-by: Monokaix <changxuzheng@huawei.com>
2024-12-28 11:31:53 +08:00
Mohamed Awnallah
6ae8cfd3e9
pkg/karmadactl/util: unit test apiclient
...
In this commit, we unit test apiclient on creating restconfig.
Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-12-11 08:57:27 +02:00
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
RainbowMango
58c3765684
Add stateful application failover status injection feature gate
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-11-29 16:27:36 +08:00
karmada-bot
54be414d9f
Merge pull request #5893 from XiShanYongYe-Chang/inject-preservedLabelState
...
Inject preservedLabelState to the failover to clusters
2024-11-29 12:25:05 +08:00
changzhen
1cdc646cef
inject preservedLabelState to the failover to clusters
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-11-29 11:30:51 +08:00
changzhen
3c0c9b8a41
add ut for parseJSONValue function to cover the JSONPath main parse ability
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-11-29 09:37:26 +08:00
karmada-bot
1b8d09c2f8
Merge pull request #5887 from XiShanYongYe-Chang/build-PreservedLabelState
...
Build PreservedLabelState when triggering evition in RB/CRB application controller
2024-11-28 12:21:04 +08:00
changzhen
46dbf076e9
build PreservedLabelState when triggering evition
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-11-28 11:25:42 +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
karmada-bot
f1680610dc
Merge pull request #5881 from mszacillo/set-purge-mode
...
Failover controllers now build eviction tasks for purgemode immediately
2024-11-27 11:13:02 +08:00
mszacillo
a393653723
Failover controllers now build eviction tasks for purgemode immediately
...
Signed-off-by: mszacillo <mszacillo@bloomberg.net>
2024-11-26 11:39:09 -05:00
karmada-bot
7fc69359b0
Merge pull request #5865 from ctripcloud/rb-status-on-create
...
let rb status controller onCreate predicate return true
2024-11-26 11:36:02 +08:00
zach593
302d545909
let rb status controller onCreate predicate return true
...
Signed-off-by: zach593 <zach_li@outlook.com>
2024-11-25 22:04:32 +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
zhzhuang-zju
103346111b
add agentcsrapproving controller to auto approve agent csr
...
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-11-22 18:21:06 +08:00
zach593
e2827b1b2e
Add index for Work to speed up the processing of resource binding related controllers
...
Signed-off-by: zach593 <zach_li@outlook.com>
2024-11-19 11:48:04 +08:00
karmada-bot
e7fd4eb847
Merge pull request #5493 from anujagrawal699/addedTests-pkg/controllers/deploymentreplicassyncer
...
Added tests for controllers/deploymentreplicassyncer
2024-11-15 14:38:53 +08:00
Anuj Agrawal
455cb3928b
Added tests for controllers/deploymentreplicassyncer
...
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
Added tests for controllers/deploymentreplicassyncer
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
Added tests for controllers/deploymentreplicassyncer
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
Added tests for controllers/deploymentreplicassyncer
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
Added tests for controllers/deploymentreplicassyncer
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
Added tests for controllers/deploymentreplicassyncer
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-11-15 11:04:53 +05:30
RainbowMango
fc1df776dc
Adopt controller-runtime braking change: TypedReconciler
...
Reference PR2799
Adopt Kubernetes#125483 introduced ReadinessCheck
Adopt Kubernetes breaking change: EffectiveVersion
Reference PR: 122891
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-11-12 17:52:46 +08:00
changzhen
41ba3c769d
cancel concurrent test for SetupWithManager
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-11-11 19:57:50 +08:00