Commit Graph

46 Commits

Author SHA1 Message Date
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
chaosi-zju 03023103d6 Remove deprecated --bind-address and --secure-port from karmada-scheduler
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-09-20 18:10:37 +08:00
Joe Nathan Abellard b6fbcb4353 Add the ability to specify namespace to be used for discovering scheduler estimator services
Signed-off-by: Joe Nathan Abellard <contact@jabellard.com>

Address comments

Signed-off-by: Joe Nathan Abellard <contact@jabellard.com>

Address comments

Signed-off-by: Joe Nathan Abellard <contact@jabellard.com>
2024-09-09 07:21:57 -04:00
Anuj Agrawal b64a76cfb7 Added tests for cmd/scheduler
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>

Added tests for cmd/scheduler

Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-09-02 09:51:26 +05:30
Lan Liang 0fceab521a Standardize the health probe and metrics arguments of scheduler.
Signed-off-by: Lan Liang <gcslyp@gmail.com>
2024-08-27 12:37:21 +00: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
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
huangyanfeng 5f1c05d45e scheduler add LeaderElection config
Signed-off-by: huangyanfeng <huangyanfeng1992@gmail.com>
2023-10-20 15:28:51 +08:00
huangyanfeng fec30e0380 schedulerOptions add support for RateLimiterOptions
Signed-off-by: huangyanfeng <huangyanfeng1992@gmail.com>
2023-10-10 12:07:15 +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
Poor12 b9e32de35d add schedulerName validation
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-02-01 14:47:42 +08:00
Poor12 bec9ca1f6a Support multiple schedulers
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-02-01 12:00:40 +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
Garrybest a0b7ba5d1d leverage scheduler cache to estimate replicas
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-10-30 22:45:16 +08:00
carlory 23b52270da karmada scheduler & descheduler introduce scheduler-estimator-service-prefix flag
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-10-12 13:53:25 +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
chaunceyjiang fc600ae003 custom scheduler plugin
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2022-07-20 11:16:02 +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
prodan 2f35a48c5e add: disable-scheduler-estimator-in-pull-mode flag
Signed-off-by: prodan <pengshihaoren@gmail.com>
2022-06-30 12:10:37 +08:00
kerthcet 84cc6f8500 Feat: add outOfTree plugin entry when initializing scheduler
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-06-01 20:32:54 +08:00
chang.qiangqiang 962089cb01 feat: add command option for enable-empty-workload-propagation
Signed-off-by: charlesQQ <charles_ali@qq.com>

Author:   charlesQQ <charles_ali@qq.com>
2022-05-26 00:52:15 +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
Kante b5af525b19
introduce schedulerOptions to optimize scheduler instantiation (#1627)
* feat: introduce schedulerOptions to scheduler

Signed-off-by: kerthcet <kerthcet@gmail.com>

* add tests for NewScheduler

Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-04-26 09:26:13 +08:00
kerthcet 7f3b3dc072 feat: introduce registry to store plugins in framework initialization
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-04-15 15:09:40 +08:00
zhangyukun 0ebdb21f8b Implement flags grouping for karmada-scheduler
Signed-off-by: zhangyukun <38148677+jameszhangyukun@users.noreply.github.com>
2022-03-17 11:19:37 +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
changzhen eeee662a05 modify the kubeconfig description of the executable file
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-02-10 16:05:52 +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
wawa0210 84cd4103c4
The command exits abnormally without outputting stack information
Signed-off-by: wawa0210 <xiaozhang0210@hotmail.com>
2021-11-07 09:10:30 +08:00
iawia002 98ee6ce938 Introduce feature gates for the scheduler component
Signed-off-by: iawia002 <z2d@jifangcheng.com>
Signed-off-by: Xinzhao Xu <z2d@jifangcheng.com>
2021-11-05 21:03:02 +08:00
junqian 226b48bd52 add metrics for scheduler
Signed-off-by: junqian <junqian@tencent.com>
2021-09-29 10:34:08 +08:00
Garrybest a5774944b5 add scheduler estimator client
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-09-18 11:32: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
changzhen 97f89f6159 Options.LeaderElection.ResourceNamespace should be changed to configurable
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-09-06 14:48:30 +08:00
Garrybest 89e80a673e add qps and burst option
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-08-19 16:54:23 +08:00
Garrybest 4ac44669f3 add leader election to agent
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-08-09 11:50:44 +08:00
Garrybest 87937a0830 clean up leader election
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-08-02 21:31:05 +08:00
Hanbo Li 59a02e0030
add karmada agent (#226)
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-03-24 14:51:13 +08:00
Hongcai Ren 6d7f661908
Add failover flag (#216)
Signed-off-by: RainbowMango <renhongcai@huawei.com>
2021-03-12 21:54:50 +08:00
Zhen Chang 8e47b33b01
enable karmada-scheduler health check endpoint /healthz (#163)
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-02-05 10:26:18 +08:00
Zhonghu Xu c59afde0e6
Added scheduler framework and basic functionality(#108)
Signed-off-by: xuzhonghu <xuzhonghu@huawei.com>
2021-01-07 20:39:38 +08:00