# Authority you reclaim is authority you run

> Lab 005 · Editorial lab · Status: published · Author: Keith Townsend · July 4, 2026  
> Published by The CTO Advisor LLC (The Advisor Bench) · Layer2C Labs  
> Canonical: https://labs.layer2c.com/labs/vctoa-to-spark · Structured: https://labs.layer2c.com/labs/vctoa-to-spark.json

**Finding:** A cloud-free serve path is provable end to end; every layer moved from Ceded to Retained is a decision you now own and a system you now operate.

**Question:** The pitch every cloud-exit deck makes: leave the managed platform and take control back. This lab tests it on one production application. The Virtual CTO Advisor, all-in on a single cloud, migrates to the box (the DGX Spark, retained compute kept below the platform’s abstraction) until the serve path runs with no cloud credentials in the environment. The question is not whether it can run local. It is how much decision authority actually comes home, and what it costs to hold. The one-line loss: every layer you move from Ceded to Retained is a decision you now own and a system you now operate.

**Load:** The production advisory application, migrated as a clone: the document and vector store on CloudNativePG and pgvector, embeddings on a local model, generation on vLLM, identity on Keycloak, orchestration on k3s. Production never touched. One workload, one box, one owner sitting next to the evidence.

**Raw lab detail:** https://labs.layer2c.com/downloads/vctoa-to-spark-lab-detail.md
**Vendors:** NVIDIA (hw), Google Cloud (ref)
**Layers:** Layer 0 (Substrate), Layer 1A (Data), Layer 1B (Retrieval), Layer 2A (Orchestration), Layer 2B (Runtime), Layer 2C (Reasoning)
**Themes:** cloud-exit, authority-placement, operating-cost-of-ownership

## Verdict

**Scope:** One production workload, one DGX Spark, one owner. A cloud-free serve path proven end to end by executing probes. This is an authority measurement, not a cost claim and not an on-prem-at-scale claim, scoped to the system that actually ran.

- **DO:** Read a cloud exit as a Decision Authority Placement Model (DAPM) decision, layer by layer, not an all-or-nothing platform swap. Each layer moved from Ceded to Retained is authority you gain and an operational bill you accept. The migration priced that bill per layer so the trade is visible before it is signed.
- **DO:** Bound the platform question with a real workload before you score it. Kubernetes is not a product, it is an assembly, and it cannot be graded in the abstract. One production application draws the boundary that makes every function testable by execution instead of by datasheet. That single move is what put a Kubernetes row in the canon.
- **DON'T:** Mistake a bounded retention win for on-prem at scale. This ran one workload on one box. Cooling, power, facilities, multi-tenancy, and estate breadth never re-entered, and they change the trade.
- **DON'T:** Reclaim a layer you are not ready to operate. Retained authority is Retained responsibility. The pager comes with it, and the layers you leave Ceded may be the ones worth paying someone else to hold.

**Independence and disclosure:** Self-funded. No vendor paid for this answer, and the model that drafted the page is one of the dependencies the migration reclaimed; the findings were owner-validated against the recorded artifacts.

## Measured

| Measurement | Result | Note |
| --- | --- | --- |
| Capabilities moved Ceded → Retained | 5 | store, embeddings, generation, session state, identity |
| Capabilities still Ceded | 0 | the metal, GB10 silicon and its driver blob, was counted here as 1 until the September 28, 2026 correction: under the instrument’s Layer 0 rule, commodity NVIDIA hardware is Retained |
| Corpus re-embedded locally | 3,489 chunks | cloud-free ingest, no credentials, Hugging Face offline |
| Restore drill | 3,489 / 3,489 intact, ~2s | the force-kill wipe replayed on purpose |
| End-to-end answer, cloud-free | evidence 0.916 | grounded and cited, over the HTTPS ingress, no cloud creds |
| Canon functions scored from the migration | 26 | the bounded-kubernetes-fourthcloud row |

## Authority placement (DAPM)

**Reading:** Portability: could the enterprise take this layer elsewhere without rebuilding?

