Repository navigation
Conversation
Add framing and rationale to the spins notes, and correct claims that did not hold against the code: - frame a spin as install-time composition, and record why a durable `spin:` config field is rejected (prune/selfHeal on pack Applications) - generation needs deployment context beyond spin, provider, and size - provenance in `.bootstrapped`: written by deploy only, merged across writes, never read as desired state - packs are ordinary Argo CD Applications under a top-level `user-apps/` seam with its own app-of-apps, since `nebari-root` is non-recursive - pack Applications sync after the foundational waves 1-6 - provider translation via a data-only (provider, requirement, tier) table; `--size` selects one tier per spin - local and existing treat infrastructure requirements as preconditions - pack validation, singleton claims, and no inter-pack ordering (#428)
|
This pull request has had no activity for 30 days, so it has been labeled It will close automatically in 7 days unless something happens. A comment or a push resets the clock. If this pull request should stay open regardless, for example long-running design work or something blocked upstream, add the Closing is not final. The branch is kept, and the pull request can be reopened. |
|
Added the "status: keep open" label as this overlaps with the work I'm doing for #551 and I'd like to keep it open until we come with some decisions. |
|
James, thanks for this. A lot of the thinking here carried straight into where I landed, particularly provider translation as data and packs not being able to ignore cluster infrastructure. I've opened #670 proposing a different approach, based on your work here and Marcelo's PoC in #641. I do disagree with one part of this doc, the node group emission, and I've laid out why in the issue. We can discuss it in our team meeting and see which way we want to go. Nothing here closes this PR. |
Closes
Description
Adds
docs/design-doc/implementation/18-software-pack-spins.md, an implementationdesign for spins: curated, install-time compositions of software packs plus the
infrastructure they require.
Key positions in the design:
There is no
spin:config key and no reconcile path reads a spin.cluster.<provider>.node_groups,and one Argo CD
Applicationper pack under a top-level operator-owneduser-apps/directory, synced by an NIC-owned
apps/user-apps-root.yamlapp-of-apps.(provider, requirement, tier)tableships with the spin manifests, so NIC core carries no provider-keyed logic and
out-of-tree providers (ADR-0004) work the same way.
apps/root.yaml,pack waves ordered only against each other under
user-apps-root.llm-chatexample on AWS covering the GPU cascade, cross-pack value wiring,and the ownership boundary after generation.
exist yet, cross-namespace credential handoff is unsolved, and the GPU cascade is
AWS-only today.
Also amends ADR-0003 with an Update section:
parts of its Design did not ship as written (packs use the
nebari-appsproject, notsoftware-packs; there is nosoftware_packs:config key orpkg/softwarepack).The layered value-wiring contract remains authoritative.