mcp-proxy 更新
This commit is contained in:
+18
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user