Agent-Hellboy / Agent-Hellboy/mcp-runtime
fix(k8s): add resource requests/limits to gateway sidecar container
- Langage dominant
- Go
- Étoiles
- 6
- Forks
- 1
- Merge moyen
- 11 h 33 min
- PR mergées (30 j)
- 13
Description
## 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)
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.