Commit Graph

36 Commits

Author SHA1 Message Date
ChrisLiu 58cd242780
feat: add network plugin AlibabaCloud-NLB-SharedPort & support AllowNotReadyContainers (#98)
Signed-off-by: ChrisLiu <chrisliu1995@163.com>
2023-10-26 11:09:03 +08:00
ChrisLiu bd41239718
update go version to 1.19 & e2e dependency version (#104)
Signed-off-by: ChrisLiu <chrisliu1995@163.com>
2023-10-17 11:20:59 +08:00
ChrisLiu 4d003d6ee9
add gameserverset controller unit tests (#97)
Signed-off-by: ChrisLiu <chrisliu1995@163.com>
2023-09-13 15:38:09 +08:00
ChrisLiu 72ee4ca111
feat: support auto scaling-up based on minAvailable (#88)
Signed-off-by: ChrisLiu <chrisliu1995@163.com>
2023-09-06 20:38:33 +08:00
ChrisLiu 649ab11773
Feat/svc name (#92)
* feat: add new field ServiceName for GameServerSet

Signed-off-by: ChrisLiu <chrisliu1995@163.com>

* fix log for kill gs

Signed-off-by: ChrisLiu <chrisliu1995@163.com>

---------

Signed-off-by: ChrisLiu <chrisliu1995@163.com>
2023-08-09 10:00:27 +08:00
ChrisLiu acc12c12f7
feat: add new opsState type named Kill (#90)
Signed-off-by: ChrisLiu <chrisliu1995@163.com>
2023-08-04 15:25:33 +08:00
ChrisLiu 1b05801484
feat: add new opsState named Allocated (#89)
Signed-off-by: ChrisLiu <chrisliu1995@163.com>
2023-07-28 14:49:20 +08:00
ChrisLiu 6f89f6e637
add network plugin AlibabaCloud-EIP (#86)
Signed-off-by: ChrisLiu <chrisliu1995@163.com>
2023-07-24 14:49:34 +08:00
ChrisLiu defcb15f02
refactor NetworkPortRange into a pointer (#87)
Signed-off-by: ChrisLiu <chrisliu1995@163.com>
2023-07-18 16:28:16 +08:00
ChrisLiu dcc3d8260c
support to sync gs metadata from from gsTemplate (#85)
Signed-off-by: ChrisLiu <chrisliu1995@163.com>
2023-07-17 17:02:33 +08:00
ChrisLiu c4e4197b12
correct gs network status when pod network status is nil (#80)
Signed-off-by: ChrisLiu <chrisliu1995@163.com>
2023-07-12 10:25:33 +08:00
ChrisLiu 0e6708dce9
enhance pod scaling efficiency (#81)
Signed-off-by: ChrisLiu <chrisliu1995@163.com>
2023-07-12 10:24:39 +08:00
ChrisLiu 6c6ad6b6cc
assume that slices without elements are equal (#74)
Signed-off-by: ChrisLiu <chrisliu1995@163.com>
2023-07-05 16:20:47 +08:00
ChrisLiu 65558bd646
add reserveIds when init asts (#73)
Signed-off-by: ChrisLiu <chrisliu1995@163.com>
2023-07-05 11:35:11 +08:00
ChrisLiu 2ccf2260f4
enhance: decouple triggering network update from Gs Ready (#71)
Signed-off-by: ChrisLiu <chrisliu1995@163.com>
2023-07-04 11:53:31 +08:00
ChrisLiu 056cbe351c
Autoscaler Improvement (#64)
* update docs for network
Signed-off-by: ChrisLiu <chrisliu1995@163.com>
2023-06-29 16:04:46 +08:00
ChrisLiu 6d4e6cafa2
impove Ingress Network Plugin (#61)
* fix: avoid metrics controller fatal when gss status is nil
* add param Fixed for ingress network
* avoid Network NotReady too long for Ingress NetworkType
Signed-off-by: ChrisLiu <chrisliu1995@163.com>
2023-06-09 19:07:56 +08:00
wangying 1eba95af78 fmt code 2023-05-31 15:50:11 +08:00
smartwang 66598607c9
Fix the issue of unable to complete scaling down from 1 to 0. 2023-05-29 17:13:56 +08:00
ChrisLiu 1d6c6e22b2 add params for network plugins
Signed-off-by: ChrisLiu <chrisliu1995@163.com>
2023-05-25 22:06:41 +08:00
ChrisLiu 07a26a9b81
feat: add networkType kubernetes-ingress (#54)
* feat: add networkType kubernetes-ingress

Signed-off-by: ChrisLiu <chrisliu1995@163.com>

* feat: network plugin kubernetes-ingress support multi paths

Signed-off-by: ChrisLiu <chrisliu1995@163.com>

* feat: add param <id> for host of Kuberntes-Ingress plugin

Signed-off-by: ChrisLiu <chrisliu1995@163.com>

---------

Signed-off-by: ChrisLiu <chrisliu1995@163.com>
2023-05-22 16:38:45 +08:00
ChrisLiu 4eaed8df57
feat: add ReserveIds ScaleDownStrategyType (#52)
* feat: add ReserveIds ScaleDownStrategyType

Signed-off-by: ChrisLiu <chrisliu1995@163.com>

* add docs for CRD description

Signed-off-by: ChrisLiu <chrisliu1995@163.com>

---------

Signed-off-by: ChrisLiu <chrisliu1995@163.com>
2023-04-27 14:05:16 +08:00
ChrisLiu af327dc8a6
fix: avoid gs status sync delay when network failure (#45)
Signed-off-by: ChrisLiu <chrisliu1995@163.com>
2023-04-26 16:29:14 +08:00
ChrisLiu 8e90b10bb6
feat: export prometheus metrics (#40)
* Feat: export prometheus metrics

Signed-off-by: ChrisLiu <chrisliu1995@163.com>

* code indentation optimization

Signed-off-by: ChrisLiu <chrisliu1995@163.com>

---------

Signed-off-by: ChrisLiu <chrisliu1995@163.com>
2023-04-26 16:12:50 +08:00
ChrisLiu 7c072bc48e
Feat: add external scaler (#39)
* Feat: add external scaler

Signed-off-by: ChrisLiu <chrisliu1995@163.com>

* Add docs for autoscaling

Signed-off-by: ChrisLiu <chrisliu1995@163.com>

---------

Signed-off-by: ChrisLiu <chrisliu1995@163.com>
2023-04-26 15:47:42 +08:00
ChrisLiu ba8ce6c92d
feat: add default serviceName for asts (#51)
Signed-off-by: ChrisLiu <chrisliu1995@163.com>
2023-04-19 19:50:39 +08:00
ChrisLiu f283461b6c
fix: add marginal conditions to avoid fatal errors (#49)
Signed-off-by: ChrisLiu <chrisliu1995@163.com>
2023-04-11 14:52:28 +08:00
ChrisLiu 9e5bbde674
fix: gss status sync failed when template metadata is not null (#46)
Signed-off-by: ChrisLiu <chrisliu1995@163.com>
2023-04-03 15:32:20 +08:00
ChrisLiu b1f3d943be
add Unit Tests for controllers (#44)
Signed-off-by: ChrisLiu <chrisliu1995@163.com>
2023-03-23 14:00:37 +08:00
ChrisLiu 6b58728b74
Feat: add cloud provider & network plugin (#16)
* Feat: add cloud provider & network plugin
2023-02-08 16:04:40 +08:00
Somefive 99968badfb
Feat: add ObservedGeneration to GameServerSet (#13)
* Feat: add observed generation

Signed-off-by: Yin Da <yd219913@alibaba-inc.com>

* Chore: refactor and add status equality check

Signed-off-by: Yin Da <yd219913@alibaba-inc.com>

Signed-off-by: Yin Da <yd219913@alibaba-inc.com>
2022-11-09 14:33:31 +08:00
ChrisLiu 082ee009be
Refactoring GameServer Lifecycle Management (#10)
* refactor: gs will not be deleted due to pod deletion and opt format
2022-11-03 17:53:40 +08:00
ChrisLiu f563275284
Add feature: Service Quality (#11)
Service Quality support
2022-11-01 11:46:06 +08:00
ChrisLiu b6f41e5eab exec service quality action
Signed-off-by: ChrisLiu <chrisliu1995@163.com>
2022-09-21 16:46:05 +08:00
ChrisLiu 97fef3ed2e add error handler
Signed-off-by: ChrisLiu <chrisliu1995@163.com>
2022-09-21 16:34:44 +08:00
ChrisLiu c98d68f919 Kruise-Game init
Signed-off-by: ChrisLiu <chrisliu1995@163.com>
2022-09-21 14:27:27 +08:00