stack-orchestrator/stack_orchestrator/deploy
A. F. Dudley 019225ca18 fix(k8s): translate service names to localhost for sidecar containers
In docker-compose, services can reference each other by name (e.g., 'db:5432').
In Kubernetes, when multiple containers are in the same pod (sidecars), they
share the same network namespace and must use 'localhost' instead.

This fix adds translate_sidecar_service_names() which replaces docker-compose
service name references with 'localhost' in environment variable values for
containers that share the same pod.

Fixes issue where multi-container pods fail because one container tries to
connect to a sibling using the compose service name instead of localhost.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 18:10:32 -05:00
..
compose Fix pyright type errors across codebase 2026-01-22 01:10:36 -05:00
k8s fix(k8s): translate service names to localhost for sidecar containers 2026-02-03 18:10:32 -05:00
webapp Add --update option to deploy create 2026-01-29 08:25:05 -06:00
__init__.py Rename app -> stack_orchestrator (#625) 2023-11-07 00:06:55 -07:00
deploy_types.py Fix pyright type errors across codebase 2026-01-22 01:10:36 -05:00
deploy_util.py Fix pyright type errors across codebase 2026-01-22 01:10:36 -05:00
deploy.py Fix pyright type errors across codebase 2026-01-22 01:10:36 -05:00
deployer_factory.py Apply pre-commit linting fixes 2026-01-21 20:58:31 -05:00
deployer.py Fix pyright type errors across codebase 2026-01-22 01:10:36 -05:00
deployment_context.py Merge origin/main into multi-port-service 2026-01-24 16:48:11 -05:00
deployment_create.py Allow relative volume paths for k8s-kind deployments 2026-02-03 17:17:44 -05:00
deployment.py Fix repo root path calculation (4 parents from stack path) 2026-02-03 17:15:19 -05:00
dns_probe.py feat(deploy): add deployment restart command 2026-02-03 17:15:19 -05:00
images.py Apply pre-commit linting fixes 2026-01-21 20:58:31 -05:00
spec.py feat(k8s): namespace-per-deployment for resource isolation and cleanup 2026-02-03 18:04:52 -05:00
stack_state.py Rename app -> stack_orchestrator (#625) 2023-11-07 00:06:55 -07:00
stack.py Apply pre-commit linting fixes 2026-01-21 20:58:31 -05:00