Commit Graph

222 Commits

Author SHA1 Message Date
chaosi-zju eb9f2950a7 remove workaround code for resolving workqueue metrics loss by modifying import order
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-12-31 15:49:21 +08:00
Mohamed Awnallah 6144ea5a9b cmd+hack+operator+pkg: unify addons constants
In this commit we unify the usage of addon names i.e
`karmada-descheduler`, `karmada-scheduler-estimator`, `karmada-search`,
and `karmada-metrics-adapter` across the codebase.

Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
Co-authored-by: Hongcai Ren <renhongcai@huawei.com>
2024-12-05 18:45:44 +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
zhzhuang-zju 3c91c7df8f replace csrapproving by agentcsrapproving
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-11-25 17:01:03 +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
karmada-bot 6795dba9d1
Merge pull request #5809 from CharlesQQ/introduce-flag-dependencies-distributor
feat(dependenciesdistributor):  introduce --concurrent-dependent-resource-syncs flag
2024-11-19 21:02:56 +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
chang.qiangqiang 066eec0b7d feat(dependenciesdistributor): introduced flag for dependencies-distributor
Signed-off-by: chang.qiangqiang <chang.qiangqiang@immomo.com>
2024-11-12 16:31:21 +08:00
whitewindmills 73c441f7a6 Remove BindAddress & SecurePort of karmada-controller-manager
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-09-14 10:54:15 +08:00
wei-chenglai f6d022f799 Standardize the health probe argument of karmada-controller-manager
Signed-off-by: wei-chenglai <qazwsx0939059006@gmail.com>
2024-08-27 16:29:01 +08:00
zhzhuang-zju 309c67701b bump golangci to v1.58.0
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-05-13 09:32:13 +08:00
zhzhuang-zju 3989c4a82a silence the 'log.SetLogger(...) was never called; logs will not be displayed' error
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-04-29 20:12:24 +08:00
wangxiaofei67 3232c52d57 add: Use opts.ResyncPeriod as controlPlaneInformerManager and sharedFactory
Signed-off-by: wangxiaofei67 <wangxiaofei67@jd.com>
2024-04-25 21:15:05 +08:00
chaosi-zju c600991f36 Introduce a new API named WorkloadRebalancer to support rescheduling.
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-04-23 10:34:11 +08:00
chaunceyjiang 6f29134f1e Add QPS related parameters to control the request rate of metrics-adapter to member clusters.
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2024-04-16 10:49:06 +08:00
chaosi-zju 8f5cc4995c sync deployment replicas when it is controlled by hpa
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-03-14 20:39:22 +08:00
changzhen 081610e33e add remedy controller
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-02-27 22:24:34 +08:00
jwcesign 38b2cae7e1 cleanup: enable revive(exported rule) checking
Signed-off-by: jwcesign <jwcesign@gmail.com>
2024-01-09 09:41:47 +08:00
RainbowMango 5a3fa76b27 Adopt breaking change made by controller-runtime#2407, moving metrics
options.
Adopt breaking change made by controller-runtime#2421, cache filtering
Fix deprecation in customresourceinterpreter webhook example

Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-12-29 12:39:24 +08:00
huangyanfeng 22e4f4bb8c cleanup controllerruntime deprecated option SyncPeriod Namespace
Signed-off-by: huangyanfeng <huangyanfeng1992@gmail.com>
2023-12-21 10:25:08 +08:00
changzhen 2a9af895fc fix wrong featuregate writing with MultiClusterService
Signed-off-by: changzhen <changzhen5@huawei.com>
2023-12-01 01:17:05 +08:00
changzhen 2dba706a76 add MultiClusterService featuregate
Signed-off-by: changzhen <changzhen5@huawei.com>
2023-12-01 00:18:35 +08:00
jwcesign 5932615cba feat: support mcs with native svc name
Signed-off-by: jwcesign <jwcesign@gmail.com>
2023-11-30 15:55:15 +08:00
z00623291 33ae852fa0 List&watch mcs and service, reconcile the work in execution namespace
Signed-off-by: z00623291 <zhouhongcen1@huawei.com>
2023-11-29 17:50:26 +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
chaosi-zju a4828cc410 retain for hpa controlled Deployment resource
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2023-09-21 19:44:01 +08:00
lxtywypc 5ae8178ec3 add replicas syncer for resources with HPA
Signed-off-by: lxtywypc <lxtywypc@gmail.com>
2023-09-20 17:29:34 +08:00
whitewindmills c8423cb237 fix spelling errors
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2023-09-04 10:22:39 +08:00
lxtywypc 67de65d892 Revert "Merge pull request #3808 from ctripcloud/refactor-execution-workstatus"
This reverts commit 90ccbcdfce, reversing
changes made to 24bb582950.

Signed-off-by: lxtywypc <lxtywypc@gmail.com>
2023-08-31 14:23:58 +08:00
lxtywypc 89e3673fbb only update object in member cluster by execution controller
Signed-off-by: lxtywypc <lxtywypc@gmail.com>
2023-08-16 16:36:22 +08:00
karmada-bot 9a862db2be
Merge pull request #3852 from jwcesign/delete-hpa-controller
cleanup: remove old version hpa controller
2023-08-03 09:43:52 +08:00
karmada-bot a2dc2e8bbb
Merge pull request #3874 from ctripcloud/enable-cache-sync-timeout-on-fed
use ClusterCacheSyncTimeout for resources on fed control plane as well
2023-08-02 11:24:44 +08:00
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
changzhen 46204117e1 cleanup dependencies distributor
Signed-off-by: changzhen <changzhen5@huawei.com>
2023-07-31 16:47:26 +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 20129ca5cd cleanup: delete old version hpa controller
Signed-off-by: jwcesign <jwcesign@gmail.com>
2023-07-27 17:36:21 +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
chaunceyjiang a10f895c1e feat: Support modification synchronization of custom resources as dependency
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-06-26 10:43:51 +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 3a1464828a add hpa controller
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-05-30 17:26:02 +08:00
zach593 8d221b110c enable concurrency for pp and cpp
Signed-off-by: zach593 <zach_li@outlook.com>
2023-05-10 16:10:51 +08:00
Poor12 d06fe2b5b3 add application failover controller
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-05-06 10:36:54 +08:00
karmada-bot b118a73ba1
Merge pull request #3433 from chaunceyjiang/prefix-namespace
feat: allows users to propagate resources under the Kubernetes reserved namespace.
2023-04-21 10:52:07 +08:00
chaunceyjiang 1f42f7f1e5 feat: allows users to propagate resources under the Kubernetes reserved namespace.
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-04-20 19:05:33 +08:00
karmada-bot ed2b101c44
Merge pull request #2999 from ctripcloud/update-resolver
Support Connection to ResourceInterpretWebhook without DNS Service
2023-04-20 16:36:13 +08:00
chaunceyjiang 593264e2c6 Allows setting wildcards for SkippedPropagatingNamespaces
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-04-19 13:16:06 +08:00
lxtywypc 71ffbf429a use ClusterIPServiceResolver instead of DefaultServiceResolver to eliminate dependency of DNS
Signed-off-by: lxtywypc <lxtywypc@gmail.com>
2023-04-17 10:42:43 +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
Poor12 b1f3476b51 clean up unused values
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-02-03 10:00:47 +08:00