Build a Cloud-Style Fabric Lab, Part 10: The Stack

Longhorn on the workers (the storage leaves finally earn their name), 60Gi of language models surviving node death, a dozen apps behind one login, and the five-object checklist that publishes anything.
Fabric lab series, part 10: the stack

On this page

Nine parts of plumbing deserve a payoff. Part 9 left the lab with a front door and nothing behind it worth visiting; this part moves the tenants in: Longhorn gives the cluster real persistent storage, and a working AI stack, chat, models, agents, vector search, plus identity and monitoring, takes up residence behind the Gateway. By the end, the lab is not a demo. It is the environment I actually use.

The day-2 stack: apps behind per-app oauth2-proxy behind the Gateway, all persisting to Longhorn volumes replicated three ways across the workers on the storage leaves
Apps behind proxies behind the Gateway, and every byte of state on three workers.

Longhorn, and why only the workers

Longhorn (v1.12, installed straight from the release manifest) turns each node's local disk into distributed block storage: a volume is a set of replicas on different nodes, written synchronously, attached wherever the pod lands. The design choice that matters is which nodes get to hold replicas, and here it is only the three workers:

longhorn as the default StorageClass, exactly three Longhorn nodes all workers, and default replica count 3
Storage on the workers, replica count three, and the default StorageClass so PVCs just work.

This is Part 1's placement policy cashing in one more time. The workers hang off the storage leaves, so every replica write crosses the bonds and the L2VNI that Parts 4 and 6 built, and the leaf pair named "storage" finally carries storage. Masters hold no replicas, which keeps etcd's disk latency away from Longhorn's rebuild storms, a separation that costs nothing on day one and saves an incident later. Replica count three with three workers means one replica per node: any single worker can die and every volume stays available, rebuilding when it returns.

This post is for subscribers only

Subscribe to LevelUp I.T. newsletter and stay updated.

Don't miss anything. Get all the latest posts delivered straight to your inbox. It's free!
Great! Check your inbox and click the link to confirm your subscription.
Error! Please enter a valid email address!