deploy: rollout v10 stability fix
Build MCP Services / build-mcp-filesystem (push) Has been cancelled
Details
Build MCP Services / build-mcp-filesystem (push) Has been cancelled
Details
This commit is contained in:
parent
b12e4f781c
commit
b0165b80f9
|
|
@ -5,8 +5,9 @@ metadata:
|
||||||
namespace: curio
|
namespace: curio
|
||||||
annotations:
|
annotations:
|
||||||
k8s.apisix.apache.org/enable-websocket: "true"
|
k8s.apisix.apache.org/enable-websocket: "true"
|
||||||
k8s.apisix.apache.org/proxy-rewrite: '{"regex_report": ["/api/whisper/(.*)", "/$1"]}'
|
k8s.apisix.apache.org/proxy-rewrite: '{"uri": "/$1", "regex_uri": ["^/api/whisper/(.*)", "/$1"]}'
|
||||||
k8s.apisix.apache.org/upstream-read-timeout: "60s"
|
k8s.apisix.apache.org/upstream-read-timeout: "120s"
|
||||||
|
k8s.apisix.apache.org/upstream-send-timeout: "120s"
|
||||||
spec:
|
spec:
|
||||||
ingressClassName: apisix
|
ingressClassName: apisix
|
||||||
rules:
|
rules:
|
||||||
|
|
|
||||||
|
|
@ -15,19 +15,19 @@ spec:
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: whisper
|
- name: whisper
|
||||||
image: fedirzh/faster-whisper-server:latest
|
image: fedirzh/faster-whisper-server:latest-cpu # Force CPU mode for cluster stability
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8000
|
- containerPort: 8000
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: "1"
|
cpu: "250m"
|
||||||
memory: "2Gi"
|
memory: "512Mi" # Drastically reduced to ensure scheduling
|
||||||
limits:
|
limits:
|
||||||
cpu: "2"
|
cpu: "1"
|
||||||
memory: "4Gi"
|
memory: "1Gi"
|
||||||
env:
|
env:
|
||||||
- name: WHISPER_MODEL
|
- name: WHISPER_MODEL
|
||||||
value: "tiny" # Faster startup, lightweight
|
value: "tiny"
|
||||||
- name: WHISPER_TASK
|
- name: WHISPER_TASK
|
||||||
value: "transcribe"
|
value: "transcribe"
|
||||||
---
|
---
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue