Skip to content

Commit 1308ed0

Browse files
authored
Update documentation
1 parent 7b868a8 commit 1308ed0

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

pkg/apis/stable/v1alpha1/types.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,15 +82,16 @@ type GameServerSpec struct {
8282
// container defined
8383
Container string `json:"container,omitempty"`
8484
// PortPolicy defined the policy for how the HostPort is populated.
85-
// `static` PortPolicy is the only current option. Dynamic port allocated will come in future releases.
85+
// Dynamic port will allocate a HostPort within the selected MIN_PORT and MAX_PORT range passed to the controller
86+
// at installation time.
8687
// When `static` is the policy specified, `HostPort` is required, to specify the port that game clients will
8788
// connect to
8889
PortPolicy PortPolicy `json:"PortPolicy,omitempty"`
8990
// ContainerPort is the port that is being opened on the game server process
9091
ContainerPort int32 `json:"containerPort"`
9192
// HostPort the port exposed on the host for clients to connect to
9293
HostPort int32 `json:"hostPort,omitempty"`
93-
// Protocoal is the network protocol being used. Defaults to UDP. TCP is the only other option
94+
// Protocol is the network protocol being used. Defaults to UDP. TCP is the only other option
9495
Protocol corev1.Protocol `json:"protocol,omitempty"`
9596
// Template describes the Pod that will be created for the GameServer
9697
Template corev1.PodTemplateSpec `json:"template"`

0 commit comments

Comments
 (0)