Agent-Hellboy / Agent-Hellboy/mcp-runtime
fix(k8s): add resource requests/limits to gateway sidecar container
- 主要言語
- Go
- スター
- 6
- フォーク
- 1
- 平均マージ
- 11時間 33分
- マージ済み PR(30日)
- 13
説明
## Problem
The gateway sidecar container in `k8s/14-mcp-gateway-sidecar.yaml` has no `resources:` block. Kubernetes cannot make scheduling decisions or enforce OOM isolation — a large MCP tool response can OOM-kill the pod with no warning.
## Fix
Add resource requests and limits to the gateway container spec:
```yaml
resources:
requests:
cpu: 50m
memory: 64Mi
limits:
cpu: 500m
memory: 256Mi
```
Tune values based on observed p99 usage from the Prometheus metrics once #300 is landed.
## Files
- `k8s/14-mcp-gateway-sidecar.yaml`
- `internal/operator/deployment.go` (operator-generated gateway container should also set defaults)
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
評価
この issue はまだ評価されていません。