| Layer | Was | Now | Basis |
| --- | --- | --- | --- |
| Layer 0 (Substrate) | Retained | Retained | The metal, and not a cession on either side. Before the migration the application reached Google's hardware only through managed interfaces; after it, the GB10 is commodity NVIDIA hardware serving through open software. Neither ties the application to one vendor's hardware. The GPU-accounting gap above it is open source and closeable if it ever earns the effort. Corrected September 28, 2026: this row previously read Ceded on both sides, reasoning from NVIDIA's ownership of the GB10 and its driver. |
| Layer 1A (Data) | Ceded | Retained | Was Ceded because Firestore is a proprietary store with no open exit; leaving it meant moving the data and rewriting the session store, which had no seam until one was built. Now Retained on CloudNativePG and pgvector, open software behind the app's own retrieval seam. The bill: run the operator, drill the restore. |
| Layer 1B (Retrieval) | Ceded | Retained | Was Ceded because the vectors came from a hosted embedding API, and leaving it meant re-embedding the whole corpus. Now Retained on a local model on the box: all 3,489 chunks re-embedded cloud-free. The bill: own the model and the re-index. |
| Layer 2A (Orchestration) | Ceded | Retained | Was Ceded because identity ran on Firebase, and leaving it meant rebuilding the verify path against OpenID Connect. Now Retained on k3s and the operators you run, with identity on Keycloak on the platform's own Postgres. The bill: day-2 is yours, though the operator carries much of it. |
| Layer 2B (Runtime) | Ceded | Retained | Was Ceded because generation ran on Vertex, and leaving it meant standing up a different serving stack. Now Retained on vLLM, open software serving the application over the ingress. The bill: the memory budget and the uptime. |
| Layer 2C (Reasoning) | Retained | Retained | Retained on both sides because the reasoning loop is the application's own code: the ranking logic validated on the cloud ran unchanged on pgvector, and nothing at this layer had to be rebuilt to leave. Zero was delegated to any platform, by design. |

## What this does not establish

- Not a claim about on-prem at scale. One workload, one box, one owner. Cooling, power, facilities, multi-tenancy, and estate breadth did not re-enter, and each changes the operational bill.
- Not a cost claim. Total cost of ownership against the public cloud was not measured; the axis here is authority, not price.
- Identity federation was proven on one tenant, not as an estate-wide identity plane.
- The GPU-accounting gap was shown to be closeable in open source, not closed. The lab left it unbuilt on purpose.

## Open questions

- **Where is the line between Retained and Delegated when you run someone else’s open-source operator?** CloudNativePG carried real day-2 for the data tenant: provisioning, failover, backup, replica creation, all drilled. The lab counts that as Retained because the code is yours to fork, but the operational reality is closer to a delegation you can revoke. A later lab can measure how far operator-encoded day-2 goes before the authority has effectively moved.
- **How much of the operational bill can be re-delegated without ceding the decision?** Every Retained layer added a pager. The open question is how much of that load can shift to managed open-source tooling, a backup service, an observability stack, a policy engine, while the decision stays with the owner. The assessment’s priced gaps are the map of where that trade is available.

## Objection handled

**This is a homelab. It does not scale, and the public cloud is cheaper anyway.**

The lab does not claim scale or cost. It measures a different axis: authority placement. Whether the cloud is cheaper at a given utilization is a real question, and it is not this one. The finding holds independent of scale. Every capability that moved from Ceded to Retained is now a decision the owner makes and a system the owner runs.

Scale does not soften the authority result, it sharpens it. At estate scale the operational bill of each Retained layer grows, which is exactly why the placement decision has to be made deliberately rather than by default. The lab priced that bill per layer so the responsibility is legible before the migration, not discovered after it.

And the workload under test is the real production application, not a toy. It returned a grounded, cited answer with an evidence score of 0.916 over an HTTPS ingress, with no cloud credentials in the environment. The retention is measured, not asserted.

## Assessments at the time of the lab

| Vendor | Layer | Grade | As assessed |
| --- | --- | --- | --- |
| Bounded Kubernetes (k3s on NVIDIA DGX Spark) | FC-0 · Substrate | Ceded / Retained · 1–2/4 | July 4, 2026 |
| Bounded Kubernetes (k3s on NVIDIA DGX Spark) | FC-1 · Context | Retained · 1–3/4 | July 4, 2026 |
| Bounded Kubernetes (k3s on NVIDIA DGX Spark) | FC-2A · Orchestration | Retained · 1–3/4 | July 4, 2026 |
| Bounded Kubernetes (k3s on NVIDIA DGX Spark) | FC-2B · Runtime | Retained · 1–3/4 | July 4, 2026 |
| Bounded Kubernetes (k3s on NVIDIA DGX Spark) | FC-2C · Reasoning | Retained · 0/4 | July 4, 2026 |
| Bounded Kubernetes (k3s on NVIDIA DGX Spark) | FC-3 · Catalog | Retained · 1–2/4 | July 4, 2026 |
| Bounded Kubernetes (k3s on NVIDIA DGX Spark) | FC-4 · Integration | Retained · 1–2/4 | July 4, 2026 |

