mirror of
https://github.com/jcreek/CosmicClash.git
synced 2026-09-10 16:04:04 +00:00
feat: spread game fleet across on-demand zones
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user