Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update documentation #53

Merged
merged 1 commit into from
Jan 9, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions pkg/apis/stable/v1alpha1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,15 +82,16 @@ type GameServerSpec struct {
// container defined
Container string `json:"container,omitempty"`
// PortPolicy defined the policy for how the HostPort is populated.
// `static` PortPolicy is the only current option. Dynamic port allocated will come in future releases.
// Dynamic port will allocate a HostPort within the selected MIN_PORT and MAX_PORT range passed to the controller
// at installation time.
// When `static` is the policy specified, `HostPort` is required, to specify the port that game clients will
// connect to
PortPolicy PortPolicy `json:"PortPolicy,omitempty"`
// ContainerPort is the port that is being opened on the game server process
ContainerPort int32 `json:"containerPort"`
// HostPort the port exposed on the host for clients to connect to
HostPort int32 `json:"hostPort,omitempty"`
// Protocoal is the network protocol being used. Defaults to UDP. TCP is the only other option
// Protocol is the network protocol being used. Defaults to UDP. TCP is the only other option
Protocol corev1.Protocol `json:"protocol,omitempty"`
// Template describes the Pod that will be created for the GameServer
Template corev1.PodTemplateSpec `json:"template"`
Expand Down