mirror of
https://github.com/jcreek/CosmicClash.git
synced 2026-09-10 16:04:04 +00:00
18 lines
468 B
YAML
18 lines
468 B
YAML
apiVersion: autoscaling.agones.dev/v1
|
|
kind: FleetAutoscaler
|
|
metadata:
|
|
name: cosmic-clash-game
|
|
namespace: cosmic-clash
|
|
labels:
|
|
app.kubernetes.io/name: game-fleet-autoscaler
|
|
spec:
|
|
fleetName: cosmic-clash-game
|
|
policy:
|
|
type: Buffer
|
|
buffer:
|
|
# Ready floor is deliberately independent of Allocated capacity. Agones
|
|
# scales Allocated servers down to zero while preserving this buffer.
|
|
minReady: 2
|
|
maxReady: 6
|
|
bufferSize: 2
|