Files
knowledge-base/AI/openviking/k8s/01-deployment.yaml
updsv7 cc000c2055 openviking k8s: mount ov.conf via ConfigMap volume
- 03-configmap.yaml: add ov.conf key with embedding/vlm JSON template
- 01-deployment.yaml: add volume mount to /app/.openviking/ov.conf
2026-06-06 11:53:11 +09:00

61 lines
1.5 KiB
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: openviking
namespace: tei
labels:
app: openviking
spec:
replicas: 1
selector:
matchLabels:
app: openviking
template:
metadata:
labels:
app: openviking
spec:
containers:
- name: openviking
image: ccr.ccs.tencentyun.com/tei_agent/openviking:latest
ports:
- containerPort: 1933
protocol: TCP
envFrom:
- configMapRef:
name: openviking-config
resources:
requests:
cpu: 100m
memory: 256Mi
limits:
cpu: 500m
memory: 1Gi
livenessProbe:
httpGet:
path: /ready
port: 1933
initialDelaySeconds: 10
periodSeconds: 30
readinessProbe:
httpGet:
path: /ready
port: 1933
initialDelaySeconds: 5
periodSeconds: 10
volumeMounts:
- name: data
mountPath: /app/data
- name: openviking-config
mountPath: /app/.openviking
readOnly: true
volumes:
- name: data
persistentVolumeClaim:
claimName: openviking-data
- name: openviking-config
configMap:
name: openviking-config
items:
- key: ov.conf
path: ov.conf