-
- Downloads
Dynamic Port Allocation for GameServers
Implementation of a PortAllocator that ties into the GameServer controller that will allocate a port on GameServer creations (if "dynamic" portPolicy is set) and then also release the port when a GameServer has been deleted. This also includes experimental support for node adding, removal and unscheduling within the cluster. Closes #14
Showing
- build/build-image/Dockerfile 1 addition, 1 deletionbuild/build-image/Dockerfile
- build/build-image/gen-crd-client.sh 2 additions, 1 deletionbuild/build-image/gen-crd-client.sh
- build/install.yaml 4 additions, 0 deletionsbuild/install.yaml
- examples/cpp-simple/gameserver.yaml 3 additions, 3 deletionsexamples/cpp-simple/gameserver.yaml
- examples/gameserver.yaml 11 additions, 5 deletionsexamples/gameserver.yaml
- gameservers/controller/controller.go 34 additions, 8 deletionsgameservers/controller/controller.go
- gameservers/controller/controller_test.go 90 additions, 75 deletionsgameservers/controller/controller_test.go
- gameservers/controller/helper_test.go 68 additions, 0 deletionsgameservers/controller/helper_test.go
- gameservers/controller/main.go 17 additions, 1 deletiongameservers/controller/main.go
- gameservers/controller/portallocator.go 255 additions, 0 deletionsgameservers/controller/portallocator.go
- gameservers/controller/portallocator_test.go 358 additions, 0 deletionsgameservers/controller/portallocator_test.go
- install.yaml 6 additions, 0 deletionsinstall.yaml
- pkg/apis/stable/v1alpha1/types.go 11 additions, 3 deletionspkg/apis/stable/v1alpha1/types.go
- pkg/apis/stable/v1alpha1/types_test.go 4 additions, 0 deletionspkg/apis/stable/v1alpha1/types_test.go
Loading
Please register or sign in to comment