K8s changes for NATS
This commit is contained in:
@@ -1,25 +1,25 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: sor-workers
|
||||
name: sor-chat
|
||||
namespace: stone-server
|
||||
labels:
|
||||
app: sor-workers
|
||||
app: sor-chat
|
||||
spec:
|
||||
replicas: 3
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: sor-workers
|
||||
app: sor-chat
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: sor-workers
|
||||
app: sor-chat
|
||||
spec:
|
||||
imagePullSecrets:
|
||||
- name: harbor-credentials
|
||||
|
||||
containers:
|
||||
- name: sor-workers
|
||||
- name: sor-chat
|
||||
image: registry.aeternalisgames.com/sor/sor-server:latest
|
||||
ports:
|
||||
- containerPort: 8080
|
||||
@@ -34,7 +34,7 @@ spec:
|
||||
# Business-logic services only — no WebSocket, no auth gRPC.
|
||||
# These pods subscribe to NATS and handle all game/store/social messages.
|
||||
- name: ENABLED_SERVICES
|
||||
value: "chat,collection,bazaar,content,versioning,matchmaking,game"
|
||||
value: "chat"
|
||||
|
||||
# Postgres — all schemas (chat, collection, bazaar, catalog, game, identity).
|
||||
- name: ConnectionStrings__Default
|
||||
|
||||
Reference in New Issue
Block a user