## Summary

The application moved to retained compute one layer at a time, and each move was recorded as a shift in decision authority. The document and vector store left Firestore for CloudNativePG and pgvector. Embeddings left a hosted API for a local model. Generation left Vertex for vLLM. Session state left Firestore for Postgres. Identity left Firebase for Keycloak. At the end the serve path ran end to end with no cloud credentials present.

Every step was validated by a probe that executed, not by a claim. The vector store survived a force-kill wipe-and-restore drill with all 3,489 chunks intact and a two-second recovery. The reasoning loop returned a grounded, cited answer over the ingress. Identity issued a real signed token and the application accepted it, refusing the request without one. The migration is the evidence, and that evidence is what a bounded Fourth Cloud assessment of Kubernetes was built from: the canon row bounded-kubernetes-fourthcloud, now live, scored on twenty-six functions earned by execution.

## Detail

The migration was executed as authority accounting, not as a lift-and-shift. Each managed dependency was replaced by a self-hosted equivalent and then proven by a probe. The store swap went behind the application’s existing retrieval provider seam, so the ranking logic validated on the cloud is the same code path on pgvector. The thread and session store had no such seam and had to be given one, which surfaced the real cost of retention: an eager cloud client in the import path blocked a cloud-free boot until the coupling was made lazy behind a store interface.

The kill-the-cloud test is the load-bearing proof. With no cloud credentials in the environment and the model cache offline, the application retrieved from pgvector, embedded locally, generated on vLLM, and answered in the owner’s voice. Identity was the last dependency to come home: the verify path swapped from Firebase to OpenID Connect against a Keycloak realm, and the application accepted a signed token and refused a request without one.

The single cession is the substrate. GPU access works through a runtime-class injection; GPU accounting does not, because the driver cannot report unified memory. That gap is closeable in the open-source device plugin, so it is Retained authority left unbuilt by choice, not a vendor lock. Every other layer is owned outright, and every owned layer added an operational bill that the assessment records as a priced gap rather than a silent assumption.

## Method and disclosure

Self-funded, no sponsor. The application was migrated as a clone and production was never touched. The serve path was proven with no cloud credentials in the environment.

What ships: the substrate, the authority movements, the operational bill per layer, and the raw lab detail. What stays proprietary: the corpus contents, the retrieval tuning, and the owner-authored assessment thresholds.

The quantitative record is the Fourth Cloud assessment bounded-kubernetes-fourthcloud, live in the canon at cloud.layer2c.com. This lab is the story of how a workload became the boundary that made that assessment possible.

Placement correction, September 28, 2026. The Layer 0 row moved from Ceded on both sides to Retained on both sides, because the instrument places Layer 0 by the hardware and the runtime adopted, not by who owns or rents the capacity: commodity x86 and NVIDIA hardware is Retained, and elsewhere an open, standard runtime is Retained while a proprietary runtime that ties the workload to one vendor’s hardware is Ceded. The earlier reading made the metal the lab’s one cession; under the rule there is none at Layer 0. The five moves at the layers above are unchanged.

Placement table re-scored, September 28, 2026. Every row is now read for portability, and the table says so at the top. Earlier tables across the labs mixed that reading with the other one, and some rows rested on location, ownership or cost. No placement changed here; the notes now give each row’s reason under that reading.

Layer 1A relabeled, October 16, 2026. The 4+1 canon split Layer 0 into three graded sub-layers, 0A Compute, 0B Network Fabric and 0C Storage, and renamed Layer 1A from Data Storage & Governance to Data Foundation & Governance. Storage is graded at 0C now, so this table’s 1A row sits under a name that no longer covers it. The row scored the application’s data store, Firestore before the migration and CloudNativePG after it. Whether a managed database reads at 1A or 0C under the split is a canon question this lab doesn’t settle, and I haven’t re-scored it. The placements don’t change: Ceded before and Retained after, for the same portability reason, wherever the row lands. The Layer 0 row keeps its original citation. It tested compute, which is 0A. The rows are left as published.

---
*Layer2C Labs · The CTO Advisor LLC (The Advisor Bench) · labs.layer2c.com*
