2026-03-19 13:45:52 +00:00
|
|
|
apiVersion: apps/v1
|
|
|
|
|
kind: Deployment
|
|
|
|
|
metadata:
|
|
|
|
|
name: furumi-dev-metadata-agent
|
|
|
|
|
labels:
|
|
|
|
|
app: furumi-dev-metadata-agent
|
|
|
|
|
spec:
|
|
|
|
|
replicas: 1
|
|
|
|
|
selector:
|
|
|
|
|
matchLabels:
|
|
|
|
|
app: furumi-dev-metadata-agent
|
|
|
|
|
template:
|
|
|
|
|
metadata:
|
|
|
|
|
labels:
|
|
|
|
|
app: furumi-dev-metadata-agent
|
|
|
|
|
spec:
|
|
|
|
|
nodeSelector:
|
|
|
|
|
kubernetes.io/hostname: master.tail2fe2d.ts.net
|
|
|
|
|
containers:
|
|
|
|
|
- name: furumi-dev-metadata-agent
|
|
|
|
|
image: ultradesu/furumi-metadata-agent:dev
|
|
|
|
|
imagePullPolicy: Always
|
|
|
|
|
env:
|
|
|
|
|
- name: FURUMI_AGENT_DATABASE_URL
|
|
|
|
|
valueFrom:
|
|
|
|
|
secretKeyRef:
|
|
|
|
|
name: furumi-ng-creds
|
|
|
|
|
key: PG_STRING
|
|
|
|
|
- name: FURUMI_AGENT_INBOX_DIR
|
|
|
|
|
value: "/inbox"
|
|
|
|
|
- name: FURUMI_AGENT_STORAGE_DIR
|
|
|
|
|
value: "/media"
|
|
|
|
|
- name: FURUMI_AGENT_OLLAMA_URL
|
2026-04-07 18:53:12 +00:00
|
|
|
value: "http://100.120.76.49:1234"
|
2026-03-19 13:45:52 +00:00
|
|
|
- name: FURUMI_AGENT_OLLAMA_MODEL
|
2026-04-07 19:58:59 +00:00
|
|
|
value: "qwen2.5-32b-instruct"
|
2026-03-19 13:45:52 +00:00
|
|
|
- name: FURUMI_AGENT_POLL_INTERVAL_SECS
|
|
|
|
|
value: "10"
|
|
|
|
|
- name: RUST_LOG
|
|
|
|
|
value: "info"
|
|
|
|
|
ports:
|
|
|
|
|
- name: admin-ui
|
|
|
|
|
containerPort: 8090
|
|
|
|
|
protocol: TCP
|
|
|
|
|
volumeMounts:
|
|
|
|
|
- name: library
|
|
|
|
|
mountPath: /media
|
|
|
|
|
- name: inbox
|
|
|
|
|
mountPath: /inbox
|
|
|
|
|
volumes:
|
|
|
|
|
- name: library
|
|
|
|
|
hostPath:
|
|
|
|
|
path: /k8s/furumi-dev/library
|
|
|
|
|
type: DirectoryOrCreate
|
|
|
|
|
- name: inbox
|
|
|
|
|
hostPath:
|
|
|
|
|
path: /k8s/furumi-dev/inbox
|
|
|
|
|
type: DirectoryOrCreate
|
|
|
|
|
|