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
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
Qing Hao
cd1afb4af1
add more UT for taints/tolerations ( #66 )
...
Signed-off-by: haoqing0110 <qhao@redhat.com >
2022-03-24 04:07:05 +01: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
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
haoqing0110
d8bfca592f
remove prioritizor ResourceRatioCPU and ResourceRatioMemory related code
...
Signed-off-by: haoqing0110 <qhao@redhat.com >
2021-09-27 07:04:46 +00:00
haoqing0110
07e3bfbee6
add resource based scheduling prioritizer
...
Signed-off-by: haoqing0110 <qhao@redhat.com >
2021-09-10 08:11:14 +00:00
haoqing0110
2d1f7c301a
add prioritizer with weight
...
Signed-off-by: haoqing0110 <qhao@redhat.com >
2021-09-08 13:04:59 +00:00
Jian Qiu
4004e354fa
Use plugin to support steady/balance
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2021-07-27 16:50:49 +08:00