[Breaking Change] Multiple port support for `GameServer`
This allows the `GameServer` (and anything that uses it as a template, such as `Fleets`), to provide configuration and assignment of multiple ports to the game server container. For example: ```yaml apiVersion: "stable.agones.dev/v1alpha1" kind: GameServer metadata: name: "simple-udp" spec: ports: - name: default portPolicy: "dynamic" containerPort: 7654 template: spec: containers: - name: simple-udp image: gcr.io/agones-images/udp-server:0.1 ``` This also includes update to documentation - but in a separate bottom section of each document, to allow for moving into the live version at release time. (This is becoming a mess - a website can't come soon enough). This also adjusts the `GameServer > Status`, to be able to handle multiple ports. It now looks like this: ``` Status: Address: 192.168.99.100 Node Name: agones Ports: Name: default Port: 7502 State: Ready ``` While this a breaking change (due to the change in `GameServer > status`, the previous legacy configuration of still works (even thought it's no longer documented), as it is automatically converted to the new version. Plans are to remove this legacy conversion functionality in 0.4.0, since being in alpha, we have a very low commitment to backward compatibility. As an aside - versioning for CRDs is coming soon, so this will also solve this type of problem long term.
Showing
- docs/create_fleet.md 129 additions, 0 deletionsdocs/create_fleet.md
- docs/create_gameserver.md 66 additions, 0 deletionsdocs/create_gameserver.md
- docs/fleet_spec.md 38 additions, 1 deletiondocs/fleet_spec.md
- docs/gameserver_spec.md 50 additions, 1 deletiondocs/gameserver_spec.md
- examples/cpp-simple/fleet.yaml 11 additions, 5 deletionsexamples/cpp-simple/fleet.yaml
- examples/cpp-simple/gameserver.yaml 4 additions, 1 deletionexamples/cpp-simple/gameserver.yaml
- examples/fleet.yaml 4 additions, 2 deletionsexamples/fleet.yaml
- examples/gameserver.yaml 15 additions, 11 deletionsexamples/gameserver.yaml
- examples/rust-simple/gameserver.yaml 4 additions, 1 deletionexamples/rust-simple/gameserver.yaml
- examples/simple-udp/server/fleet.yaml 4 additions, 1 deletionexamples/simple-udp/server/fleet.yaml
- examples/simple-udp/server/gameserver-legacy.yaml 8 additions, 13 deletionsexamples/simple-udp/server/gameserver-legacy.yaml
- examples/simple-udp/server/gameserver.yaml 4 additions, 2 deletionsexamples/simple-udp/server/gameserver.yaml
- examples/simple-udp/server/gameserverset.yaml 4 additions, 1 deletionexamples/simple-udp/server/gameserverset.yaml
- examples/xonotic/fleet.yaml 4 additions, 2 deletionsexamples/xonotic/fleet.yaml
- examples/xonotic/gameserver.yaml 4 additions, 2 deletionsexamples/xonotic/gameserver.yaml
- install/helm/agones/templates/crds/_gameserverspecvalidation.yaml 44 additions, 8 deletions...helm/agones/templates/crds/_gameserverspecvalidation.yaml
- install/yaml/install.yaml 132 additions, 24 deletionsinstall/yaml/install.yaml
- pkg/apis/stable/v1alpha1/fleet_test.go 1 addition, 1 deletionpkg/apis/stable/v1alpha1/fleet_test.go
- pkg/apis/stable/v1alpha1/gameserver.go 123 additions, 45 deletionspkg/apis/stable/v1alpha1/gameserver.go
- pkg/apis/stable/v1alpha1/gameserver_test.go 61 additions, 15 deletionspkg/apis/stable/v1alpha1/gameserver_test.go
Loading
Please register or sign in to comment