2026-05-24 20:31:59 +00:00
|
|
|
apiVersion: apps/v1
|
|
|
|
|
kind: Deployment
|
|
|
|
|
metadata:
|
|
|
|
|
name: embedding-service
|
|
|
|
|
namespace: customer1
|
|
|
|
|
labels:
|
|
|
|
|
app: embedding-service
|
|
|
|
|
spec:
|
|
|
|
|
replicas: 1
|
|
|
|
|
selector:
|
|
|
|
|
matchLabels:
|
|
|
|
|
app: embedding-service
|
|
|
|
|
template:
|
|
|
|
|
metadata:
|
|
|
|
|
labels:
|
|
|
|
|
app: embedding-service
|
|
|
|
|
spec:
|
|
|
|
|
containers:
|
|
|
|
|
- name: embedding-service
|
2026-05-25 01:35:28 +00:00
|
|
|
image: ghcr.io/sirius0xdev/trading-embedding-service:latest
|
2026-05-24 20:31:59 +00:00
|
|
|
ports:
|
|
|
|
|
- containerPort: 8000
|
|
|
|
|
name: http
|
|
|
|
|
protocol: TCP
|
|
|
|
|
env:
|
|
|
|
|
- name: MODEL_NAME
|
|
|
|
|
value: "nomic-embed-text-v1.5"
|
|
|
|
|
resources:
|
|
|
|
|
requests:
|
|
|
|
|
cpu: "500m"
|
|
|
|
|
memory: "2Gi"
|
|
|
|
|
limits:
|
|
|
|
|
cpu: "2000m"
|
|
|
|
|
memory: "4Gi"
|
|
|
|
|
startupProbe:
|
|
|
|
|
httpGet:
|
|
|
|
|
path: /health
|
|
|
|
|
port: 8000
|
|
|
|
|
initialDelaySeconds: 60
|
|
|
|
|
periodSeconds: 10
|
|
|
|
|
failureThreshold: 12
|
|
|
|
|
livenessProbe:
|
|
|
|
|
httpGet:
|
|
|
|
|
path: /health
|
|
|
|
|
port: 8000
|
|
|
|
|
initialDelaySeconds: 180
|
|
|
|
|
periodSeconds: 30
|
|
|
|
|
failureThreshold: 3
|
|
|
|
|
readinessProbe:
|
|
|
|
|
httpGet:
|
|
|
|
|
path: /health
|
|
|
|
|
port: 8000
|
|
|
|
|
initialDelaySeconds: 60
|
|
|
|
|
periodSeconds: 10
|
|
|
|
|
failureThreshold: 3
|