What is slo-gen?
slo-gen is a command-line tool called sg. It takes Ubuntu servers you can SSH into and turns them into hardened LXD hosts. Then it joins them into a cluster and deploys your applications onto it.
It is part of the Slo stack. Slo writes your code; slo-gen gives it somewhere to run. Its full name is Slo Genesis, which is why the specs say api_version: genesis/v1.
What it manages
| You write | sg does |
|---|---|
machine.yaml | Hardens one Ubuntu host: packages, SSH, a deploy user, Tailscale, a firewall guard, ZFS storage and LXD. |
cluster.yaml | Forms an LXD cluster over three or more of those machines. |
application.yaml | Deploys containers and VMs onto the cluster, with volumes, PostgreSQL or ClickHouse, and an HAProxy load balancer. |
| (nothing) | sg panel serves a local browser UI and JSON API over the same commands. |
How it behaves
Every resource works the same way:
- Write a spec. YAML, strict. Unknown fields are refused, so typos don't get silently ignored.
- Read the plan.
planconnects, observes and prints ordered changes with a risk grade each. It writes nothing. - Confirm the apply. The apply builds a fresh plan, prints it and asks
[y/N]. Anything butystops.
Everything sg changes is recorded in a local SQLite ledger next to your specs. Rollback and destroy only act on what that ledger proves sg created. Anything else is reported as retained and left alone.
Who it's for
People who rent a few servers and want them to behave like a small private cloud, without running a control plane. No account, no daemon, no agent on the hosts. One binary on your laptop, a directory of YAML, and SSH.
What it isn't
- Not production-proven. It's
0.1.0-dev. Read Status and limitations first. - Not a Kubernetes. There's no scheduler moving things around. You pin each instance to a member, and it stays there.
- Not a provisioner. It doesn't create servers at a cloud provider. You bring hosts you can already SSH into.