File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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"`
You can’t perform that action at this time.
0 commit comments