mcp-proxy 更新

This commit is contained in:
Sense T
2026-05-29 13:09:23 +00:00
parent b1c307e1fe
commit b9a5e809c1
4 changed files with 32 additions and 2 deletions
+18 -1
View File
@@ -18,6 +18,9 @@ spec:
- name: tmp
emptyDir:
medium: Memory
- name: data
persistentVolumeClaim:
claimName: mcp-proxy
containers:
- name: mcp-proxy
image: image
@@ -36,6 +39,8 @@ spec:
env:
- name: NPM_CONFIG_REGISTRY
value: https://registry.npmmirror.com/
- name: UV_INDEX_URL
value: https://pypi.tuna.tsinghua.edu.cn/simple
volumeMounts:
- mountPath: /config.json
name: config
@@ -43,11 +48,23 @@ spec:
- mountPath: /start.sh
name: config
subPath: start.sh
- mountPath: /root/.npm
name: data
subPath: .npm
- mountPath: /root/.cache
name: data
subPath: .cache
- mountPath: /root/.local
name: data
subPath: .local
- mountPath: /root/.config
name: data
subPath: .config
livenessProbe:
httpGet:
port: 8080
path: /status
initialDelaySeconds: 60
initialDelaySeconds: 300
periodSeconds: 10
successThreshold: 1
failureThreshold: 3