mirror of
https://github.com/jcreek/CosmicClash.git
synced 2026-09-13 15:32:06 +00:00
feat: add fleet autoscaling baseline
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
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
|
||||
@@ -7,3 +7,4 @@ resources:
|
||||
- network-policies.yaml
|
||||
- control-plane-deployment.yaml
|
||||
- fleet.yaml
|
||||
- fleet-autoscaler.yaml
|
||||
|
||||
Reference in New Issue
Block a user