Commit Graph

116 Commits

Author SHA1 Message Date
Qing Hao
85bea2f200 update ocm api to v0.11.0 (#111)
Signed-off-by: haoqing0110 <qhao@redhat.com>
2023-05-24 02:18:51 -04:00
DangPeng Liu
0bcab43551 add qps and burst (#108)
Signed-off-by: ldpliu <daliu@redhat.com>
2023-05-16 05:02:06 -04:00
xuezhaojun
3ce72621ef Add gosec in verify. (#106)
Signed-off-by: xuezhaojun <zxue@redhat.com>
2023-04-18 21:51:19 -04:00
Yang Le
2337fbb233 make e2e test cases ran as canary check (#105)
Signed-off-by: Yang Le <yangle@redhat.com>
2023-03-22 22:36:32 -04:00
Qing Hao
2c74434fa7 fix unhandled errors (#104)
Signed-off-by: haoqing0110 <qhao@redhat.com>
2023-03-22 04:35:31 -04:00
xuezhaojun
75493f3ab5 Upgrade dependencies. (#103)
Signed-off-by: xuezhaojun <zxue@redhat.com>
2023-03-21 06:58:33 -04:00
Jian Zhu
e9c0557562 ci: build multi-arch image (#101)
Signed-off-by: zhujian <jiazhu@redhat.com>
2023-03-17 02:07:57 -04:00
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
6f48aab87b update imagebuilder (#98)
Signed-off-by: haoqing0110 <qhao@redhat.com>
2023-02-13 22:44:28 -05:00
Qing Hao
591b0b89ea add changelog for v0.10.0 (#97)
Signed-off-by: haoqing0110 <qhao@redhat.com>
2023-02-03 09:55:36 +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
Yuchen YAO
ae0507cf53 upgrade github action (#94)
Signed-off-by: ycyaoxdu <yaoyuchen0626@163.com>

Signed-off-by: ycyaoxdu <yaoyuchen0626@163.com>
2022-12-05 20:43:26 -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
5d33dd956c watch placementscore during scheduling (#89)
* watch placementscore during scheduling

refactor eventhandler using index

Signed-off-by: Jian Qiu <jqiu@redhat.com>

* Filter placement when enqueue score

Signed-off-by: Jian Qiu <jqiu@redhat.com>

Signed-off-by: Jian Qiu <jqiu@redhat.com>
2022-11-28 20:55:53 -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
e8fa84b014 Add owner (#86)
Signed-off-by: haoqing0110 <qhao@redhat.com>

Signed-off-by: haoqing0110 <qhao@redhat.com>
2022-11-03 02:32:45 -04:00
Qing Hao
a14b5e8dcb Upgrade golang to 1.19 (#84)
Signed-off-by: haoqing0110 <qhao@redhat.com>

Signed-off-by: haoqing0110 <qhao@redhat.com>
2022-10-28 05:23:30 -04:00
Qing Hao
6a7cbec575 add changelog for v0.9 (#83)
Signed-off-by: haoqing0110 <qhao@redhat.com>

Signed-off-by: haoqing0110 <qhao@redhat.com>
2022-10-20 02:51:49 -04: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
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
Qing Hao
91f6c49630 upgrade the go libraries to latest version (#78)
Signed-off-by: haoqing0110 <qhao@redhat.com>
2022-07-27 08:54:28 +02:00
Qing Hao
d9f478699a add changelog for v0.8 (#77)
Signed-off-by: haoqing0110 <qhao@redhat.com>
2022-07-11 04:14:26 +00:00
xuezhaojun
1cbdaec492 lint readme (#76)
Signed-off-by: xuezhaojun <zxue@redhat.com>
2022-06-30 07:01:56 +00:00
DangPeng Liu
22ec6cb998 support labelselector set (#73)
Signed-off-by: ldpliu <daliu@redhat.com>
2022-05-30 06:05:02 -04:00
Jian Qiu
bf410fc248 Upgrade golang to 1.18 (#74)
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2022-05-25 02:07:40 -04:00
Min Kim
d63d00daef Chore: Removed unused dockerfile cmd (#71)
* chore: removed unused dockerfile cmd

Signed-off-by: yue9944882 <291271447@qq.com>

* passing IMAGE_TAG to make command

Signed-off-by: yue9944882 <291271447@qq.com>
2022-05-10 03:47:33 -04:00
Yang Le
27e876570b Update golang builder in Dockerfile (#70)
Signed-off-by: Yang Le <yangle@redhat.com>
2022-04-25 04:38:07 -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
a77fad3f29 add changelog for v0.4 (#68)
Signed-off-by: haoqing0110 <qhao@redhat.com>
2022-03-24 04:39:04 +01: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
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