Commit Graph

14 Commits

Author SHA1 Message Date
yingjinhui 8e0ceb72ec [ut]] add ut for resource.go
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-10-31 22:13:32 +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
AllenZMC 915afb5947 Optimize code to reduce redundancy
Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>
2022-08-02 09:01:24 +08:00
changzhen d711b72f45 tidy up lifted file
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-03-15 10:42:32 +08:00
Garrybest 728ef531e0 fix bugs of resource computing
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-02-22 16:30:24 +08:00
Garrybest ae3eaaee5b fix bug of resource computing
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-01-08 12:03:49 +08:00
Garrybest 9b3b5789f0 fix division bugs when pod request zero scalar resource
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-12-23 16:07:05 +08:00
Garrybest d45dcbf7ab optimize ResourceList
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-11-25 20:37:10 +08:00
Xinzhao Xu 0859129968 Lift some utils code from the k/k repo to avoid relying on it
Signed-off-by: Xinzhao Xu <z2d@jifangcheng.com>
2021-11-19 16:36:41 +08:00
Garrybest 5411290137 add karmada-scheduler-estimator
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-09-10 16:14:19 +08:00
Garrybest e3f0b9b611 clean up AddPodRequest
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-08-22 11:25:37 +08:00
Garrybest 24ca29017e add ScalarResources into cluster
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-06-23 15:27:34 +08:00
Garrybest 207eb1677f add pending pods resource calculation
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-06-16 21:13:46 +08:00
Garrybest 7bc0d00e61 clean up cluster resource calculation
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-06-15 20:15:04 +08:00