feat: spread game fleet across on-demand zones

This commit is contained in:
Josh Creek
2026-08-31 21:59:51 +01:00
parent 90126a4be7
commit 72d4a604c2
4 changed files with 22 additions and 3 deletions
+9
View File
@@ -29,6 +29,15 @@ spec:
failureThreshold: 3
template:
spec:
nodeSelector:
cosmic-clash.io/capacity-type: on-demand
topologySpreadConstraints:
- maxSkew: 1
topologyKey: topology.kubernetes.io/zone
whenUnsatisfiable: DoNotSchedule
labelSelector:
matchLabels:
app.kubernetes.io/name: game-server
serviceAccountName: match-server
automountServiceAccountToken: false
securityContext: