feat: protect game fleet during voluntary disruption

This commit is contained in:
Josh Creek
2026-08-31 22:01:18 +01:00
parent 72d4a604c2
commit 52a96de8d6
5 changed files with 28 additions and 3 deletions
+15
View File
@@ -0,0 +1,15 @@
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: cosmic-clash-game
namespace: cosmic-clash
labels:
app.kubernetes.io/name: game-server-pdb
spec:
# Voluntary node drains must preserve the Fleet's two-Ready floor. Agones
# remains responsible for replacing an evicted process before more capacity
# is voluntarily removed.
minAvailable: 2
selector:
matchLabels:
app.kubernetes.io/name: game-server
+1
View File
@@ -8,3 +8,4 @@ resources:
- control-plane-deployment.yaml
- fleet.yaml
- fleet-autoscaler.yaml
- game-server-pdb.yaml