stack-orchestrator/stack_orchestrator/deploy/k8s
Prathamesh Musale 3d83c6ad27 so-l2l: make down() synchronous via _wait_for_labeled_deletions
delete_collection returns before the apiserver actually removes
objects — finalizers on PVs, PVCs, and pod graceful shutdown all
propagate async. Add _wait_for_labeled_deletions that polls the
same label selector across every kind we triggered a delete for,
with a 120s timeout. down() now returns only once the cluster has
actually settled, so callers (tests, ansible, cryovial) don't
need their own wait loops.

Update the k8s-deploy test's assert_no_labeled_resources to rely
on that synchronous contract — no polling in the test.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-16 05:35:43 +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 so-l2l Part B: down() deletes by stack label, keeps namespace 2026-04-15 13:17:13 +00:00
deploy_k8s.py so-l2l: make down() synchronous via _wait_for_labeled_deletions 2026-04-16 05:35:43 +00:00
helpers.py Fix Kind port mappings and configmap source path resolution (#742) 2026-04-14 17:33:47 +05:30
k8s_command.py Apply pre-commit linting fixes 2026-01-21 20:58:31 -05:00