Anuj Agrawal
c25263c19b
Added unit tests for the replica package in the estimator server
...
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
Added unit tests for the replica package in the estimator server
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-12-02 14:42:50 +05:30
Anuj Agrawal
1cd78d6258
Added unit tests for general estimator package
...
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-11-15 21:54:20 +05:30
RainbowMango
c2de90bb5e
Bump Kubernetes dependencies to v1.31.2
...
Bump controller-runtime to v0.19.1
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-11-12 17:52:36 +08:00
karmada-bot
4d0181c2b9
Merge pull request #5706 from RainbowMango/pr_fix_incorrect_grade_choice
...
Fixes incorrect resource model selection
2024-10-23 14:52:32 +08:00
LivingCcj
3a4464aa00
add ResourceSummary deep copy in general-estimator
...
Signed-off-by: LivingCcj <livingccj@163.com>
2024-10-21 19:33:37 +08:00
RainbowMango
a6679ddec0
Fixes an issue where resource model grades were incorrectly matched based on resource requests. Now only grades that can provide sufficient resources will be selected.
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-10-19 18:07:22 +08:00
zhzhuang-zju
4dfb1efe0c
karmada-scheduler-estimator add the support for custom DNS suffix
...
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-09-11 14:14:07 +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
Yash Pandey
ec419583bb
Added unit tests for service in pkg/estimator/client
...
Signed-off-by: Yash Pandey <yash.pandey@agoda.com>
2024-08-27 12:02:02 +05:30
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
mszacillo
23c9dc9a1e
Account for unschedulable plugin result during maxreplica estimation
...
Signed-off-by: mszacillo <mszacillo@bloomberg.net>
2024-06-05 09:43:48 -04: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
yweng14
e0b3e834ef
[MVP] add resourcequota plugin in scheduler-estimator: add resourcequota plugin
...
Signed-off-by: yweng14 <yweng14@bloomberg.net>
2024-01-27 15:27:47 +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
whitewindmills
e6be7a28ed
fix estimator license
...
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2023-12-05 19:02:26 +08:00
whitewindmills
2b05d1e94f
add license for auto-generated files
...
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2023-12-05 14:20:26 +08:00
chaosi-zju
e9e8653c88
resourceModels supports extended resources
...
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2023-11-23 19:08:32 +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
whitewindmills
89295f9606
Fix inspection errors
...
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2023-05-17 17:06:27 +08:00
RainbowMango
a1e8f164cb
adopt static check issues
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-01-31 09:22:41 +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
8e940e1006
fix bugs of nodeMaxAvailableReplica
...
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-11-01 21:47:29 +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
Garrybest
f52043b447
add lifted files
...
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
raymondmiaochaoyue
f4fc3d1480
1. Support deploy karmada-scheduler-estimator in physical machine.
...
2. remove unnecessary sudo
Signed-off-by: raymondmiaochaoyue <raymondmiaochaoyue@didiglobal.com>
2022-09-26 16:25:16 +08:00
dddddai
01f37c160c
adopt transform func to save memory
...
Signed-off-by: dddddai <dddwq@foxmail.com>
2022-09-16 10:43:05 +08:00
Poor12
6493a49874
schedule based on cluster resource model
...
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-08-26 17:31:46 +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
weilaaa
4ed701069d
optimize unstructured convert methods
...
Signed-off-by: weilaaa <weilanidaye@gmail.com>
2022-08-04 11:38:25 +08:00
wlp1153468871
65086f4e97
fix inaccurate code comment in pkg/estimator/client/general.go
...
Signed-off-by: wlp1153468871 <luping.wei@daocloud.io>
2022-07-19 20:39:40 +08:00
carlory
aca3965545
use the existing utilerrors.AggregateGoroutines func to collect each cluster's replicas concurrently
...
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-07-19 10:23:01 +08:00
RainbowMango
f432977bbd
Update auto-generated files
...
Signed-off-by: RainbowMango <renhongcai@huawei.com>
2022-06-25 14:44:02 +08:00
Garrybest
5e9d5d79bb
add parallelism in estimator
...
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-03-30 20:30:41 +08:00
Garrybest
b86461e82f
add benchmark in estimator
...
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-03-30 20:30:31 +08:00
Garrybest
6ca7c2a235
fix hack/update-estimator-protobuf.sh failed with Golang v1.18
...
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-03-24 15:14:40 +08:00
changzhen
d711b72f45
tidy up lifted file
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-03-15 10:42:32 +08:00
Garrybest
85d8a6ccf4
add karmada-descheduler
...
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-02-24 11:43:28 +08:00
Garrybest
fcbbe3f0a2
revise comment of proto
...
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-02-23 16:17:41 +08:00
Garrybest
90900309ca
implement GetUnschedulableReplicas for estimator
...
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-02-23 14:19:51 +08:00
Garrybest
e322f60917
add mock client
...
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-01-22 22:00:04 +08:00
Garrybest
89ddfb4587
move estimator service protos
...
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-01-22 22:00:03 +08:00
Garrybest
0d5b2427f3
adapt estimator for new interface
...
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-01-21 10:22:14 +08:00
Garrybest
8aa095000b
generate proto files for descheduler
...
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-01-21 10:22:01 +08:00
Garrybest
9347e4ae0f
add proto files for descheduler
...
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-01-21 10:21:23 +08:00
carlory
572bf7ec4c
simplify waitForCacheSync func
...
Signed-off-by: carlory <baofa.fan@daocloud.io>
2021-12-25 17:15:42 +08:00
karmada-bot
7d10d979e0
Merge pull request #1030 from Garrybest/pr_metrics
...
add metrics for scheduler estimator
2021-12-02 11:14:08 +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
efe46b3e50
adapt optimizing ResourceList to avoid nil pointer
...
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-11-25 20:37:12 +08:00
guoyao
ae34e4d1b8
unify IsNodeReady function
...
Signed-off-by: guoyao <1015105054@qq.com>
2021-11-15 11:35:03 +08:00