stack-orchestrator/stack_orchestrator/deploy
A. F. Dudley 974eed0c73 feat: add `deployment prepare` command (so-076.1)
Refactors K8sDeployer.up() into three composable methods:
- _setup_cluster_and_namespace(): kind cluster, API, namespace, ingress
- _create_infrastructure(): PVs, PVCs, ConfigMaps, Services, NodePorts
- _create_deployment(): Deployment resource (pods)

`prepare` calls the first two only — creates all cluster infrastructure
without starting pods. This eliminates the scale-to-0 workaround where
operators had to run `deployment start` then immediately scale down.

Usage: laconic-so deployment --dir <dir> prepare

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 06:56:34 +00:00
..
compose refactor: rename `deployment update` to `deployment update-envs` 2026-03-08 02:33:20 +00:00
k8s feat: add `deployment prepare` command (so-076.1) 2026-03-08 06:56:34 +00:00
webapp refactor: rename `deployment update` to `deployment update-envs` 2026-03-08 02:33:20 +00:00
__init__.py Rename app -> stack_orchestrator (#625) 2023-11-07 00:06:55 -07:00
deploy.py feat: add `deployment prepare` command (so-076.1) 2026-03-08 06:56:34 +00: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
deployer.py feat: add `deployment prepare` command (so-076.1) 2026-03-08 06:56:34 +00:00
deployer_factory.py Apply pre-commit linting fixes 2026-01-21 20:58:31 -05:00
deployment.py feat: add `deployment prepare` command (so-076.1) 2026-03-08 06:56:34 +00: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
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): per-service resource layering in deployer 2026-03-07 10:26:10 +00:00
stack.py Apply pre-commit linting fixes 2026-01-21 20:58:31 -05:00
stack_state.py Rename app -> stack_orchestrator (#625) 2023-11-07 00:06:55 -07:00