Files
CosmicClash/deploy/k8s/base/fleet-autoscaler.yaml
T
2026-08-31 21:58:42 +01:00

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