Commit Graph

83 Commits

Author SHA1 Message Date
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
Jian Qiu
ab3d8b4441 Avoid building latest image in release branch (#67)
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2022-03-23 12:27:34 +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
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
3b92008154 add changelog for v0.3 (#59)
Signed-off-by: haoqing0110 <qhao@redhat.com>
2022-01-20 03:27:29 -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
61e8e4d8b7 fix CVE-2021-43565 (#58)
Signed-off-by: haoqing0110 <qhao@redhat.com>
2022-01-18 08:58:06 -05:00
Qing Hao
872fafd298 upgrade to golang 1.17 (#57)
Signed-off-by: haoqing0110 <qhao@redhat.com>
2022-01-17 05:09:19 +01: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
37993e413b Remind user to deploy placement controller before running some test cases (#47)
Signed-off-by: suigh <suigh@cn.ibm.com>
2021-11-26 03:50:09 +01:00
suigh
bf225de491 add owner (#48)
Signed-off-by: suigh <suigh@cn.ibm.com>
2021-11-03 08:42:29 +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
4d799ef051 add length check for event (#43)
Signed-off-by: suigh <suigh@cn.ibm.com>
2021-10-26 08:01:26 +00:00
suigh
d08b95abe2 add scalability test (#41)
Signed-off-by: suigh <suigh@cn.ibm.com>
2021-10-26 08:00:26 +00:00
Yang Le
a0e134ebee add changelog for v0.2 (#42)
Signed-off-by: Yang Le <yangle@redhat.com>
2021-10-15 05:29:44 +02: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
OpenShift Merge Robot
c659911626 Merge pull request #38 from haoqing0110/br_prioritizor
remove prioritizor ResourceRatioCPU and ResourceRatioMemory related code
2021-09-27 04:00:12 -04: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
OpenShift Merge Robot
b9eb5872ae Merge pull request #36 from elgnay/update-readme
update readme
2021-09-24 03:38:36 -04:00
Yang Le
e9e39d3728 update readme
Signed-off-by: Yang Le <yangle@redhat.com>
2021-09-24 15:20:00 +08:00
OpenShift Merge Robot
67f5ef663a Merge pull request #35 from elgnay/upgrade-clusterset
upgrade clusterset
2021-09-17 23:19:58 -04:00
Yang Le
9307989329 upgrade clusterset
Signed-off-by: Yang Le <yangle@redhat.com>
2021-09-18 11:10:17 +08:00
OpenShift Merge Robot
4983cfa6c2 Merge pull request #34 from suigh/09141622
clean env after e2e test
2021-09-17 11:06:18 -04:00
suigh
7bfe2e7ae4 clean env after e2e test
Signed-off-by: suigh <suigh@cn.ibm.com>
2021-09-17 21:26:45 +08:00
OpenShift Merge Robot
961e1584af Merge pull request #33 from wangglbj/main_wangglbj
Modify the incorrect format of sentence in the README.md
2021-09-15 02:14:57 -04:00
OpenShift Merge Robot
942115a126 Modify the incorrect format of sentence in the README.md
Signed-off-by: wangglbj <wangglbj@cn.ibm.com>
2021-09-15 17:31:29 +00:00
OpenShift Merge Robot
86c46b9156 Merge pull request #32 from haoqing0110/br_resource-schedule
add resource based scheduling prioritizer
2021-09-10 04:58:47 -04:00
haoqing0110
07e3bfbee6 add resource based scheduling prioritizer
Signed-off-by: haoqing0110 <qhao@redhat.com>
2021-09-10 08:11:14 +00:00
OpenShift Merge Robot
b07c8d354f Merge pull request #31 from haoqing0110/br_placement_prioritizer
add prioritizer with weight
2021-09-08 16:29:22 +02:00
haoqing0110
2d1f7c301a add prioritizer with weight
Signed-off-by: haoqing0110 <qhao@redhat.com>
2021-09-08 13:04:59 +00:00
OpenShift Merge Robot
38d7baa6c5 Merge pull request #27 from vincent-pli/avoid-forbidden-log
Avoid forbidden message in the log of controller
2021-09-08 04:11:20 +02:00
OpenShift Merge Robot
7f1e971474 Merge pull request #29 from suigh/08181828
update the sort logic in Schedule
2021-08-25 23:42:01 -04:00
suigh
2bd2cb135b update the sort logic
Signed-off-by: suigh <suigh@cn.ibm.com>
2021-08-19 18:30:18 +08:00
openshift-ci[bot]
119a651bee Merge pull request #28 from suigh/08091731
Add output of status to the readme
2021-08-10 04:29:29 +00:00
suigh
ce54545563 add output of status to the readme
Signed-off-by: suigh <suigh@cn.ibm.com>
2021-08-10 10:28:56 +08:00
pengli
50febab1c3 avoid forbidden message in the log of controller
Signed-off-by: pengli <justdoit.pli@gmail.com>
2021-08-09 14:47:08 +08:00
openshift-ci[bot]
f3b0086f79 Merge pull request #23 from kim-fitness/main
Update README.md
2021-08-05 06:25:55 +00:00
kim-fitness
21ca3eb826 1. Add a new step of cloning repo before building the docker image 2. Update the .gitignore file
Signed-off-by: kim-fitness <jianjin@cn.ibm.com>
2021-08-05 09:20:38 +08:00
openshift-ci[bot]
7a6c1dc670 Merge pull request #17 from qiujian16/plugin
Use plugin to support steady/balance
2021-08-04 11:28:57 +00:00
Jian Qiu
148623f860 Add debugger endpoint
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2021-08-04 16:46:28 +08:00
OpenShift Merge Robot
ab17aad3d3 Merge pull request #22 from xunpan/doc
update document to make it more friendly in first try
2021-07-29 05:05:13 -04:00
xunpan
10340f1620 add lost step in making images
use here document to decrease user effort in first try

Signed-off-by: xunpan <panpxpx@cn.ibm.com>
2021-07-28 20:38:44 -04: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
OpenShift Merge Robot
f77087930f Merge pull request #21 from elgnay/add-more-e2e-case
add one more e2e test case
2021-07-27 06:30:55 +02: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
OpenShift Merge Robot
dc4e489035 Merge pull request #20 from suigh/0726
remind user to remove proxy
2021-07-26 04:01:22 -04:00