Commit Graph

16 Commits

Author SHA1 Message Date
Chunlin Yang
dff2347502 Disable placement scheduling (#80)
* Disable placement scheduling

Signed-off-by: clyang82 <chuyang@redhat.com>

* Update to use annontation defined in api

Signed-off-by: clyang82 <chuyang@redhat.com>

* sync to vendor folder

Signed-off-by: clyang82 <chuyang@redhat.com>

* run go mod tidy

Signed-off-by: clyang82 <chuyang@redhat.com>

* sync-up deploy/hub

Signed-off-by: clyang82 <chuyang@redhat.com>

Signed-off-by: clyang82 <chuyang@redhat.com>
2022-09-10 16:50:11 +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
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
aa32f623d7 support legacy clusterset (#65)
* support legacy clusterset

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

* support legacy clusterset in getAvailableClusters

Signed-off-by: haoqing0110 <qhao@redhat.com>
2022-03-10 08:20:08 -05: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
Yang Le
9307989329 upgrade clusterset
Signed-off-by: Yang Le <yangle@redhat.com>
2021-09-18 11:10:17 +08: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
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
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
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
Yang Le
10ce79464e add empty controller
Signed-off-by: Yang Le <yangle@redhat.com>
2021-04-23 17:21:06 +08:00