Commit Graph

32 Commits

Author SHA1 Message Date
Qing Hao
dcee89133f upgrade kube lib to 1.26 (#100)
Signed-off-by: haoqing0110 <qhao@redhat.com>
2023-03-01 10:44:18 +01:00
Qing Hao
75b8f2ee57 create empty decision when no cluster selected (#95)
* create empty decision when no cluster selected

Signed-off-by: haoqing0110 <qhao@redhat.com>

* create placementdecision when misconfigured

Signed-off-by: haoqing0110 <qhao@redhat.com>

Signed-off-by: haoqing0110 <qhao@redhat.com>
2023-01-02 20:03:53 -05:00
Qing Hao
57d8cdec04 Add integration tests (#93)
Signed-off-by: haoqing0110 <qhao@redhat.com>

Signed-off-by: haoqing0110 <qhao@redhat.com>
2022-12-05 02:02:10 -05:00
Jian Zhu
1483a0d2a4 Add integration tests (#91)
Signed-off-by: zhujian <jiazhu@redhat.com>

Signed-off-by: zhujian <jiazhu@redhat.com>
2022-11-29 01:14:16 -05:00
Jian Qiu
fafcfbfdbe Refactor integration test (#90)
Signed-off-by: Jian Qiu <jqiu@redhat.com>

Signed-off-by: Jian Qiu <jqiu@redhat.com>
2022-11-25 00:45:28 -05:00
Jian Zhu
252e7ee1a3 Update ginkgo to v2 (#88)
Signed-off-by: zhujian <jiazhu@redhat.com>

Signed-off-by: zhujian <jiazhu@redhat.com>
2022-11-17 13:22:17 +00:00
DangPeng Liu
0ce33d7493 upgrade clusterset api to v1beta2 (#82)
Signed-off-by: ldpliu <daliu@redhat.com>

Signed-off-by: ldpliu <daliu@redhat.com>
2022-11-17 08:10:05 +00:00
Qing Hao
4f1e7c3b3a trigger sync when cluster belongs to LabelSelector type clusterset (#81)
Signed-off-by: haoqing0110 <qhao@redhat.com>

Signed-off-by: haoqing0110 <qhao@redhat.com>
2022-09-26 05:44:27 +02:00
Qing Hao
6b2c9ef5a7 add PlacementConditionMisconfigured (#72)
* add PlacementConditionMisconfigured

Signed-off-by: haoqing0110 <qhao@redhat.com>

* add testing cases

Signed-off-by: haoqing0110 <qhao@redhat.com>

Signed-off-by: haoqing0110 <qhao@redhat.com>
2022-09-21 12:10:06 +02:00
DangPeng Liu
22ec6cb998 support labelselector set (#73)
Signed-off-by: ldpliu <daliu@redhat.com>
2022-05-30 06:05:02 -04:00
Qing Hao
18273829d8 upgrade go modules (#69)
Signed-off-by: haoqing0110 <qhao@redhat.com>
2022-04-01 22:06:04 -04:00
Qing Hao
33be032d73 requeue placement when toleration seconds expire (#64)
* update plugin interface

Signed-off-by: haoqing0110 <qhao@redhat.com>

* requeue placement when toleration seconds expire

Signed-off-by: haoqing0110 <qhao@redhat.com>

* return RequeueResult in isClusterTolerated

Signed-off-by: haoqing0110 <qhao@redhat.com>

* get minimal requeue time in for loop

Signed-off-by: haoqing0110 <qhao@redhat.com>
2022-03-14 02:16:13 -04:00
Qing Hao
2152581aea Add filter plugin taint toleration (#63)
* add plugin tainittoleration based on PR #61

Signed-off-by: haoqing0110 <qhao@redhat.com>

* cover PreferNoSelect and NoSelectIfNew case

Signed-off-by: haoqing0110 <qhao@redhat.com>
2022-03-02 11:04:30 -05:00
Qing Hao
9898dbd56b update placement and placementdecision api to v1beta1 (#60)
* update placement and placementdecision api to v1beta1

Signed-off-by: haoqing0110 <qhao@redhat.com>

* remove PrioritizerConfig.Name

Signed-off-by: haoqing0110 <qhao@redhat.com>
2022-01-29 03:22:25 -05:00
Qing Hao
137f8cab3f add resync controller (#55)
* run resync in another goroutine

Signed-off-by: haoqing0110 <qhao@redhat.com>

* add resync controller

Signed-off-by: haoqing0110 <qhao@redhat.com>

* update benchmark testing

Signed-off-by: haoqing0110 <qhao@redhat.com>
2022-01-19 05:12:59 -05:00
Qing Hao
d13d0dbe48 placement extensible scheduling (#51)
* placement extensible scheduling

Signed-off-by: haoqing0110 <qhao@redhat.com>

* resync every 5 minutes

Signed-off-by: haoqing0110 <qhao@redhat.com>

* use ScoreCoordinate as map key, and add score lister

Signed-off-by: haoqing0110 <qhao@redhat.com>

* update go.mod

Signed-off-by: haoqing0110 <qhao@redhat.com>

* requeue placement with ScoreCoordinateTypeAddOn

Signed-off-by: haoqing0110 <qhao@redhat.com>

* update integration test case

Signed-off-by: haoqing0110 <qhao@redhat.com>

* fix review comments and remove resync from this PR

Signed-off-by: haoqing0110 <qhao@redhat.com>

* update api

Signed-off-by: haoqing0110 <qhao@redhat.com>
2022-01-12 02:56:07 +01:00
suigh
0780b9ddac merge functions for performance (#49)
Signed-off-by: suigh <suigh@cn.ibm.com>
2021-12-14 07:33:38 +01:00
suigh
0f74167126 add doc for scalability test (#45)
Signed-off-by: suigh <suigh@cn.ibm.com>
2021-11-01 14:51:08 +01:00
suigh
7db4f6194a add scalability test for placement create/update (#44)
Signed-off-by: suigh <suigh@cn.ibm.com>
2021-11-01 03:04:45 +00:00
suigh
d08b95abe2 add scalability test (#41)
Signed-off-by: suigh <suigh@cn.ibm.com>
2021-10-26 08:00:26 +00:00
Qing Hao
00a0d597a3 update placment when clusterset added (#39)
Signed-off-by: haoqing0110 <qhao@redhat.com>
2021-10-12 15:20:04 +02:00
haoqing0110
d8bfca592f remove prioritizor ResourceRatioCPU and ResourceRatioMemory related code
Signed-off-by: haoqing0110 <qhao@redhat.com>
2021-09-27 07:04:46 +00:00
Yang Le
9307989329 upgrade clusterset
Signed-off-by: Yang Le <yangle@redhat.com>
2021-09-18 11:10:17 +08:00
suigh
7bfe2e7ae4 clean env after e2e test
Signed-off-by: suigh <suigh@cn.ibm.com>
2021-09-17 21:26:45 +08:00
haoqing0110
07e3bfbee6 add resource based scheduling prioritizer
Signed-off-by: haoqing0110 <qhao@redhat.com>
2021-09-10 08:11:14 +00:00
Yang Le
447e956293 add one more e2e test case
Signed-off-by: Yang Le <yangle@redhat.com>
2021-07-27 11:05:48 +08:00
Jian Qiu
81dd4ec841 Update deps and actions
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2021-06-22 14:15:31 +08:00
Yang Le
577ee83394 support multiple placementdecisions
Signed-off-by: Yang Le <yangle@redhat.com>
2021-06-09 09:58:27 +08:00
Yang Le
f5b9c31972 reschedule once cluster/clusterset/clustersetbinding changes
Signed-off-by: Yang Le <yangle@redhat.com>
2021-05-26 14:59:13 +08:00
Yang Le
cf967a313f add e2e test cases
Signed-off-by: Yang Le <yangle@redhat.com>
2021-05-24 18:31:34 +08:00
Yang Le
3d64c80b75 add scheduling controller
Signed-off-by: Yang Le <yangle@redhat.com>
2021-05-18 18:16:31 +08:00
Yang Le
745568e107 add placementdecision creating controller
Signed-off-by: Yang Le <yangle@redhat.com>
2021-05-07 11:02:45 +08:00