stack-orchestrator/stack_orchestrator/deploy/k8s
A. F. Dudley eae4c3cdff feat(k8s): per-service resource layering in deployer
Resolve container resources using layered priority:
1. spec.yml per-container override (resources.containers.<name>)
2. Compose file deploy.resources block
3. spec.yml global resources
4. DEFAULT_CONTAINER_RESOURCES fallback

This prevents monitoring sidecars from inheriting the validator's
resource requests (e.g., 256G memory). Each service gets appropriate
resources from its compose definition unless explicitly overridden.

Note: existing deployments with a global resources block in spec.yml
can remove it once compose files declare per-service defaults.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 10:26:10 +00:00
..
helm Fix pyright type errors across codebase 2026-01-22 01:10:36 -05:00
__init__.py Rename app -> stack_orchestrator (#625) 2023-11-07 00:06:55 -07:00
cluster_info.py feat(k8s): per-service resource layering in deployer 2026-03-07 10:26:10 +00:00
deploy_k8s.py feat(k8s): namespace-per-deployment for resource isolation and cleanup 2026-02-03 18:04:52 -05:00
helpers.py fix(k8s): translate service names to localhost for sidecar containers 2026-02-03 18:10:32 -05:00
k8s_command.py Apply pre-commit linting fixes 2026-01-21 20:58:31 -05:00