Private
Public Access
1
0

Introduce room assignment logic based on POD_NAME and TOTAL_REPLICAS, enable selective handling for game.join and score.submit events, and update environment configurations.
All checks were successful
Dynamic Branch Deploy / build-and-deploy (push) Successful in 2m28s

This commit is contained in:
Sebastian Unterschütz
2026-01-04 17:16:09 +01:00
parent a17a6f5e9f
commit 8f49a691f7
2 changed files with 68 additions and 7 deletions

View File

@@ -27,6 +27,12 @@ spec:
value: "redis:6379"
- name: NATS_URL
value: "nats://nats:4222"
- name: TOTAL_REPLICAS
value: "2"
- name: POD_NAME
valueFrom:
fieldRef:
fieldPath: metadata.name
livenessProbe:
httpGet:
path: /health