新增engram mcp
This commit is contained in:
@@ -21,6 +21,20 @@ spec:
|
||||
- name: data
|
||||
persistentVolumeClaim:
|
||||
claimName: mcp-proxy
|
||||
- name: engram-data
|
||||
hostPath:
|
||||
path: /data/engram
|
||||
type: DirectoryOrCreate
|
||||
initContainers:
|
||||
- name: engram-init
|
||||
image: engram
|
||||
command:
|
||||
- /bin/sh
|
||||
- -c
|
||||
- "cp -r /usr/local/bin/engram /tmp/engram"
|
||||
volumeMounts:
|
||||
- name: tmp
|
||||
mountPath: /tmp
|
||||
containers:
|
||||
- name: mcp-proxy
|
||||
image: image
|
||||
@@ -41,6 +55,8 @@ spec:
|
||||
value: https://registry.npmmirror.com/
|
||||
- name: UV_INDEX_URL
|
||||
value: https://pypi.tuna.tsinghua.edu.cn/simple
|
||||
- name: ENGRAM_DATA_DIR
|
||||
value: /engram-data
|
||||
volumeMounts:
|
||||
- mountPath: /config.json
|
||||
name: config
|
||||
@@ -60,6 +76,10 @@ spec:
|
||||
- mountPath: /root/.config
|
||||
name: data
|
||||
subPath: .config
|
||||
- mountPath: /engram-data
|
||||
name: engram-data
|
||||
- mountPath: /tmp
|
||||
name: tmp
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
port: 8080
|
||||
|
||||
Reference in New Issue
Block a user