diff --git a/k8s/core/worker-deployment.yaml b/k8s/core/worker-deployment.yaml index ebecfd7..24da11f 100644 --- a/k8s/core/worker-deployment.yaml +++ b/k8s/core/worker-deployment.yaml @@ -36,8 +36,10 @@ spec: failureThreshold: 3 resources: requests: - memory: "256Mi" + # 出图任务把成品图/视频整张下载进内存再上传 TOS,叠 concurrency 4 峰值大; + # 768Mi 会 OOMKilled(Exit 137)连带 worker 反复重启 → 生成入口 503,故抬到 2Gi。 + memory: "512Mi" cpu: "100m" limits: - memory: "768Mi" + memory: "2Gi" cpu: "1000m"