Private
Public Access
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.
Dynamic Branch Deploy / build-and-deploy (push) Successful in 2m28s
Dynamic Branch Deploy / build-and-deploy (push) Successful in 2m28s
This commit is contained in:
1 parent
a17a6f5e9f
commit
8f49a691f7
2 files changed
+68
-7
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user