lxtywypc
fad172d4e9
use ClusterCacheSyncTimeout for resources on fed control plane as well
...
Signed-off-by: lxtywypc <lxtywypc@gmail.com>
2023-08-01 18:22:06 +08: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
7381933798
Merge pull request #3730 from RainbowMango/pr_update_k8s_v127
...
Bump Kubernetes dependencies to v1.27.3
2023-07-31 12:29:43 +08:00
RainbowMango
4ee4b22f05
Adopt Kubernetes breaking changes: PR 113542 which require singular names for core types
...
Adopt breaking change of contriller-runtime PR 2122
Adopt breaking change of contriller-runtime PR 2296
Adopt breaking change of controller-runtime PR 2139
Adopt breaking change of controller-runtime PR 2135
Adopt breaking change of Kubernetes PR 116218
Adopt breaking change of controller-runtime PR 2149
Adopt breaking change of controller-runtime PR 2150
Adopt breaking change of controller-runtime PR 2134
Adopt breaking change of controller-runtime PR 2293
Adopt breaking change of controller-runtime PR 2144
Adopt k8s feature: watch list. PR 115402
Adopt breaking change of Kubernetes PR 117102
Adopt Kubernetes change: disable staticcheck
Fix unit tests that failure due to fake-client behavior changes.
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-07-29 16:47:38 +08:00
jwcesign
4da22c3f28
fix: fix bugs about validation of targetMinReplicas<=targetMaxReplicas and CronFederatedHPA status
...
Signed-off-by: jwcesign <jwcesign@gmail.com>
2023-07-29 15:53:17 +08:00
jwcesign
20129ca5cd
cleanup: delete old version hpa controller
...
Signed-off-by: jwcesign <jwcesign@gmail.com>
2023-07-27 17:36:21 +08:00
chaosi-zju
2b060cbf3b
feat: realization of ConflictResolution in PP.
...
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2023-07-25 20:23:37 +08:00
jwcesign
4f41da2381
fix: reduce metrics size by merge metrics with different apiVersion/namespace/name
...
Signed-off-by: jwcesign <jwcesign@gmail.com>
2023-07-14 17:26:05 +08:00
RainbowMango
eb0a9bb018
Promote code owners as per community membership
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-07-04 10:25:10 +08:00
karmada-bot
0ebb565096
Merge pull request #3748 from RainbowMango/pr_nominate_scaling_owners
...
Nominate FederatedHPA feature owner
2023-07-04 10:02:19 +08:00
jwcesign
068022db24
feat: Support CronFederatedHPA to scale worloads/FederatedHPA at specific time
...
Signed-off-by: jwcesign <jwcesign@gmail.com>
2023-07-03 20:25:02 +08:00
RainbowMango
2eda32bdbb
Nominate FederatedHPA feature owner
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-07-03 16:44:07 +08:00
karmada-bot
db9d56c74b
Merge pull request #3673 from Poor12/add-hpa-controller
...
hpa-controller supports custom metrics
2023-06-21 17:21:49 +08:00
Poor12
eeab59c297
add custom metrics
...
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-06-21 15:54:52 +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
Poor12
e71a360f17
delete redundant deepcopy
...
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-06-09 17:37:12 +08:00
karmada-bot
527efd174f
Merge pull request #3621 from realnumber666/add-ut/crb_status_controller
...
Add ut for `pkg/controllers/applicationfailover` and `pkg/controllers/status`
2023-06-06 12:31:23 +08:00
rayywu
7864e11267
Add UT for crb_application_failover_controller.go and rb_application_failover_controller.go
...
Signed-off-by: rayywu <rayywu@tencent.com>
2023-06-05 20:30:47 +08:00
rayywu
e97d29500b
Add UT for pkg/controllers/applicationfailover/common.go
...
Signed-off-by: rayywu <rayywu@tencent.com>
2023-06-02 00:26:49 +08:00
rayywu
8e0f186302
Add UT for pkg/controllers/status/rb_status_controller.go
...
Signed-off-by: rayywu <rayywu@tencent.com>
2023-06-01 20:41:18 +08:00
rayywu
0ee9be39bb
Add UT for pkg/controllers/status/crb_status_controller.go
...
Signed-off-by: rayywu <rayywu@tencent.com>
2023-06-01 20:33:47 +08:00
Poor12
3a1464828a
add hpa controller
...
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-05-30 17:26:02 +08:00
karmada-bot
d01ded2c2d
Merge pull request #3568 from realnumber666/add-ut/work_status_controller_0522
...
Add UT for pkg/controllers/status/work_status_controller.go
2023-05-23 21:03:55 +08:00
rayywu
1412b2d12c
Add UT for pkg/controllers/status/work_status_controller.go
...
Signed-off-by: rayywu <rayywu@tencent.com>
2023-05-23 16:50:33 +08:00
karmada-bot
3151f02f6e
Merge pull request #3547 from zishen/master
...
Add UT for pkg/controllers/binding/binding_controller.go
2023-05-22 16:44:55 +08:00
karmada-bot
26b272aef8
Merge pull request #3535 from realnumber666/add-ut/cluster_status_controller
...
Add UT for pkg/controllers/status/cluster_status_controller_test.go
2023-05-22 16:17:54 +08:00
karmada-bot
8594406e5f
Merge pull request #3398 from whitewindmills/code-cleanup
...
Fix inspection errors
2023-05-19 20:28:53 +08:00
zishen
8391b233c4
Add UT for pkg/controllers/binding/binding_controller.go
...
Signed-off-by: zishen <softwarebtg@163.com>
2023-05-19 14:22:32 +08:00
rayywu
0c9b8d9a1e
Add UT for pkg/controllers/status/cluster_status_controller_test.go
...
Signed-off-by: rayywu <rayywu@tencent.com>
2023-05-18 16:12:14 +08:00
whitewindmills
89295f9606
Fix inspection errors
...
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2023-05-17 17:06:27 +08:00
chaunceyjiang
c602c4ba02
fix: When suppression and graciously Tasks coexist in the GracefulEvictionTask queue, the graciously task cannot work.
...
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-05-16 20:04:15 +08:00
Poor12
6ad5a2704e
[flake] application failover testing
...
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-05-15 20:22:48 +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
fei.li
28e148ff0c
fix DeepEqual in federated-resource-quota-status-controller;
...
Signed-off-by: lifei <504034114@qq.com>
2023-05-11 17:19:54 +08:00
Poor12
3e63826f97
fix application controller
...
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-05-08 10:48:43 +08:00
karmada-bot
99f3c4f1f4
Merge pull request #3461 from Poor12/add-health-controller-draft
...
Add application failover controller
2023-05-06 16:18:20 +08:00
Poor12
d06fe2b5b3
add application failover controller
...
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-05-06 10:36:54 +08:00
chaunceyjiang
9592aad85f
fix: graceful-eviction still works after an unexpected restart of karmada-controller-manager
...
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-05-03 20:49:58 +08:00
RainbowMango
7f484fd463
Revert "avoid the same cluster appearing in both spec.clusters and spec.gracefulEvictionTasks"
...
This reverts commit da44a5d9f9
.
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-04-26 15:17:27 +08:00
Poor12
da44a5d9f9
avoid the same cluster appearing in both spec.clusters and spec.gracefulEvictionTasks
...
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-04-25 10:22:08 +08:00
Poor12
2c9d900c28
add some fields for GracefulEvictionTask
...
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-04-24 14:59:27 +08:00
karmada-bot
507e66f6c6
Merge pull request #3373 from chaunceyjiang/wildcards
...
feat: Allows setting wildcards for SkippedPropagatingNamespaces
2023-04-19 17:18:11 +08:00
chaunceyjiang
593264e2c6
Allows setting wildcards for SkippedPropagatingNamespaces
...
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-04-19 13:16:06 +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
karmada-bot
7589eaec60
Merge pull request #3321 from Poor12/fix-duplicated
...
Do not revise replicas when strategy is duplicated
2023-04-07 08:11:55 +08:00
Poor12
75c638ddc1
do not revise replicas when duplicated
...
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-04-06 15:05:45 +08:00
rayywu
4335107894
Add UT for deploy.go and cluster_condition_cache.go
...
Signed-off-by: rayywu <rayywu@tencent.com>
2023-04-03 17:25:33 +08:00
xigang
4c38c4e6c1
Fix: remove the setTransitionTime method from the cluster status controller
...
Signed-off-by: xigang <wangxigang2014@gmail.com>
2023-03-23 09:55:07 +08:00
changzhen
ada76ab7b7
implementing search proxy unifiedauth
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2023-03-17 10:10:18 +08:00
Poor12
e7f70a00b6
fix issue when cluster fails and recovers
...
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-03-07 15:39:25 +08:00
changzhen
eecadfd43a
add bindingStatus controller to aggregate work status and update the
...
status of resource template
Signed-off-by: changzhen <changzhen5@huawei.com>
2023-02-23 16:08:36 +08:00
jwcesign
c923705c69
Refactor execution_controller.go
...
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2023-02-23 14:34:24 +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
RainbowMango
a1e8f164cb
adopt static check issues
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-01-31 09:22:41 +08:00
RainbowMango
c07ad07f3b
Adopt lease name change
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-01-29 18:08:19 +08:00
RainbowMango
88e3c2add1
simplify context tests
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-01-19 16:57:21 +08:00
karmada-bot
434b7b6578
Merge pull request #3003 from Fish-pro/fix/klogformat
...
Fix log output errors
2022-12-29 18:06:50 +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
f3e0b45521
Modify log output errors
...
Signed-off-by: chen zechun <zechun.chen@daocloud.io>
2022-12-29 13:58:00 +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
Garrybest
2dd48e029a
dispense replicas for job
...
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-12-23 10:11:44 +08:00
karmada-bot
941637e805
Merge pull request #2942 from helen-frank/fix/namespace_sync_controller-buildWorks
...
need return after ch <-
2022-12-12 11:54:22 +08:00
helen
681d51bd7f
need return after ch <-
...
Signed-off-by: helen <haitao.zhang@daocloud.io>
2022-12-11 20:28:55 +08:00
Poor12
7c4cd0b5b6
fix work status not sync to control plane
...
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-12-09 15:43:34 +08:00
karmada-bot
60a9a649ed
Merge pull request #2880 from helen-frank/feature/buildWorksConcurrency
...
namespace_sync_controller: buildWorks parallel sync namespace
2022-12-08 10:30:18 +08:00
helen
2f3d6dc859
namespace_sync_controller: buildWorks parallel sync namespace
...
Signed-off-by: helen <haitao.zhang@daocloud.io>
2022-12-07 20:25:54 +08:00
chen zechun
7b64cc5e4e
Correct the typos
...
Signed-off-by: chen zechun <zechun.chen@daocloud.io>
2022-12-05 18:27:28 +08:00
karmada-bot
9f660f8e56
Merge pull request #2868 from Poor12/add-metrics-for-resource
...
Add metrics for resource
2022-11-28 18:10:11 +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
7013563291
add metrics for resource
...
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-11-28 14:38:22 +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
karmada-bot
6ef120f6e1
Merge pull request #2496 from Poor12/controller-metrics
...
Add metrics for cluster
2022-11-25 09:25:08 +08:00
karmada-bot
dfd0ace0b1
Merge pull request #2830 from Poor12/add-event-for-mcs
...
Add events for MCS
2022-11-24 10:47:07 +08:00
Poor12
ddf05632fa
add event for mcs
...
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-11-24 09:38:11 +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
22d372ba79
add metrics for cluster
...
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-11-23 16:32:26 +08:00
karmada-bot
afd1c074c0
Merge pull request #2812 from Poor12/add-event-for-federated-resource-quota
...
Add event for federatedResourceQuota
2022-11-22 11:58:05 +08:00
Poor12
64f152bb2c
add event for federated resource quota
...
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-11-22 10:47:32 +08:00
cleverhu
e1e1616197
unify namespace and name style
...
Signed-off-by: cleverhu <shouping.hu@daocloud.io>
2022-11-19 23:42:01 +08:00
Poor12
f4a37c7cbf
add SyncImpersonationConfig event
...
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-11-16 11:54:32 +08:00
Poor12
5418b5d265
refactor events
...
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-11-15 15:34:22 +08:00
karmada-bot
3cbae40434
Merge pull request #2771 from wuyingjun-lucky/nil_resource_selector
...
Fix overridepolicy with nil resource selector could not work
2022-11-13 10:41:56 +08:00
wuyingjun
41b1cc4c8c
fix overridepolicy with nil resource selector could not work
...
Signed-off-by: wuyingjun <wuyingjun_yewu@cmss.chinamobile.com>
2022-11-12 17:36:30 +08:00
Poor12
840de4fc84
add reflectStatusToWork and InterpretHealth event
...
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-11-11 12:07:49 +08:00
wuyingjun
81d8fdd1a6
remove overridepolicy trigger on cluster_resource_binding_controller
...
Signed-off-by: wuyingjun <wuyingjun_yewu@cmss.chinamobile.com>
2022-11-08 21:39:32 +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
jwcesign
ecfec33ec3
Add label "namespace.karmada.io/skip-auto-propagation" to control whether to propagate ns to member clusters
...
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2022-10-29 11:35:38 +08:00
karmada-bot
5d42e82b7b
Merge pull request #2596 from lonelyCZ/pr-agent-cert-rotation
...
Implement auto certificate rotation function for karmada-agent
2022-10-27 14:20:20 +08:00
lonelyCZ
0826fca253
Implement the certificate rotation function for karmada-agent
...
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-10-27 12:56:32 +08:00
stingshen
e5d156dd61
check if cluster ImpersonatorSecretRef is nil before using it
...
Signed-off-by: stingshen <stingshen@126.com>
2022-10-26 12:36:28 +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
f865e5542c
Put chaunceyjiang onto the controllers and resourceinterpreter reviewers list
...
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2022-10-19 09:47:04 +08:00
lonelyCZ
3bcee9db07
Unify the dynamic client name for work_status_controller
...
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-10-09 10:25:38 +08:00
Garrybest
92d8c69d46
stop publish duplicated event
...
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-09-23 10:43:59 +08:00
changzhen
9387ab3fe7
Use Cluster secret ref namespace in unified-auth-controller when generate ClusterRoleBinding
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-09-16 15:23:56 +08:00
karmada-bot
90a51fe76f
Merge pull request #2383 from Poor12/improve-informer
...
adopt transform func to reduce memory usage
2022-08-30 20:38:59 +08:00
Poor12
2e3e816ba2
Use transform func to save memory when large cluster
...
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-08-30 19:21:09 +08:00
karmada-bot
c769381c28
Merge pull request #2427 from chaunceyjiang/join_taint
...
Add NotReady taint to the new cluster
2022-08-27 10:07:56 +08:00
changzhen
e90edb23a5
Perceiving the health status of cluster scheduling results in graceful evictions
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-08-26 15:14:29 +08:00
changzhen
cab85d967e
fix error of reflectStatus failed when call resourceInterpreter
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-08-26 14:08:33 +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
karmada-bot
bceea1635c
Merge pull request #2402 from Poor12/2367
...
Make changes to cluster-status-controller to adopt cluster resource models
2022-08-25 10:18:52 +08:00
Poor12
18c625e6a6
update cluster-status-controller to adopt cluster resource models
...
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-08-24 17:45:54 +08:00
changzhen
afca732825
reflect health status for recording the healthy state of the current resource running in the member cluster
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-08-24 17:27:56 +08:00
yusank
d1617303a4
feat: sync cluster level resource status #2394
...
Signed-off-by: yusank <yusankurban@gmail.com>
2022-08-22 10:16:53 +08:00
RainbowMango
95036ffcda
enable node pod list only when needed for better performance
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-08-17 16:33:38 +08:00
jingxueli
b3ca4c2ee8
make buildInformerForCluster configurable
...
Signed-off-by: jingxueli <jingxueli@trip.com>
2022-08-16 21:03:09 +08:00
RainbowMango
8bb253a483
Start lease controller with separated context.
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-08-16 11:15:57 +08:00
karmada-bot
a1785e89b8
Merge pull request #2373 from Garrybest/pr_cluster
...
remove TargetCluster when cluster is terminating
2022-08-15 20:33:42 +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
4dbe338d18
Merge pull request #2377 from Poor12/master
...
Rename package name of typedmanager
2022-08-15 12:16:41 +08:00
Poor12
1374169fe3
Rename package name of typedmanager
...
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-08-15 11:26:30 +08:00
changzhen
135efdb4a5
add grace-eviction-controller to evict cluster workload
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-08-15 09:34:47 +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
charlie
34948b7c09
feat: update the dynamic informer in cluster status controller with typed informer
...
Signed-off-by: charlie <qianglin98@qq.com>
2022-08-11 13:00:31 +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
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
ljx李静雪
4953fbcd9e
if workload is not found, skip to ensure work
...
Signed-off-by: jingxueli <jingxueli@trip.com>
2022-04-21 20:06:29 +08:00
Poor12
83be916fa5
fix 1589-disable hpa controller
...
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-04-06 10:39:32 +08:00
changzhen
3c11b00720
update the judgement for setting completions with job
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-03-25 15:41:24 +08:00
lihanbo
55b8c1cba9
bugfix: aggregate status to binding when work's applied condition status changed
...
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2022-03-21 21:23:12 +08:00
dddddai
e52e02c23a
add ratelimiter flags for karmada-agent
...
Signed-off-by: dddddai <dddwq@foxmail.com>
2022-03-19 15:57:57 +08:00
RainbowMango
11fd0f935c
Refactor ratelimit flags to make it easier to share with karmada-agent.
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-03-18 17:25:13 +08:00
changzhen
74451dba63
Unified WorkspaceLabel/WorkNameLabel
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-03-14 16:06:02 +08:00
RainbowMango
8a402f8e94
chore: cleanup ratelimiter flags
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-03-08 08:57:01 +08:00
pigletfly
d8470c2c52
Fix resource binding get reconciled multiple times
...
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
2022-03-04 14:21:13 +08:00
karmada-bot
f3b1142599
Merge pull request #1399 from pigletfly/add-ratelimiter-flags
...
Introduce ratelimiter flags
2022-03-03 17:25:13 +08:00
pigletfly
9e28d6c6e8
add ratelimiter flags
...
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
2022-03-03 16:09:39 +08:00
changzhen
fdc2fdb370
eliminate duplicate getworks function
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-03-01 09:52:51 +08:00
changzhen
62a94e57aa
add federatedResourceQuota status controller
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-02-28 16:56:44 +08:00
changzhen
b457a3b2e5
add federatedResourceQuota sync controller
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-02-28 16:13:14 +08:00
lihanbo
4569663b40
adapt for propagating dependencies
...
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2022-02-26 15:49:06 +08:00
karmada-bot
d980eeac5d
Merge pull request #1321 from pigletfly/fix-worker-num
...
introduce concurrent flags to controllers
2022-02-25 15:17:06 +08:00
RainbowMango
3f0aa79948
Fix comments from myself.
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-02-25 10:42:26 +08:00
pigletfly
957be91796
Fix controller reconcile concurrent
...
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
2022-02-24 15:54:14 +08:00
Garrybest
85d8a6ccf4
add karmada-descheduler
...
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-02-24 11:43:28 +08:00
Garrybest
0777cf064c
clean up GetObjectFromCache
...
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-02-23 14:19:38 +08:00
RainbowMango
bff2eb9024
Adopt k/k API/interface changes
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-02-19 21:16:32 +08:00
jinglinax@163.com
9a9534d09e
return err replace nil
...
Signed-off-by: jinglinax@163.com <jinglinax@163.com>
2022-02-17 15:56:30 +08:00
likakuli
f4fc8ee15b
fix a bug that Replica set by overridepolicy will be reset by ReviseReplica interpreterhook issue#1347
...
Signed-off-by: likakuli <1154584512@qq.com>
2022-02-10 16:14:14 +08:00
karmada-bot
846b1aeb98
Merge pull request #1304 from pigletfly/fix-sort-apiResources
...
fixed apiEnablements unordered issue
2022-01-29 15:31:34 +08:00
karmada-bot
648e89ec45
Merge pull request #1328 from EvaDD/master
...
Update first in RetryOnConflict
2022-01-28 16:58:35 +08:00
libentai
f853550111
Update first in RetryOnConflict
...
Signed-off-by: libentai <libentai@huawei.com>
2022-01-28 15:50:18 +08:00
c30013971
773de5e746
Update first in RetryOnConflict
...
Signed-off-by: c30013971 <cuidengdeng@huawei.com>
2022-01-28 14:44:07 +08:00
Rishi Kumar Ray
893fbefa50
Update first in RetryOnConflict
...
Signed-off-by: Rishi Kumar Ray <rishi.ray@knoldus.com>
2022-01-26 14:33:24 +05:30
pigletfly
2d797acb23
Sort apiResources
...
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
2022-01-24 14:57:00 +08:00
karmada-bot
abc767bfcd
Merge pull request #1277 from iawia002/unstructured
...
Clean up the code that converts Unstructured objects
2022-01-20 10:09:25 +08:00
karmada-bot
28f0bf365b
Merge pull request #1145 from kerthcet/feature/fix-ensure-cyclomatic-complexity
...
fix ensureWork cyclomatic complexity
2022-01-20 09:00:25 +08:00
kerthcet
695f3cc99e
fix ensureWork cyclomatic complexity
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-01-19 13:16:56 +08:00
Xinzhao Xu
501f68aea4
Clean up the code that converts Unstructured objects
...
Signed-off-by: Xinzhao Xu <z2d@jifangcheng.com>
2022-01-19 10:28:30 +08:00
changzhen
fc7616e234
update HookEnabled interface with resourceinterpreter
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-01-19 09:27:15 +08:00
ashley-rongfang
a1c25ae4a8
Update first in RetryOnConflict
...
Signed-off-by: ashley-rongfang <rongfang@huawei.com>
2022-01-18 11:05:27 +08:00
chen zechun
306d06a8ff
change syncWorkStatus and reflectStatus function, modify comments and rename variable names.
...
Signed-off-by: chen zechun <zechun.chen@daocloud.io>
2022-01-12 12:05:32 +08:00
helenfrank
43036a9670
Replace all the retry.DefaultBackoff with retry.DefaultRetry from codebase
...
Signed-off-by: helenfrank <helenfrank@protonmail.com>
2022-01-11 10:28:59 +08:00
pigletfly
28f1fbf985
Retry on status update conflict
...
Signed-off-by: pigletfly wangbing.adam@gmail.com
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
2022-01-10 17:44:29 +08:00
carlory
da91752a29
remove unreachable code
...
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-01-02 22:21:45 +08:00
changzhen
05722acfc0
add impersonatorSecretRef for cluster object
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-12-29 11:08:13 +08:00
changzhen
bc377033e3
upgrade scenario for pull mod cluster
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-12-27 12:22:08 +08:00
changzhen
fb8f99718c
upgrade scenario for push mode cluster
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-12-26 16:48:22 +08:00
Xinzhao Xu
d7b593ce55
Remove deprecated ReplicaSchedulingPolicy API
...
Signed-off-by: Xinzhao Xu <z2d@jifangcheng.com>
2021-12-24 17:43:06 +08:00
Xinzhao Xu
a895c38005
Implementing the ReviseReplica hook
...
Signed-off-by: Xinzhao Xu <z2d@jifangcheng.com>
2021-12-24 16:02:25 +08:00
Xinzhao Xu
05eb1d51d7
Add --controllers flag to karmada-agent and move ControllerContext to a separate package
...
Signed-off-by: Xinzhao Xu <z2d@jifangcheng.com>
2021-12-23 21:32:06 +08:00
lihanbo
beb4dd7581
add unified auth controller
...
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-12-23 19:46:39 +08:00
karmada-bot
ea0874acd0
Merge pull request #1070 from mrlihanbo/add_events_in_resource
...
add events to resource template
2021-12-21 09:26:28 +08:00
lihanbo
b238572263
add events to resource template
...
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-12-20 17:31:38 +08:00
karmada-bot
5eefcd6a49
Merge pull request #1053 from mrlihanbo/delete-work-bugfix
...
abort deleting workload when the member cluster is unready
2021-12-20 17:07:27 +08:00
lihanbo
5290f07345
abort deleting workload when the member cluster is unready
...
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-12-19 14:29:12 +08:00
changzhen
586cd9d407
update discoveryv1beta1 to discoveryv1 for endpointslice
...
Signed-off-by: changzhen <changzhen5@huawei.com>
Signed-off-by: Shike-Ada <1073457937@qq.com>
2021-12-18 17:19:21 +08:00
jingxueli
0aec855964
set default for clusterCacheSync timeout and make it configurable
...
Signed-off-by: jingxueli <jingxueli@trip.com>
2021-12-16 21:28:04 +08:00
karmada-bot
3a743aaaa9
Merge pull request #1060 from mrlihanbo/FullyApplied
...
update FullyApplied condition after aggregating works status
2021-12-10 17:43:18 +08:00
lihanbo
c07b6ce2dd
update FullyApplied condition
...
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-12-10 17:16:05 +08:00
karmada-bot
09c04490bc
Merge pull request #988 from mrlihanbo/schedule-condition
...
update Scheduled conditon when failed scheduling
2021-12-07 09:18:14 +08:00
Garrybest
7445bd90da
fix slow enqueue of async worker
...
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-12-04 19:44:33 +08:00
lihanbo
435f32cc4d
update Scheduled conditon when failed scheduling
...
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-12-02 17:53:53 +08:00
huangminjie
80467aea48
feature: change namespace filter rule
...
some namespaces(like karmada-test, karmada-dev, etc.) will be propagated
Signed-off-by: huangminjie <minjie.huang@daocloud.io>
2021-12-01 16:19:11 +08:00
karmada-bot
7e35f9cc26
Merge pull request #1031 from pigletfly/fix-retry-on-update-status
...
Add retry on update status
2021-11-26 17:02:05 +08:00
karmada-bot
ce7d278977
Merge pull request #932 from mrlihanbo/cluster_status_condition
...
add conditions for cluster status
2021-11-26 14:37:06 +08:00
lihanbo
2131ec5189
add conditions for cluster status
...
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-11-25 21:23:15 +08:00
pigletfly
39985d5dbe
Add retry on update status
...
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
2021-11-25 19:55:03 +08:00
changzhen
033de2de9f
delete the TODO logic with binding labels
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-11-22 17:41:55 +08:00
guoyao
ae34e4d1b8
unify IsNodeReady function
...
Signed-off-by: guoyao <1015105054@qq.com>
2021-11-15 11:35:03 +08:00
Garrybest
47a6823afa
support job scheduling
...
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-11-09 14:29:34 +08:00
karmada-bot
9d31827a4b
Merge pull request #925 from pigletfly/refactor-object-watcher
...
refactor object watcher interface
2021-11-08 11:39:42 +08:00
pigletfly
dac00692e7
refactor object watcher interface
...
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
2021-11-05 23:26:51 +08:00
karmada-bot
51c911a60b
Merge pull request #894 from mrlihanbo/cluster_status_bugfix
...
add Timeout in WaitForCacheSync
2021-11-05 15:48:04 +08:00
lihanbo
ac3878ec03
add Timeout in WaitForCacheSync
...
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-11-05 13:50:30 +08:00
karmada-bot
9f2835d3f2
Merge pull request #895 from mrlihanbo/queue_bugfix
...
prevent empty key from queue
2021-11-05 12:00:32 +08:00
lihanbo
cc0f6ed08b
return nil when the obj not managed by Karmada in work status controller
...
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-11-05 11:33:58 +08:00
zhongjun.li
a31708ae46
propagationpolicy clean up
...
Signed-off-by: zhongjun.li <zhongjun.li@daocloud.io>
2021-11-02 18:02:32 +08:00
wawa0210
a87b3ca1e8
remove hpa works object as much as possible
...
Signed-off-by: wawa0210 <xiaozhang0210@hotmail.com>
2021-10-28 08:33:27 +08:00
karmada-bot
76ee54f2a3
Merge pull request #867 from iawia002/fix-lint
...
Update .golangci.yml file to include comments check rule
2021-10-27 09:31:36 +08:00
iawia002
10f17e1eec
Update .golangci.yml file to include comments check rule
...
Signed-off-by: iawia002 <z2d@jifangcheng.com>
2021-10-26 11:41:28 +08:00
wawa0210
597abca96e
Delete EndpointSlice should consider the situation that it no longer exists
...
Signed-off-by: wawa0210 <xiaozhang0210@hotmail.com>
2021-10-25 21:18:42 +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
4ac02a613f
Merge pull request #808 from RainbowMango/pr_nominate_owners
...
nominate approvers and reviewers
2021-10-22 10:46:09 +08:00
karmada-bot
765f0b4b04
Merge pull request #845 from mrlihanbo/bugfix-cluster-status
...
collect status even if cluster's deletionTimestamp is not zero
2021-10-22 09:19:09 +08:00
lihanbo
abdfc61310
collect status even if cluster's deletionTimestamp is not zero
...
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-10-21 09:54:11 +08:00
lonelyCZ
f3eae223cc
Add FullyApplied to binding
...
Signed-off-by: lonelyCZ <531187475@qq.com>
2021-10-20 16:23:07 +08: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
RainbowMango
fb81c73c67
nominate approvers and reviewers
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2021-10-19 14:31:38 +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
karmada-bot
d2af1e1991
Merge pull request #823 from dddddai/sched-condition
...
Propose a Scheduled condition for RB/CRB
2021-10-18 15:15:01 +08:00
karmada-bot
15d0af0a03
Merge pull request #800 from wawa0210/execution-events
...
Reorganize events code and add execution event
2021-10-18 14:13:02 +08:00
wawa0210
b247085261
Add execution event
...
Signed-off-by: wawa0210 <xiaozhang0210@hotmail.com>
2021-10-18 13:48:17 +08:00
dddddai
eaea5c608b
add scheduled condition for binding
...
Signed-off-by: dddddai <dddwq@foxmail.com>
2021-10-18 11:43:40 +08:00
Garrybest
08fa785670
run async worker with no intervals
...
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-10-18 10:58:49 +08:00
karmada-bot
cceed5c9f8
Merge pull request #791 from dddddai/from-cache
...
Fetch control plane workload from cache instead of api server
2021-10-15 17:55:57 +08:00
karmada-bot
c97fa4b96e
Merge pull request #807 from wawa0210/fix-ensureremoveexecutionspace
...
refactor ensureRemoveExecutionSpace method
2021-10-15 17:46:05 +08:00
dddddai
65071d1e64
fetch control plane workload from cache instead of api server
...
Signed-off-by: dddddai <dddwq@foxmail.com>
2021-10-15 17:33:25 +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
karmada-bot
a9250c5977
Merge pull request #817 from dddddai/test
...
Aggregate status no matter if ensured work or not
2021-10-15 09:37:57 +08:00
dddddai
981201ce61
aggregate status no matter if ensured work or not
...
Signed-off-by: dddddai <dddwq@foxmail.com>
2021-10-14 15:44:11 +08:00
wawa0210
a930a54c62
The tryCreateWorkload method does not directly output error information, directly returns error, which is handled by the external caller to avoid repeated output
...
Signed-off-by: wawa0210 <xiaozhang0210@hotmail.com>
2021-10-10 23:43:29 +08:00
changzhen
cac82db303
move binding's namespace/name from work's label to annotation
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-10-09 16:28:00 +08:00
RainbowMango
1a60ade046
Deprecate ReplicaSchedulingPolicy API(must promote controller-gen cmd)
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2021-09-30 16:29:28 +08:00
karmada-bot
3f275c53e6
Merge pull request #770 from dddddai/owner-ref
...
Remove invalid ownerReference in HPA controller
2021-09-30 15:37:37 +08:00
changzhen
acee9c6a09
modify event reason
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-09-30 12:09:42 +08:00
changzhen
e25e2038a4
retain original code style
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-09-30 11:15:30 +08:00
pigletfly
8600106853
Add binding event
...
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
2021-09-30 10:54:27 +08:00
karmada-bot
7d77644d43
Merge pull request #775 from Garrybest/pr_cleanup
...
clean up unstructured conversion
2021-09-29 12:05:35 +08:00
Garrybest
e9a7a2a022
clean up unstructured conversion
...
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-09-29 11:33:19 +08:00
dddddai
ede9fad83c
add finalizer in resource binding and cluster resource binding
...
Signed-off-by: dddddai <dddwq@foxmail.com>
2021-09-29 11:21:51 +08:00
RainbowMango
56fbbe1054
adopt binding v1alpha2
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2021-09-28 17:03:46 +08:00
dddddai
c9de7fbb07
remove invalid ownerReference in HPA Controller
...
Signed-off-by: dddddai <dddwq@foxmail.com>
2021-09-28 11:02:36 +08:00
changzhen
e118c7909e
fix an error when karmada-controller-manager restart
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-09-26 20:39:51 +08:00
karmada-bot
fed43983af
Merge pull request #758 from iawia002/cleanup
...
Move GenerateKey function out of the worker file
2021-09-26 11:48:30 +08:00
karmada-bot
c7b64700d2
Merge pull request #755 from phantooom/rui.zou/fix-matchcluster
...
fix: when matchClusters is empty controller will crash
2021-09-26 09:42:31 +08:00
iawia002
61a946aff7
Move GenerateKey function out of the worker file
...
Signed-off-by: iawia002 <z2d@jifangcheng.com>
2021-09-24 10:53:38 +08:00
karmada-bot
d625a87783
Merge pull request #746 from dddddai/get-member-workload-from-cache
...
Get member workload from cache instead of api server
2021-09-23 21:18:28 +08:00
phantooom
b9929128b3
fix: when matchClusters is empty controller will crash
...
Signed-off-by: phantooom <xiaorui.zou@gmail.com>
2021-09-23 13:25:08 +08:00
karmada-bot
d67637c7f9
Merge pull request #723 from Garrybest/pr_pod
...
add resource pod in cluster.status.resourceSummary
2021-09-22 11:35:25 +08:00
dddddai
30a8b34ac7
get member workload from cache
...
Signed-off-by: dddddai <dddwq@foxmail.com>
2021-09-20 21:49:49 +08:00
esto
a6165e47f9
update import-aliases
...
Signed-off-by: esto <1291156784@qq.com>
2021-09-15 15:13:14 +08:00
Garrybest
1ed38bffe9
add resource pod in cluster.status.resourceSummary
...
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-09-14 11:32:14 +08:00
lihanbo
3da0a0c117
fix bug of aggregating status to resourcebinding
...
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-09-07 21:00:07 +08:00
karmada-bot
3c3127ab2b
Merge pull request #682 from CKchen0726/fix_comment_mistake
...
fix comment mistake in pkg/controllers/cluster/cluster_controller.go
2021-09-01 10:53:56 +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
phantooom
bf90394a0f
fix: when ReplicaSchedulingPolicy all the staticWeightRule weight is 0, calculateReplicas func divide by 0
...
Signed-off-by: phantooom <xiaorui.zou@gmail.com>
2021-08-31 22:34:56 +08:00
karmada-bot
2b615642ca
Merge pull request #579 from pigletfly/fix-rb-status
...
Retry conflict errors when aggregating binding status
2021-08-30 17:50:52 +08:00
pigletfly
a2f78ab794
Fix update rb status
...
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
2021-08-30 17:14:17 +08:00
karmada-bot
546324f381
Merge pull request #649 from XiShanYongYe-Chang/move-ensureWork
...
move helper.EnsureWork() to pkg/controllers/binding package
2021-08-28 14:51:48 +08:00
karmada-bot
c42ca39041
Merge pull request #639 from RainbowMango/pr_nominate_reviewers
...
nominate owners
2021-08-26 09:11:44 +08:00