Commit Graph

417 Commits

Author SHA1 Message Date
chaosi-zju 2bfaccf018 add pprof option to metrics-adapter
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-04-01 15:46:40 +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
karmada-bot 7b3a6a3452
Merge pull request #4646 from wm775825/master
Add service-name-resolution-detector
2024-02-28 21:01:14 +08:00
wm775825 d88ac92f73 add service-name-resolution-detector
Signed-off-by: wm775825 <1174929164@qq.com>
2024-02-28 20:08:20 +08:00
changzhen 081610e33e add remedy controller
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-02-27 22:24:34 +08:00
Yao Weng c3458310d4
[MVP] add resourcequota plugin in scheduler-estimator: create framework for scheulder-estimator (#4534)
* [MVP] add resourcequota plugin in scheudler-estimator

Signed-off-by: yweng14 <yweng14@bloomberg.net>

* framework only

Signed-off-by: yweng14 <yweng14@bloomberg.net>

* fix lint error

Signed-off-by: yweng14 <yweng14@bloomberg.net>

* address comments

Signed-off-by: yweng14 <yweng14@bloomberg.net>

* add KubeClient in the Handle

Signed-off-by: yweng14 <yweng14@bloomberg.net>

* - add snapshot as input argument of RunEstimateReplicasPlugins
- add Result to give clearer message

Signed-off-by: yweng14 <yweng14@bloomberg.net>

* fix unitest name due

Signed-off-by: yweng14 <yweng14@bloomberg.net>

---------

Signed-off-by: yweng14 <yweng14@bloomberg.net>
2024-01-19 22:14:41 +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
karmada-bot abe1c3a759
Merge pull request #4328 from RainbowMango/pr_bump_k8s1278
Bump Kubernetes dependencies to v1.27.8
2023-11-29 22:00:58 +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
RainbowMango 39352d5740 Bump Kubernetes dependencies to v1.27.8
Adopt Kuberentes changes on #114998

Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-11-28 10:23:43 +08:00
karmada-bot 176d778762
Merge pull request #4254 from chaunceyjiang/cluster_proxy
feat: Cross-cluster unified query
2023-11-22 20:21:52 +08:00
chaunceyjiang 6ea7910d3a feat: Cross-cluster unified query
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
Co-authored-by: changzhen <changzhen5@huawei.com>
2023-11-22 19:19:20 +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
karmada-bot f2c7d0b806
Merge pull request #4063 from chaosi-zju/operator
remove insecureSkipTLSVerify in operator
2023-10-28 10:42:31 +08:00
huangyanfeng 5f1c05d45e scheduler add LeaderElection config
Signed-off-by: huangyanfeng <huangyanfeng1992@gmail.com>
2023-10-20 15:28:51 +08:00
karmada-bot 557348fea0
Merge pull request #4074 from Vacant2333/add-resource-deletion-protection-by-label
[Feat] Resource Deletion Protection
2023-10-18 11:35:23 +08:00
Vacant2333 1df2420f70 [feat] namespace deletion protection
Signed-off-by: Vacant2333 <vacant2333@gmail.com>
2023-10-17 14:54:54 +08:00
huangyanfeng fec30e0380 schedulerOptions add support for RateLimiterOptions
Signed-off-by: huangyanfeng <huangyanfeng1992@gmail.com>
2023-10-10 12:07:15 +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
karmada-bot 68f4ac75cf
Merge pull request #4072 from ctripcloud/add-replicas-syncer
add replicas syncer for resources with HPA
2023-09-21 09:53:59 +08:00
chaosi-zju b27da00291 remove insecureSkipTLSVerify in operator
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2023-09-20 19:47:20 +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
zhang.ming 35161ef99d make pull cluster to be able to register with zones
Signed-off-by: zhang.ming <zhang.ming@cestc.cn>
2023-09-16 09:30:00 +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
whitewindmills d0ef3343ae deprecate cluster-zone flag and introduce cluster-zones flag
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2023-08-25 11:02:29 +08:00
karmada-bot 90ccbcdfce
Merge pull request #3808 from ctripcloud/refactor-execution-workstatus
only update object in member cluster by execution controller
2023-08-21 10:06:00 +08:00
karmada-bot 24bb582950
Merge pull request #3947 from yanfeng1992/proxy-connect-use-secretLister
Proxy connect get cluster impersonator secret use secretLister
2023-08-18 19:33:57 +08:00
huangyanfeng c30e6e6d09 Proxy connect get cluster impersonator secret use secretLister
Signed-off-by: huangyanfeng <huangyanfeng1992@gmail.com>
2023-08-18 09:50:45 +08:00
Tanggui Bian 6401c3e28a add http limit for the Slowloris attack
Signed-off-by: Tanggui Bian <softwarebtg@163.com>
2023-08-17 10:44:54 +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
yike21 9079268ebb add validation for mcs
Signed-off-by: yike21 <yike21@qq.com>
2023-07-12 09:21:48 +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
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 0febf48bc3
Merge pull request #3638 from chaunceyjiang/custom-metrics
feat: support custom metrics for metrics adapter
2023-06-19 21:10:46 +08:00
chaunceyjiang 70e5260315 feat: support custom metrics for metrics adapte
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-06-19 16:51:47 +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