stack-orchestrator/stack_orchestrator/deploy/k8s
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
..
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: add `deployment prepare` command (so-076.1) 2026-03-08 06:56:34 +00:00
helpers.py fix(k8s): expand etcd cleanup whitelist to preserve core cluster services 2026-03-07 17:56:13 +00:00
k8s_command.py Apply pre-commit linting fixes 2026-01-21 20:58:31 -05:00