From 924c6f166b626a41f2e9a81a5f0c1edf0f205442 Mon Sep 17 00:00:00 2001
From: Ivy Gooch Packages:
Package v1 is the v1 version of the API.GameServerAll
-GameServerAll
agones.dev/v1
+allocation.agones.dev/v1
-
Fleet is the data structure for a Fleet resource
+GameServerAllocation is the data structure for allocating against a set of
+GameServers, defined selectors
selectors
-agones.dev/v1
+allocation.agones.dev/v1
|
@@ -3497,7 +3494,7 @@ Fleet |
+GameServerAllocation |
||||||||||||
@@ -3517,8 +3514,8 @@ Fleet
spec
-
-FleetSpec
+
+GameServerAllocationSpec
Fleet
status
-
-FleetStatus
+
+GameServerAllocationStatus
|
-
GameServer is the data structure for a GameServer resource.
-It is worth noting that while there is a GameServerStatus
Status entry for the GameServer
, it is not
-defined as a subresource - unlike Fleet
and other Agones resources.
-This is so that we can retain the ability to change multiple aspects of a GameServer
in a single atomic operation,
-which is particularly useful for operations such as allocation.
+
CounterSelector is the filter options for a GameServer based on the count and/or available capacity. +0 for MaxCount or MaxAvailable means unlimited maximum. Default for all fields: 0
-apiVersion
-string |
-
-
-agones.dev/v1
-
- |
-||||||||||||||||||||||
-kind
-string
- |
-GameServer |
-||||||||||||||||||||||
-metadata
+minCount
-
-Kubernetes meta/v1.ObjectMeta
-
+int64
|
-Refer to the Kubernetes API documentation for the fields of the
-metadata field.
|
||||||||||||||||||||||
-spec
-
-
-GameServerSpec
-
-
- |
-
- - -
GameServerAllocationSpec +++(Appears on: +GameServerAllocation) + ++ GameServerAllocationSpec is the spec for a GameServerAllocation + +
|
-||||||||||||||||||||||
-status
-
-
-GameServerStatus
-
-
- |
-- | -
string
alias)+(Appears on: +GameServerAllocationStatus) +
++
GameServerAllocationState is the Allocation state
+ +-
GameServerSet is the data structure for a set of GameServers. -This matches philosophically with the relationship between -Deployments and ReplicaSets
+(Appears on: +GameServerAllocation) + ++
GameServerAllocationStatus is the status for an GameServerAllocation resource
-apiVersion
-string |
+
-
-agones.dev/v1
-
+GameServerState is the current state of an GameServerAllocation, e.g. Allocated, or UnAllocated |
||||||||||||
-kind
+gameServerName
+
string
+
+ |
+- | GameServerSet |
|||||||||||
-metadata
+ports
-
-Kubernetes meta/v1.ObjectMeta
+
+[]GameServerStatusPort
|
-Refer to the Kubernetes API documentation for the fields of the
-metadata field.
|
||||||||||||
-spec
+address
-
-GameServerSetSpec
-
+string
|
- - -
GameServerSelector +++(Appears on: +GameServerAllocationSpec) + ++ GameServerSelector contains all the filter options for selecting +a GameServer for allocation. + +
| ||||||||||||
+counters
+
+
+map[string]agones.dev/agones/pkg/apis/allocation/v1.CounterSelector
+
+
+ |
+
+(Optional)
+ (Alpha, CountsAndLists feature flag) Counters provides filters on minimum and maximum values +for a Counter’s count and available capacity when retrieving a GameServer through Allocation. +Defaults to no limits. |
||||||||||||
-status
+lists
-
-GameServerSetStatus
+
+map[string]agones.dev/agones/pkg/apis/allocation/v1.ListSelector
|
+(Optional)
+ (Alpha, CountsAndLists feature flag) Lists provides filters on minimum and maximum values +for List capacity, and for the existence of a value in a List, when retrieving a GameServer +through Allocation. Defaults to no limits. |
(Appears on: -FleetStatus, -GameServerSetStatus) +GameServerSelector)
-
AggregatedPlayerStatus stores total player tracking values
+ListSelector is the filter options for a GameServer based on List available capacity and/or the +existence of a value in a List. +0 for MaxAvailable means unlimited maximum. Default for integer fields: 0 +“” for ContainsValue means ignore field. Default for string field: “”
-count
+containsValue
+
+string
+
+ |
++ | +
+minAvailable
int64
@@ -3973,7 +4069,7 @@ AggregatedPlayerStatus | |
-capacity
+maxAvailable
int64
@@ -3983,17 +4079,14 @@ AggregatedPlayerStatus |
(Appears on: -FleetSpec, -GameServerSetSpec) +GameServerAllocationSpec)
-
AllocationOverflow specifies what labels and/or annotations to apply on Allocated GameServers
-if the desired number of the underlying GameServerSet
drops below the number of Allocated GameServers
-attached to it.
MetaPatch is the metadata used to patch the GameServer metadata on allocation
-(Optional)
- Labels to be applied to the |
-(Optional)
- Annotations to be applied to the |
(Appears on: -GameServerSpec, -GameServerStatus) +GameServerAllocationSpec)
-
CounterStatus stores the current counter values
+MultiClusterSetting specifies settings for multi-cluster allocation.
-count
+enabled
-int64
+bool
|
@@ -4059,9 +4147,11 @@ CounterStatus |
-capacity
+policySelector
-int64
+
+Kubernetes meta/v1.LabelSelector
+
|
@@ -4069,15 +4159,14 @@ CounterStatus |
(Appears on: -GameServerSpec, -GameServerStatus) +GameServerSelector)
-
Eviction specifies the eviction tolerance of the GameServer
+PlayerSelector is the filter options for a GameServer based on player counts
-safe
+minAvailable
-
-EvictionSafe
-
+int64
|
- (Alpha, SafeToEvict feature flag) -Game server supports termination via SIGTERM: -- Always: Allow eviction for both Cluster Autoscaler and node drain for upgrades -- OnUpgrade: Allow eviction for upgrades alone -- Never (default): Pod should run to completion |
string
alias)-(Appears on: -Eviction) -
--
EvictionSafe specified whether the game server supports termination via SIGTERM
- -maxAvailable
+
+int64
+
+(Appears on: -Fleet) +GameServerAllocationSpec)
-
FleetSpec is the spec for a Fleet
+Priority is a sorting option for GameServers with Counters or Lists based on the count or +number of items in a List. +PriorityType: Sort by a “Counter” or a “List”. +Key: The name of the Counter or List. If not found on the GameServer, has no impact. +Order: Sort by “Ascending” or “Descending”. Default is “Descending” so bigger count is preferred. +“Ascending” would be smaller count is preferred.
-replicas
-
-int32
-
- |
-
- Replicas are the number of GameServers that should be in this set. Defaults to 0. - |
-
-allocationOverflow
-
-
-AllocationOverflow
-
-
- |
-
-(Optional)
- [Stage: Alpha]
-[FeatureFlag:FleetAllocationOverflow]
-Labels and Annotations to apply to GameServers when the number of Allocated GameServers drops below
-the desired replicas on the underlying |
-
-strategy
+priorityType
-
-Kubernetes apps/v1.DeploymentStrategy
-
+string
|
- Deployment strategy |
-scheduling
+key
-agones.dev/agones/pkg/apis.SchedulingStrategy
+string
|
- Scheduling strategy. Defaults to “Packed”. |
-template
+order
-
-GameServerTemplateSpec
-
+string
|
- Template the GameServer template to apply for this Fleet |
-(Appears on: -Fleet, -FleetAutoscaleRequest) +
Package v1 is the v1 version of the API.
+Resource Types: + +-
FleetStatus is the status of a Fleet
+FleetAutoscaler is the data structure for a FleetAutoscaler resource
-replicas
+apiVersion
+string |
+
+
+autoscaling.agones.dev/v1
+
+ |
+||||||
+kind
+string
+ |
+FleetAutoscaler |
+||||||
+metadata
-int32
+
+Kubernetes meta/v1.ObjectMeta
+
|
- Replicas the total number of current GameServer replicas +Refer to the Kubernetes API documentation for the fields of the +metadata field.
|
||||||
-readyReplicas
+spec
-int32
+
+FleetAutoscalerSpec
+
+
+ |
+
+ + +
|
||||||
-players
+status
-
-AggregatedPlayerStatus
+
+FleetAutoscalerStatus
|
-(Optional)
- [Stage:Alpha] -[FeatureFlag:PlayerTracking] -Players are the current total player capacity and count for this Fleet |
(Appears on: -GameServerSpec) +FleetAutoscalerPolicy)
-
GameServerPort defines a set of Ports that -are to be exposed via the GameServer
+BufferPolicy controls the desired behavior of the buffer policy.
-name
+maxReplicas
-string
+int32
|
- Name is the descriptive name of the port +MaxReplicas is the maximum amount of replicas that the fleet may have. +It must be bigger than both MinReplicas and BufferSize |
-portPolicy
+minReplicas
-
-PortPolicy
-
+int32
|
- PortPolicy defines the policy for how the HostPort is populated.
-Dynamic port will allocate a HostPort within the selected MIN_PORT and MAX_PORT range passed to the controller
-at installation time.
-When MinReplicas is the minimum amount of replicas that the fleet must have +If zero, it is ignored. +If non zero, it must be smaller than MaxReplicas and bigger than BufferSize |
-container
+bufferSize
-string
+k8s.io/apimachinery/pkg/util/intstr.IntOrString
|
-(Optional)
- Container is the name of the container on which to open the port. Defaults to the game server container. +BufferSize defines how many replicas the autoscaler tries to have ready all the time +Value can be an absolute number (ex: 5) or a percentage of desired gs instances (ex: 15%) +Absolute number is calculated from percentage by rounding up. +Example: when this is set to 20%, the autoscaler will make sure that 20% +of the fleet’s game server replicas are ready. When this is set to 20, +the autoscaler will make sure that there are 20 available game servers +Must be bigger than 0 +Note: by “ready” we understand in this case “non-allocated”; this is done to ensure robustness +and computation stability in different edge case (fleet just created, not enough +capacity in the cluster etc) |
+(Appears on: +FleetAutoscalerSync) +
++
FixedIntervalSync controls the desired behavior of the fixed interval based sync.
+ +
-containerPort
-
-int32
-
- |
-
- ContainerPort is the port that is being opened on the specified container’s process - |
+Field | +Description |
---|---|---|---|
-hostPort
+seconds
int32
|
- HostPort the port exposed on the host for clients to connect to - |
-||
-protocol
-
-
-Kubernetes core/v1.Protocol
-
-
- |
-
- Protocol is the network protocol being used. Defaults to UDP. TCP and TCPUDP are other options. +Seconds defines how often we run fleet autoscaling in seconds |
(Appears on: -GameServerSet) +FleetAutoscaleReview)
-
GameServerSetSpec the specification for GameServerSet
+FleetAutoscaleRequest defines the request to webhook autoscaler endpoint
-replicas
+uid
-int32
+k8s.io/apimachinery/pkg/types.UID
|
- Replicas are the number of GameServers that should be in this set - |
-
-allocationOverflow
+name
-
-AllocationOverflow
-
+string
|
-(Optional)
- [Stage: Alpha]
-[FeatureFlag:FleetAllocationOverflow]
-Labels and Annotations to apply to GameServers when the number of Allocated GameServers drops below
-the desired replicas on the underlying Name is the name of the Fleet being scaled |
-scheduling
+namespace
-agones.dev/agones/pkg/apis.SchedulingStrategy
+string
|
- Scheduling strategy. Defaults to “Packed”. +Namespace is the namespace associated with the request (if any). |
-template
+status
-
-GameServerTemplateSpec
+
+FleetStatus
|
- Template the GameServer template to apply for this GameServerSet +The Fleet’s status values |
(Appears on: -GameServerSet) +FleetAutoscaleReview)
-
GameServerSetStatus is the status of a GameServerSet
+FleetAutoscaleResponse defines the response of webhook autoscaler endpoint
-replicas
+uid
-int32
+k8s.io/apimachinery/pkg/types.UID
|
- Replicas is the total number of current GameServer replicas +UID is an identifier for the individual request/response. +This should be copied over from the corresponding FleetAutoscaleRequest. |
-readyReplicas
+scale
-int32
+bool
|
- ReadyReplicas is the number of Ready GameServer replicas +Set to false if no scaling should occur to the Fleet |
-reservedReplicas
+replicas
int32
|
- ReservedReplicas is the number of Reserved GameServer replicas +The targeted replica count |
+
FleetAutoscaleReview is passed to the webhook with a populated Request value, +and then returned with a populated Response.
+ +
-allocatedReplicas
-
-int32
-
- |
-
- AllocatedReplicas is the number of Allocated GameServer replicas - |
+Field | +Description |
---|---|---|---|
-shutdownReplicas
+request
-int32
+
+FleetAutoscaleRequest
+
|
- ShutdownReplicas is the number of Shutdown GameServers replicas |
||
-players
+response
-
-AggregatedPlayerStatus
+
+FleetAutoscaleResponse
|
-(Optional)
- [Stage:Alpha] -[FeatureFlag:PlayerTracking] -Players is the current total player capacity and count for this GameServerSet |
(Appears on: -GameServer, -GameServerTemplateSpec) +FleetAutoscalerSpec)
-
GameServerSpec is the spec for a GameServer resource
+FleetAutoscalerPolicy describes how to scale a fleet
-container
+type
-string
+
+FleetAutoscalerPolicyType
+
|
- Container specifies which Pod container is the game server. Only required if there is more than one -container defined +Type of autoscaling policy. |
-ports
+buffer
-
-[]GameServerPort
+
+BufferPolicy
|
- Ports are the array of ports that can be exposed via the game server +(Optional) +Buffer policy config params. Present only if FleetAutoscalerPolicyType = Buffer. |
-health
+webhook
-
-Health
+
+WebhookPolicy
|
- Health configures health checking +(Optional) +Webhook policy config params. Present only if FleetAutoscalerPolicyType = Webhook. |
string
alias)+(Appears on: +FleetAutoscalerPolicy) +
++
FleetAutoscalerPolicyType is the policy for autoscaling +for a given Fleet
+ ++(Appears on: +FleetAutoscaler) +
++
FleetAutoscalerSpec is the spec for a Fleet Scaler
+ +Field | +Description | +
---|---|
-scheduling
+fleetName
-agones.dev/agones/pkg/apis.SchedulingStrategy
+string
|
- Scheduling strategy. Defaults to “Packed” |
-sdkServer
+policy
-
-SdkServer
+
+FleetAutoscalerPolicy
|
- SdkServer specifies parameters for the Agones SDK Server sidecar container +Autoscaling policy |
-template
+sync
-
-Kubernetes core/v1.PodTemplateSpec
+
+FleetAutoscalerSync
|
- Template describes the Pod that will be created for the GameServer +(Optional) +[Stage:Beta] +[FeatureFlag:CustomFasSyncInterval] +Sync defines when FleetAutoscalers runs autoscaling + |
+
+(Appears on: +FleetAutoscaler) +
++
FleetAutoscalerStatus defines the current status of a FleetAutoscaler
+ +Field | +Description | +
---|---|
+currentReplicas
+
+int32
+
+ |
+
+ CurrentReplicas is the current number of gameserver replicas +of the fleet managed by this autoscaler, as last seen by the autoscaler |
-players
+desiredReplicas
-
-PlayersSpec
-
+int32
|
-(Optional)
- (Alpha, PlayerTracking feature flag) Players provides the configuration for player tracking features. +DesiredReplicas is the desired number of gameserver replicas +of the fleet managed by this autoscaler, as last calculated by the autoscaler |
-counters
+lastScaleTime
-
-map[string]agones.dev/agones/pkg/apis/agones/v1.CounterStatus
+
+Kubernetes meta/v1.Time
|
(Optional)
- (Alpha, CountsAndLists feature flag) Counters and Lists provides the configuration for generic tracking features. +lastScaleTime is the last time the FleetAutoscaler scaled the attached fleet, |
-lists
+ableToScale
-
-map[string]agones.dev/agones/pkg/apis/agones/v1.ListStatus
-
+bool
|
+ AbleToScale indicates that we can access the target fleet |
-eviction
+scalingLimited
-
-Eviction
-
+bool
|
-(Optional)
- (Alpha, SafeToEvict feature flag) Eviction specifies the eviction tolerance of the GameServer. Defaults to “Never”. +ScalingLimited indicates that the calculated scale would be above or below the range +defined by MinReplicas and MaxReplicas, and has thus been capped. |
string
alias)(Appears on: -GameServerSelector, -GameServerStatus) +FleetAutoscalerSpec)
-
GameServerState is the state for the GameServer
- --(Appears on: -GameServer) -
--
GameServerStatus is the status for a GameServer resource
+FleetAutoscalerSync describes when to sync a fleet
-state
+type
-
-GameServerState
+
+FleetAutoscalerSyncType
|
- GameServerState is the current state of a GameServer, e.g. Creating, Starting, Ready, etc +Type of autoscaling sync. |
-ports
+fixedInterval
-
-[]GameServerStatusPort
+
+FixedIntervalSync
|
+(Optional)
+ FixedInterval config params. Present only if FleetAutoscalerSyncType = FixedInterval. |
string
alias)+(Appears on: +FleetAutoscalerSync) +
++
FleetAutoscalerSyncType is the sync strategy for a given Fleet
+ ++(Appears on: +FleetAutoscalerPolicy) +
++
WebhookPolicy controls the desired behavior of the webhook policy. +It contains the description of the webhook autoscaler service +used to form url which is accessible inside the cluster
+ +
-address
-
-string
-
- |
-- | +Field | +Description |
---|---|---|---|
-nodeName
+url
string
|
- | -||
-reservedUntil
-
-
-Kubernetes meta/v1.Time
-
-
- |
-- | -||
-players
-
-
-PlayerStatus
-
-
- |
-
-(Optional)
- [Stage:Alpha] -[FeatureFlag:PlayerTracking] - |
-||
-counters
-
-
-map[string]agones.dev/agones/pkg/apis/agones/v1.CounterStatus
-
-
- |
-
(Optional)
- (Alpha, CountsAndLists feature flag) Counters and Lists provides the configuration for generic tracking features. +
The Please note that using The scheme must be “https”; the URL must begin with “https://”. +A path is optional, and if present may be any string permissible in +a URL. You may use the path to pass an arbitrary string to the +webhook, for example, a cluster identifier. +Attempting to use a user or basic auth e.g. “user:password@” is not +allowed. Fragments (“#…”) and query parameters (“?…”) are not +allowed, either. |
||
-lists
+service
-
-map[string]agones.dev/agones/pkg/apis/agones/v1.ListStatus
+
+Kubernetes admissionregistration/v1.ServiceReference
|
(Optional)
+
If the webhook is running within the cluster, then you should use |
||
-eviction
+caBundle
-
-Eviction
-
+[]byte
|
(Optional)
- (Alpha, SafeToEvict feature flag) Eviction specifies the eviction tolerance of the GameServer. +
|
-(Appears on: -GameServerAllocationStatus, -GameServerStatus) +
Package v1 is the v1 version of the API.
+Resource Types: + +-
GameServerStatusPort shows the port that was allocated to a -GameServer.
+GameServerAllocationPolicy is the Schema for the gameserverallocationpolicies API
-name
-
-string
-
- |
+
+
+multicluster.agones.dev/v1
+
|
|
-port
-
-int32
-
- |
-
+kind
+string
|
+GameServerAllocationPolicy |
-(Appears on: -FleetSpec, -GameServerSetSpec) -
--
GameServerTemplateSpec is a template for GameServers
- -Field | -Description | -||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
metadata
@@ -4904,8 +5030,8 @@ GameServerTemplateSpec
spec
-
-GameServerSpec
+
+GameServerAllocationPolicySpec
GameServerTemplateSpec |
(Appears on: -GameServerSpec) +GameServerAllocationPolicySpec)
-
Health configures health checking on the GameServer
+ClusterConnectionInfo defines the connection information for a cluster
-disabled
-
-bool
-
- |
-
- Disabled is whether health checking is disabled or not - |
-
-periodSeconds
+clusterName
-int32
+string
|
- PeriodSeconds is the number of seconds each health ping has to occur in +Optional: the name of the targeted cluster |
-failureThreshold
+allocationEndpoints
-int32
+[]string
|
- FailureThreshold how many failures in a row constitutes unhealthy +The endpoints for the allocator service in the targeted cluster. +If the AllocationEndpoints is not set, the allocation happens on local cluster. +If there are multiple endpoints any of the endpoints that can handle allocation request should suffice |
-initialDelaySeconds
+secretName
-int32
+string
|
- InitialDelaySeconds initial delay before checking health +The name of the secret that contains TLS client certificates to connect the allocator server in the targeted cluster |
-(Appears on: -GameServerSpec, -GameServerStatus) -
--
ListStatus stores the current list values
- -Field | -Description | -
---|---|
-capacity
+namespace
-int64
+string
|
+ The cluster namespace from which to allocate gameservers |
-values
+serverCa
-[]string
+[]byte
|
+ The PEM encoded server CA, used by the allocator client to authenticate the remote server. |
-(Appears on: -GameServerStatus) -
--
PlayerStatus stores the current player capacity values
+ConnectionInfoIterator an iterator on ClusterConnectionInfo
-count
+currPriority
-int64
+int
|
+ currPriority Current priority index from the orderedPriorities |
-capacity
+orderedPriorities
-int64
+[]int32
|
+ orderedPriorities list of ordered priorities |
-ids
+priorityToCluster
-[]string
+map[int32]map[string][]*agones.dev/agones/pkg/apis/multicluster/v1.GameServerAllocationPolicy
|
+ priorityToCluster Map of priority to cluster-policies map |
-(Appears on: -GameServerSpec) -
--
PlayersSpec tracks the initial player capacity
- -Field | -Description | -
---|---|
-initialCapacity
+clusterBlackList
-int64
+map[string]bool
|
+ clusterBlackList the cluster blacklist for the clusters that has already returned |
string
alias)-(Appears on: -GameServerPort) -
--
PortPolicy is the port policy for the GameServer
- -(Appears on: -GameServerSpec) +GameServerAllocationPolicy)
-
SdkServer specifies parameters for the Agones SDK Server sidecar container
+GameServerAllocationPolicySpec defines the desired state of GameServerAllocationPolicy
-logLevel
+priority
-
-SdkServerLogLevel
-
+int32
|
- LogLevel for SDK server (sidecar) logs. Defaults to “Info” |
-grpcPort
+weight
-int32
+int
|
- GRPCPort is the port on which the SDK Server binds the gRPC server to accept incoming connections |
-httpPort
+connectionInfo
-int32
+
+ClusterConnectionInfo
+
|
- HTTPPort is the port on which the SDK Server binds the HTTP gRPC gateway server to accept incoming connections |
string
alias)-(Appears on: -SdkServer) -
--
SdkServerLogLevel is the log level for SDK server (sidecar) logs
-
Package v1 is the v1 version of the API.
Resource Types: --
GameServerAllocation is the data structure for allocating against a set of
-GameServers, defined selectors
selectors
Fleet is the data structure for a Fleet resource
-allocation.agones.dev/v1
+agones.dev/v1
|
@@ -5338,7 +5303,7 @@ GameServerAllocation |
+Fleet |
||||||||||
@@ -5358,8 +5323,8 @@ GameServerAllocation
spec
-
-GameServerAllocationSpec
+
+FleetSpec
GameServerAllocation
status
-
-GameServerAllocationStatus
+
+FleetStatus
|
-(Appears on: -GameServerSelector) -
--
CounterSelector is the filter options for a GameServer based on the count and/or available capacity. -0 for MaxCount or MaxAvailable means unlimited maximum. Default for all fields: 0
+GameServer is the data structure for a GameServer resource.
+It is worth noting that while there is a GameServerStatus
Status entry for the GameServer
, it is not
+defined as a subresource - unlike Fleet
and other Agones resources.
+This is so that we can retain the ability to change multiple aspects of a GameServer
in a single atomic operation,
+which is particularly useful for operations such as allocation.
Field | Description | -||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
+apiVersion
+string |
+
+
+agones.dev/v1
+
+ |
+||||||||||||||||||||||
+kind
+string
+ |
+GameServer |
+||||||||||||||||||||||
+metadata
+
+
+Kubernetes meta/v1.ObjectMeta
+
+
+ |
+
+Refer to the Kubernetes API documentation for the fields of the
+metadata field.
+ |
+||||||||||||||||||||||
+spec
+
+
+GameServerSpec
+
+
+ |
+
+ + +
GameServerAllocationSpec ---(Appears on: -GameServerAllocation) - -- GameServerAllocationSpec is the spec for a GameServerAllocation - -
|
||||||||||||||||||||||
-metadata
+status
-
-MetaPatch
+
+GameServerStatus
|
- MetaPatch is optional custom metadata that is added to the game server at allocation -You can use this to tell the server necessary session data |
string
alias)-(Appears on: -GameServerAllocationStatus) -
--
GameServerAllocationState is the Allocation state
- --(Appears on: -GameServerAllocation) -
--
GameServerAllocationStatus is the status for an GameServerAllocation resource
+GameServerSet is the data structure for a set of GameServers. +This matches philosophically with the relationship between +Deployments and ReplicaSets
-state
+apiVersion
+string |
+
+
+agones.dev/v1
+
+ |
+||||||||
+kind
+string
+ |
+GameServerSet |
+||||||||
+metadata
-
-GameServerAllocationState
+
+Kubernetes meta/v1.ObjectMeta
|
- GameServerState is the current state of an GameServerAllocation, e.g. Allocated, or UnAllocated +Refer to the Kubernetes API documentation for the fields of the +metadata field.
|
||||||||
-gameServerName
+spec
-string
+
+GameServerSetSpec
+
+
+ |
+
+ + +
|
||||||||
-source
+status
-string
+
+GameServerSetStatus
+
|
- If the allocation is from a remote cluster, Source is the endpoint of the remote agones-allocator. -Otherwise, Source is “local” |
(Appears on: -GameServerAllocationSpec) +FleetStatus, +GameServerSetStatus)
-
GameServerSelector contains all the filter options for selecting -a GameServer for allocation.
+AggregatedPlayerStatus stores total player tracking values
-LabelSelector
+count
-
-Kubernetes meta/v1.LabelSelector
-
+int64
|
-
-(Members of See: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ |
-gameServerState
+capacity
-
-GameServerState
-
+int64
|
-(Optional)
- [Stage:Beta] -[FeatureFlag:StateAllocationFilter] -GameServerState specifies which State is the filter to be used when attempting to retrieve a GameServer -via Allocation. Defaults to “Ready”. The only other option is “Allocated”, which can be used in conjunction with -label/annotation/player selectors to retrieve an already Allocated GameServer. |
+(Appears on: +FleetSpec, +GameServerSetSpec) +
++
AllocationOverflow specifies what labels and/or annotations to apply on Allocated GameServers
+if the desired number of the underlying GameServerSet
drops below the number of Allocated GameServers
+attached to it.
-players
-
-
-PlayerSelector
-
-
- |
-
-(Optional)
- [Stage:Alpha] -[FeatureFlag:PlayerAllocationFilter] -Players provides a filter on minimum and maximum values for player capacity when retrieving a GameServer -through Allocation. Defaults to no limits. - |
+Field | +Description |
---|---|---|---|
-counters
+labels
-
-map[string]agones.dev/agones/pkg/apis/allocation/v1.CounterSelector
-
+map[string]string
|
(Optional)
- (Alpha, CountsAndLists feature flag) Counters provides filters on minimum and maximum values -for a Counter’s count and available capacity when retrieving a GameServer through Allocation. -Defaults to no limits. +Labels to be applied to the |
||
-lists
+annotations
-
-map[string]agones.dev/agones/pkg/apis/allocation/v1.ListSelector
-
+map[string]string
|
(Optional)
- (Alpha, CountsAndLists feature flag) Lists provides filters on minimum and maximum values -for List capacity, and for the existence of a value in a List, when retrieving a GameServer -through Allocation. Defaults to no limits. +Annotations to be applied to the |
(Appears on: -GameServerSelector) +GameServerSpec, +GameServerStatus)
-
ListSelector is the filter options for a GameServer based on List available capacity and/or the -existence of a value in a List. -0 for MaxAvailable means unlimited maximum. Default for integer fields: 0 -“” for ContainsValue means ignore field. Default for string field: “”
+CounterStatus stores the current counter values
-containsValue
+count
-string
+int64
|
@@ -5869,7 +5865,7 @@ ListSelector |
-minAvailable
+capacity
int64
@@ -5877,26 +5873,62 @@ ListSelector
|
+(Appears on: +GameServerSpec, +GameServerStatus) +
++
Eviction specifies the eviction tolerance of the GameServer
+ +Field | +Description | +
---|---|
-maxAvailable
+safe
-int64
+
+EvictionSafe
+
|
+ (Alpha, SafeToEvict feature flag) +Game server supports termination via SIGTERM: +- Always: Allow eviction for both Cluster Autoscaler and node drain for upgrades +- OnUpgrade: Allow eviction for upgrades alone +- Never (default): Pod should run to completion |
string
alias)+(Appears on: +Eviction) +
++
EvictionSafe specified whether the game server supports termination via SIGTERM
+ +(Appears on: -GameServerAllocationSpec) +Fleet)
-
MetaPatch is the metadata used to patch the GameServer metadata on allocation
+FleetSpec is the spec for a Fleet
-labels
+replicas
-map[string]string
+int32
|
+ Replicas are the number of GameServers that should be in this set. Defaults to 0. |
-annotations
+allocationOverflow
-map[string]string
+
+AllocationOverflow
+
|
+(Optional)
+ [Stage: Alpha]
+[FeatureFlag:FleetAllocationOverflow]
+Labels and Annotations to apply to GameServers when the number of Allocated GameServers drops below
+the desired replicas on the underlying |
-(Appears on: -GameServerAllocationSpec) -
--
MultiClusterSetting specifies settings for multi-cluster allocation.
- -Field | -Description | +
+strategy
+
+
+Kubernetes apps/v1.DeploymentStrategy
+
+
+ |
+
+ Deployment strategy + |
---|---|---|---|
-enabled
+scheduling
-bool
+agones.dev/agones/pkg/apis.SchedulingStrategy
|
+ Scheduling strategy. Defaults to “Packed”. |
||
-policySelector
+template
-
-Kubernetes meta/v1.LabelSelector
+
+GameServerTemplateSpec
|
+ Template the GameServer template to apply for this Fleet |
(Appears on: -GameServerSelector) +Fleet, +FleetAutoscaleRequest)
-
PlayerSelector is the filter options for a GameServer based on player counts
+FleetStatus is the status of a Fleet
-minAvailable
+replicas
-int64
+int32
|
+ Replicas the total number of current GameServer replicas |
-maxAvailable
+readyReplicas
-int64
+int32
+
+ |
+
+ ReadyReplicas are the number of Ready GameServer replicas + |
+
+reservedReplicas
+
+int32
+
+ |
+
+ ReservedReplicas are the total number of Reserved GameServer replicas in this fleet. +Reserved instances won’t be deleted on scale down, but won’t cause an autoscaler to scale up. + |
+
+allocatedReplicas
+
+int32
+
+ |
+
+ AllocatedReplicas are the number of Allocated GameServer replicas + |
+
+players
+
+
+AggregatedPlayerStatus
+
|
+(Optional)
+ [Stage:Alpha] +[FeatureFlag:PlayerTracking] +Players are the current total player capacity and count for this Fleet |
-
Package v1 is the v1 version of the API.
+(Appears on: +GameServerSpec) -Resource Types: - --
FleetAutoscaler is the data structure for a FleetAutoscaler resource
+GameServerPort defines a set of Ports that +are to be exposed via the GameServer
-apiVersion
-string |
-
-
-autoscaling.agones.dev/v1
-
- |
-||||||
-kind
-string
- |
-FleetAutoscaler |
-||||||
-metadata
+name
-
-Kubernetes meta/v1.ObjectMeta
-
+string
|
-Refer to the Kubernetes API documentation for the fields of the
-metadata field.
+Name is the descriptive name of the port |
||||||
-spec
+portPolicy
-
-FleetAutoscalerSpec
+
+PortPolicy
|
- - -
HostPort the port exposed on the host for clients to connect to |
||||||
-status
+protocol
-
-FleetAutoscalerStatus
+
+Kubernetes core/v1.Protocol
|
+ Protocol is the network protocol being used. Defaults to UDP. TCP and TCPUDP are other options. |
(Appears on: -FleetAutoscalerPolicy) +GameServerSet)
-
BufferPolicy controls the desired behavior of the buffer policy.
+GameServerSetSpec the specification for GameServerSet
-maxReplicas
+replicas
int32
|
- MaxReplicas is the maximum amount of replicas that the fleet may have. -It must be bigger than both MinReplicas and BufferSize +Replicas are the number of GameServers that should be in this set |
-minReplicas
+allocationOverflow
-int32
+
+AllocationOverflow
+
|
- MinReplicas is the minimum amount of replicas that the fleet must have -If zero, it is ignored. -If non zero, it must be smaller than MaxReplicas and bigger than BufferSize +(Optional) +[Stage: Alpha]
+[FeatureFlag:FleetAllocationOverflow]
+Labels and Annotations to apply to GameServers when the number of Allocated GameServers drops below
+the desired replicas on the underlying |
-bufferSize
+scheduling
-k8s.io/apimachinery/pkg/util/intstr.IntOrString
+agones.dev/agones/pkg/apis.SchedulingStrategy
|
- BufferSize defines how many replicas the autoscaler tries to have ready all the time -Value can be an absolute number (ex: 5) or a percentage of desired gs instances (ex: 15%) -Absolute number is calculated from percentage by rounding up. -Example: when this is set to 20%, the autoscaler will make sure that 20% -of the fleet’s game server replicas are ready. When this is set to 20, -the autoscaler will make sure that there are 20 available game servers -Must be bigger than 0 -Note: by “ready” we understand in this case “non-allocated”; this is done to ensure robustness -and computation stability in different edge case (fleet just created, not enough -capacity in the cluster etc) +Scheduling strategy. Defaults to “Packed”. + |
+
+template
+
+
+GameServerTemplateSpec
+
+
+ |
+
+ Template the GameServer template to apply for this GameServerSet |
(Appears on: -FleetAutoscalerSync) +GameServerSet)
-
FixedIntervalSync controls the desired behavior of the fixed interval based sync.
+GameServerSetStatus is the status of a GameServerSet
-seconds
+replicas
int32
|
- Seconds defines how often we run fleet autoscaling in seconds +Replicas is the total number of current GameServer replicas |
-(Appears on: -FleetAutoscaleReview) -
--
FleetAutoscaleRequest defines the request to webhook autoscaler endpoint
- -Field | -Description | +
+readyReplicas
+
+int32
+
+ |
+
+ ReadyReplicas is the number of Ready GameServer replicas + |
---|---|---|---|
-uid
+reservedReplicas
-k8s.io/apimachinery/pkg/types.UID
+int32
|
- UID is an identifier for the individual request/response. It allows us to distinguish instances of requests which are -otherwise identical (parallel requests, requests when earlier requests did not modify etc) -The UID is meant to track the round trip (request/response) between the Autoscaler and the WebHook, not the user request. -It is suitable for correlating log entries between the webhook and apiserver, for either auditing or debugging. +ReservedReplicas is the number of Reserved GameServer replicas |
||
-name
+allocatedReplicas
-string
+int32
|
- Name is the name of the Fleet being scaled +AllocatedReplicas is the number of Allocated GameServer replicas |
||
-namespace
+shutdownReplicas
-string
+int32
|
- Namespace is the namespace associated with the request (if any). +ShutdownReplicas is the number of Shutdown GameServers replicas |
||
-status
+players
-
-FleetStatus
+
+AggregatedPlayerStatus
|
- The Fleet’s status values +(Optional) +[Stage:Alpha] +[FeatureFlag:PlayerTracking] +Players is the current total player capacity and count for this GameServerSet |
(Appears on: -FleetAutoscaleReview) +GameServer, +GameServerTemplateSpec)
-
FleetAutoscaleResponse defines the response of webhook autoscaler endpoint
+GameServerSpec is the spec for a GameServer resource
-uid
+container
-k8s.io/apimachinery/pkg/types.UID
+string
|
- UID is an identifier for the individual request/response. -This should be copied over from the corresponding FleetAutoscaleRequest. +Container specifies which Pod container is the game server. Only required if there is more than one +container defined |
-scale
+ports
-bool
+
+[]GameServerPort
+
|
- Set to false if no scaling should occur to the Fleet +Ports are the array of ports that can be exposed via the game server |
-replicas
+health
-int32
+
+Health
+
|
- The targeted replica count +Health configures health checking |
-
FleetAutoscaleReview is passed to the webhook with a populated Request value, -and then returned with a populated Response.
- -Field | -Description | +
+scheduling
+
+agones.dev/agones/pkg/apis.SchedulingStrategy
+
+ |
+
+ Scheduling strategy. Defaults to “Packed” + |
---|---|---|---|
-request
+sdkServer
-
-FleetAutoscaleRequest
+
+SdkServer
|
+ SdkServer specifies parameters for the Agones SDK Server sidecar container |
||
-response
+template
-
-FleetAutoscaleResponse
+
+Kubernetes core/v1.PodTemplateSpec
|
+ Template describes the Pod that will be created for the GameServer |
-(Appears on: -FleetAutoscalerSpec) -
--
FleetAutoscalerPolicy describes how to scale a fleet
- -Field | -Description | +
+players
+
+
+PlayersSpec
+
+
+ |
+
+(Optional)
+ (Alpha, PlayerTracking feature flag) Players provides the configuration for player tracking features. + |
---|---|---|---|
-type
+counters
-
-FleetAutoscalerPolicyType
+
+map[string]agones.dev/agones/pkg/apis/agones/v1.CounterStatus
|
- Type of autoscaling policy. +(Optional) +(Alpha, CountsAndLists feature flag) Counters and Lists provides the configuration for generic tracking features. |
||
-buffer
+lists
-
-BufferPolicy
+
+map[string]agones.dev/agones/pkg/apis/agones/v1.ListStatus
|
-(Optional)
- Buffer policy config params. Present only if FleetAutoscalerPolicyType = Buffer. |
||
-webhook
+eviction
-
-WebhookPolicy
+
+Eviction
|
(Optional)
- Webhook policy config params. Present only if FleetAutoscalerPolicyType = Webhook. +(Alpha, SafeToEvict feature flag) Eviction specifies the eviction tolerance of the GameServer. Defaults to “Never”. |
string
alias)(Appears on: -FleetAutoscalerPolicy) +GameServerSelector, +GameServerStatus)
-
FleetAutoscalerPolicyType is the policy for autoscaling -for a given Fleet
+GameServerState is the state for the GameServer
-(Appears on: -FleetAutoscaler) +GameServer)
-
FleetAutoscalerSpec is the spec for a Fleet Scaler
+GameServerStatus is the status for a GameServer resource
-fleetName
+state
-string
+
+GameServerState
+
|
+ GameServerState is the current state of a GameServer, e.g. Creating, Starting, Ready, etc |
-policy
+ports
-
-FleetAutoscalerPolicy
+
+[]GameServerStatusPort
|
- Autoscaling policy |
-sync
+address
-
-FleetAutoscalerSync
-
+string
|
-(Optional)
- [Stage:Beta] -[FeatureFlag:CustomFasSyncInterval] -Sync defines when FleetAutoscalers runs autoscaling |
-(Appears on: -FleetAutoscaler) -
--
FleetAutoscalerStatus defines the current status of a FleetAutoscaler
- -Field | -Description | +
+nodeName
+
+string
+
+ |
++ |
---|---|---|---|
-currentReplicas
+reservedUntil
-int32
+
+Kubernetes meta/v1.Time
+
|
- CurrentReplicas is the current number of gameserver replicas -of the fleet managed by this autoscaler, as last seen by the autoscaler |
||
-desiredReplicas
+players
-int32
+
+PlayerStatus
+
|
- DesiredReplicas is the desired number of gameserver replicas -of the fleet managed by this autoscaler, as last calculated by the autoscaler +(Optional) +[Stage:Alpha] +[FeatureFlag:PlayerTracking] |
||
-lastScaleTime
+counters
-
-Kubernetes meta/v1.Time
+
+map[string]agones.dev/agones/pkg/apis/agones/v1.CounterStatus
|
(Optional)
- lastScaleTime is the last time the FleetAutoscaler scaled the attached fleet, +(Alpha, CountsAndLists feature flag) Counters and Lists provides the configuration for generic tracking features. |
||
-ableToScale
+lists
-bool
+
+map[string]agones.dev/agones/pkg/apis/agones/v1.ListStatus
+
|
- AbleToScale indicates that we can access the target fleet +(Optional) |
||
-scalingLimited
+eviction
-bool
+
+Eviction
+
|
- ScalingLimited indicates that the calculated scale would be above or below the range -defined by MinReplicas and MaxReplicas, and has thus been capped. +(Optional) +(Alpha, SafeToEvict feature flag) Eviction specifies the eviction tolerance of the GameServer. |
(Appears on: -FleetAutoscalerSpec) +GameServerAllocationStatus, +GameServerStatus)
-
FleetAutoscalerSync describes when to sync a fleet
+GameServerStatusPort shows the port that was allocated to a +GameServer.
-type
+name
-
-FleetAutoscalerSyncType
-
+string
|
- Type of autoscaling sync. |
-fixedInterval
+port
-
-FixedIntervalSync
-
+int32
|
-(Optional)
- FixedInterval config params. Present only if FleetAutoscalerSyncType = FixedInterval. |
string
alias)-(Appears on: -FleetAutoscalerSync) -
--
FleetAutoscalerSyncType is the sync strategy for a given Fleet
- -(Appears on: -FleetAutoscalerPolicy) +FleetSpec, +GameServerSetSpec)
-
WebhookPolicy controls the desired behavior of the webhook policy. -It contains the description of the webhook autoscaler service -used to form url which is accessible inside the cluster
+GameServerTemplateSpec is a template for GameServers
-url
+metadata
+
+
+Kubernetes meta/v1.ObjectMeta
+
+
+ |
+
+Refer to the Kubernetes API documentation for the fields of the
+metadata field.
+ |
+||||||||||||||||||||||||||||||||||||||||||||||||||||||
+spec
+
+
+GameServerSpec
+
+
+ |
+
+ + +
- multicluster.agones.dev/v1-- Package v1 is the v1 version of the API. - -Resource Types: - -GameServerAllocationPolicy --- GameServerAllocationPolicy is the Schema for the gameserverallocationpolicies API - -
ClusterConnectionInfo
+ |
-clusterName
+disabled
-string
+bool
|
- Optional: the name of the targeted cluster +Disabled is whether health checking is disabled or not |
-allocationEndpoints
+periodSeconds
-[]string
+int32
|
- The endpoints for the allocator service in the targeted cluster. -If the AllocationEndpoints is not set, the allocation happens on local cluster. -If there are multiple endpoints any of the endpoints that can handle allocation request should suffice +PeriodSeconds is the number of seconds each health ping has to occur in |
-secretName
+failureThreshold
-string
+int32
|
- The name of the secret that contains TLS client certificates to connect the allocator server in the targeted cluster +FailureThreshold how many failures in a row constitutes unhealthy |
-namespace
+initialDelaySeconds
-string
+int32
|
- The cluster namespace from which to allocate gameservers +InitialDelaySeconds initial delay before checking health |
+(Appears on: +GameServerSpec, +GameServerStatus) +
++
ListStatus stores the current list values
+ +Field | +Description | +
---|---|
-serverCa
+capacity
-[]byte
+int64
+
+ |
++ | +
+values
+
+[]string
|
- The PEM encoded server CA, used by the allocator client to authenticate the remote server. |
-
ConnectionInfoIterator an iterator on ClusterConnectionInfo
+(Appears on: +GameServerStatus) + ++
PlayerStatus stores the current player capacity values
-currPriority
+count
-int
+int64
|
- currPriority Current priority index from the orderedPriorities |
-orderedPriorities
+capacity
-[]int32
+int64
|
- orderedPriorities list of ordered priorities |
-priorityToCluster
+ids
-map[int32]map[string][]*agones.dev/agones/pkg/apis/multicluster/v1.GameServerAllocationPolicy
+[]string
|
- priorityToCluster Map of priority to cluster-policies map |
+(Appears on: +GameServerSpec) +
++
PlayersSpec tracks the initial player capacity
+ +Field | +Description | +
---|---|
-clusterBlackList
+initialCapacity
-map[string]bool
+int64
|
- clusterBlackList the cluster blacklist for the clusters that has already returned |
string
alias)+(Appears on: +GameServerPort) +
++
PortPolicy is the port policy for the GameServer
+ +(Appears on: -GameServerAllocationPolicy) +GameServerSpec)
-
GameServerAllocationPolicySpec defines the desired state of GameServerAllocationPolicy
+SdkServer specifies parameters for the Agones SDK Server sidecar container
-priority
+logLevel
-int32
+
+SdkServerLogLevel
+
|
+ LogLevel for SDK server (sidecar) logs. Defaults to “Info” |
-weight
+grpcPort
-int
+int32
|
+ GRPCPort is the port on which the SDK Server binds the gRPC server to accept incoming connections |
-connectionInfo
+httpPort
-
-ClusterConnectionInfo
-
+int32
|
+ HTTPPort is the port on which the SDK Server binds the HTTP gRPC gateway server to accept incoming connections |
string
alias)+(Appears on: +SdkServer) +
++
SdkServerLogLevel is the log level for SDK server (sidecar) logs
+
Generated with gen-crd-api-reference-docs
.