Commit Graph

31 Commits

Author SHA1 Message Date
whitewindmills b4ad838227 Fix spelling errors
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-08-29 15:58:05 +08:00
wei-chenglai c266e4b234 Standardize the health probe & metrics arguments of scheduler-estimator
Signed-off-by: wei-chenglai <qazwsx0939059006@gmail.com>
2024-08-27 11:49:42 +08:00
zhzhuang-zju acdd2115c6 Adding TLS Certificate Authentication to gRPC
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-06-21 15:56:20 +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
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
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
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
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
王凯 3b9b609072 modify description for flag usage #3038
Signed-off-by: 王凯 <wangkai05@bilibili.com>
2023-01-10 20:02:39 +08:00
Garrybest 8312a60759 cleanup pkg import in main function
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-12-30 15:40:26 +08:00
Garrybest c747cbcce7 clean up metrics for scheduler, descheduler and estimator
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-12-12 17:35:49 +08:00
karmada-bot 5c46c7caef
Merge pull request #2572 from Poor12/add-command-description
Add component descriptions
2022-10-11 18:24:24 +08:00
Poor12 57a9e41c7a add command descriptions
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-10-11 17:11:05 +08:00
RainbowMango 50d01d3ac9 set ReadHeaderTimeout for http server
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-09-30 15:33:25 +08:00
Poor12 3b5fc38a41 add pprof for all Karmada components
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-07-06 16:39:28 +08:00
Poor12 1613839201 Use custom mux instead of DefaultServeMux
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-07-04 14:52:28 +08:00
wuyingjun 13f6116104 Use k8s.io/component-base/cli to run cmd
Signed-off-by: wuyingjun <wuyingjun_yewu@cmss.chinamobile.com>
2022-06-23 10:14:36 +08:00
wuyingjun 87073c3d78 discard unused param in cmd functions
Signed-off-by: wuyingjun <wuyingjun_yewu@cmss.chinamobile.com>
2022-05-20 11:25:29 +08:00
Garrybest 5e9d5d79bb add parallelism in estimator
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-03-30 20:30:41 +08:00
AllenZMC 34b34bcbc8 Implement flags grouping for karmada-scheduler-estimator and modify the kubeconfig description
Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>

Implement flags grouping for karmada-aggregated-apiserver and modify the kubeconfig description

Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>
2022-03-16 15:29:52 +08:00
Garrybest 90900309ca implement GetUnschedulableReplicas for estimator
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-02-23 14:19:51 +08:00
kerthcet 5a390f58d9 bug: estimator's os.Exit will not wait for the defer function
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-01-28 10:18:54 +08:00
RainbowMango 737062dedd Add Garrybest on the owner list of karmada-scheduler-estimator
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2021-12-20 20:26:15 +08:00
Garrybest e2e9a503b7 add metrics for scheduler estimator
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-12-02 10:16:28 +08:00
Garrybest bc67417303 clean up metrics package init
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-11-25 10:33:33 +08:00
guoyao d563b179cd using net.JoinHostPort to generate a network address
Signed-off-by: guoyao <1015105054@qq.com>
2021-11-20 15:44:09 +08:00
Garrybest 19920acfb3 fix issue of scheduler-estimator exit
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-11-19 09:59:01 +08:00
jameszhangyukun 20483de82f add validation test for a scheduler-estimator and refactor the validation of scheduler-estimator
Signed-off-by: jameszhangyukun <1481815567@qq.com>

add validation test for a scheduler-estimator and refactor the validation of scheduler-estimator
2021-11-15 19:16:09 +08:00
Garrybest 5d4afd2a42 add work queue metrics for agent and controller-manager
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-10-19 12:16:32 +08:00
lonelyCZ ae9f7bd2a6 add version command to components
Signed-off-by: lonelyCZ <531187475@qq.com>
2021-09-13 17:23:03 +08:00
Garrybest 5411290137 add karmada-scheduler-estimator
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-09-10 16:14:19 +08:00