Files
microdao-daarion/infrastructure/deployment/dagi-router-node3.yaml
Apple 5290287058 feat: implement TTS, Document processing, and Memory Service /facts API
- TTS: xtts-v2 integration with voice cloning support
- Document: docling integration for PDF/DOCX/PPTX processing
- Memory Service: added /facts/upsert, /facts/{key}, /facts endpoints
- Added required dependencies (TTS, docling)
2026-01-17 08:16:37 -08:00

114 lines
2.5 KiB
YAML

---
# DAGI Router Deployment для NODE3 (K8s)
apiVersion: apps/v1
kind: Deployment
metadata:
name: dagi-router
namespace: daarion
labels:
app: dagi-router
component: router
node: node-3
spec:
replicas: 1
selector:
matchLabels:
app: dagi-router
node: node-3
template:
metadata:
labels:
app: dagi-router
component: router
node: node-3
spec:
nodeSelector:
kubernetes.io/hostname: node3-daarion
containers:
- name: router
image: ghcr.io/daarion-dao/dagi-router:latest
ports:
- containerPort: 9102
name: http
env:
- name: NATS_URL
value: "nats://nats-client.nats:4222"
- name: ROUTER_CONFIG_PATH
value: "/etc/router/router_config.yaml"
- name: LOG_LEVEL
value: "info"
- name: NODE_ID
value: "node-3-threadripper-rtx3090"
volumeMounts:
- name: router-config
mountPath: /etc/router
resources:
requests:
memory: "256Mi"
cpu: "100m"
limits:
memory: "512Mi"
cpu: "500m"
livenessProbe:
httpGet:
path: /health
port: 9102
initialDelaySeconds: 30
periodSeconds: 10
readinessProbe:
httpGet:
path: /health
port: 9102
initialDelaySeconds: 10
periodSeconds: 5
volumes:
- name: router-config
configMap:
name: dagi-router-config-node3
---
apiVersion: v1
kind: ConfigMap
metadata:
name: dagi-router-config-node3
namespace: daarion
data:
router_config.yaml: |
routing:
target_subject: "router.invoke.agent"
nats_url: "nats://nats-client.nats:4222"
services:
memory_service: "http://memory-service.daarion:8000"
swapper_service: "http://swapper-service.daarion:8890"
node_id: "node-3-threadripper-rtx3090"
---
apiVersion: v1
kind: Service
metadata:
name: dagi-router-node3
namespace: daarion
spec:
selector:
app: dagi-router
node: node-3
ports:
- name: http
port: 9102
targetPort: 9102
type: ClusterIP
---
apiVersion: v1
kind: Service
metadata:
name: dagi-router-node3-external
namespace: daarion
spec:
selector:
app: dagi-router
node: node-3
ports:
- name: http
port: 9102
targetPort: 9102
nodePort: 30103
type: NodePort