feat(multiplayer): harden allocator rollout

This commit is contained in:
Josh Creek
2026-09-01 18:50:09 +01:00
parent 2e1c010fa2
commit 398d6ade61
3 changed files with 33 additions and 1 deletions
+22
View File
@@ -8,6 +8,11 @@ metadata:
app.kubernetes.io/component: allocator
spec:
replicas: 2
strategy:
type: RollingUpdate
rollingUpdate:
maxUnavailable: 0
maxSurge: 1
selector:
matchLabels:
app.kubernetes.io/name: allocator
@@ -17,6 +22,7 @@ spec:
app.kubernetes.io/name: allocator
app.kubernetes.io/component: allocator
spec:
terminationGracePeriodSeconds: 10
serviceAccountName: allocator
automountServiceAccountToken: false
securityContext:
@@ -36,6 +42,22 @@ spec:
ports:
- name: metrics
containerPort: 9091
readinessProbe:
httpGet:
path: /metrics
port: metrics
initialDelaySeconds: 2
periodSeconds: 5
timeoutSeconds: 2
failureThreshold: 3
livenessProbe:
httpGet:
path: /metrics
port: metrics
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 2
failureThreshold: 3
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true