Skip to Content
Alzo

FAQ

Why not Kubernetes?

Because a control plane is a high price for readiness checks and a dashboard. In the community threads we read while designing Alzo, don't develop on Kubernetes at all outvotes tool comparisons in nearly every thread, and the most common destination for people leaving Tilt is no tool: "the feedback loop is just waaay faster if I did it in local without deploying in kubernetes." If your production environment is Kubernetes and you need a genuinely high-fidelity local replica, use Tilt; it is good at that and Alzo is not trying to be.

Why TypeScript rather than YAML?

Not for loops and conditionals. For references. dependsOn: [db.available] is a variable, so it is type-checked, autocompleted, impossible to misspell, and a cycle in the ordering graph is a compile error rather than a runtime discovery. The deepest criticism we found of a configuration language in this category is that it cannot reach the tool's own abstractions. A Tilt user: "There's clearly a k8s abstraction there used by starlark but I cant get to it within the language and have to shell out to kubectl or tilt get."

The configuration remains a declarative data structure. TypeScript is not a licence to write a program.

The strongest argument against this position deserves stating. From a Hacker News thread on Compose:

"Given that YAML it's a configuration language I'd say that not being turing complete it's a feature, not a bug nor a limitation; I always want my language files to be declarative to not suffer the perils of logic."

That is correct, and it is why the answer above is about references rather than logic. But the argument has a measurable failure mode. Compose's YAML anchors cannot cross a file boundary, and all three issues asking for that were closed as unfixable — "we unfortunately can't fix yaml." Foreman's maintainer closed the request for comments in a Procfile with "I'd like to leave the Procfile as simple as possible", and then documented the workaround: move the logic into a bin/web shell script with an if in it.

The logic does not disappear when the configuration language refuses it. It moves somewhere with no types, no editor support and no review — a shell script, a Jinja template, an awk filter rewriting the YAML in place. One team, having lost extends, invented its own service naming convention to compensate, prefacing it with "to show the extent of abuse":

"Due to lack of 'expressivity' in Compose, we define our own couple of service 'pseudo-types': image-only services (name *-image) … base services (name *-base) … task services (name *-task) … 'real' services."

Those are node kinds, spelled as a naming convention because the format had nowhere to put them. Alzo has defineBuild, defineTask and defineService for the same reason — not because a configuration should be a program, but because a graph has kinds of nodes, and a format that cannot say so makes its users encode them in strings.

We are a Go shop. Do we have to write TypeScript?

Yes, and it is the most honest objection to this tool.

It is worth knowing how often this has decided things. Dagger's founder named CUE as "the number one complaint" and moved to language SDKs. Earthly conceded that "moving to Earthfiles can feel overwhelming" and built a separate cacher that needed no syntax change. And .NET Aspire's product owner asked her own users, in public: "is the app host itself being in c# a deal breaker?" — to which a polyglot agency answered "making others learn C#, when everyone knows the Docker ecosystem, is a hard sell."

Three vendors, three independent admissions, one axis. (HashiCorp retired CDKTF saying it "did not find product-market fit at scale" — but they blamed the product, not the language, so they do not belong in this list.) YAML's real advantage is not that it is good; it is that it is nobody's language, and therefore everybody's.

Two things make the trade defensible here, and neither makes it free. The configuration is a declarative data structure, not a program — you are filling in a typed object, and the TypeScript you write is object literals, string templates and the occasional ternary. And nothing in your application has to be TypeScript: provision.image and run take any image and any command, which is why the Airflow and Kafka examples contain no application code at all.

But if your team has no TypeScript anywhere and your stack fits Compose comfortably, Compose is the right answer and this tool is not for you.

Who is this for — the application team or the platform team?

The sharpest framing of the whole code-versus-YAML argument came from a developer weighing Aspire against Compose:

"Cloud ops engineers speak in yaml; software engineers speak in their respective languages."

Their point is that code-as-configuration moves orchestration inside the artifact the application team owns and compiles. If the same people write the services and decide how they run locally, that is exactly right. If a separate platform team owns orchestration and receives requirements from product teams, it is exactly wrong, and YAML's neutrality is the feature.

Alzo is built for the first case, which is what a development environment almost always is. The application graph stays owned there. When the graph travels toward production, a separate target binding will supply the platform team's hosts, domains, secrets, placement, budgets and rollout policy, so those concerns stay off the application nodes.

Why does alzo up block?

Foreground supervision is the default: keep the terminal open, and Ctrl-C stops its processes while retaining volumes. Use alzo up --wait (or --detach) to start a background supervisor, wait for everything to settle and return. Then alzo stop ends that supervisor while retaining data, and alzo down also runs teardown and removes resources according to their retention policy. See the lifecycle table.

Why does a dependency restarting not restart its dependents?

Because a dependency restarting keeps its address — allocated ports are stable — so a dependent is almost never wrong afterwards. Automatic cascades are infuriating in a feedback loop: one transient type error should not bounce your whole environment.

When a dependent genuinely is invalidated, say so on the dependent with restartOn:

const worker = defineService({
  name: 'worker',
  run: 'pnpm worker',
  dependsOn: [migrate.done],    // ordering: start after
  restartOn: [migrate.done],    // invalidation: bounce when it runs again
});

dependsOn and restartOn are separate lists because ordering and invalidation are different questions. alzo restart ...api remains available for the ad-hoc case.

Why does Alzo not read .env files?

Three reasons. Parsing them well is harder than it looks, and we would do it worse than the tools that specialise in it. It is incompatible with encrypted .env files, which we would read as ciphertext. And "secrets come from the environment" and "Alzo loads env files" cannot both be true; one of them has to be the boundary. Secrets and parameters shows how to use a loader instead.

Does the configuration deploy anywhere?

Not today. The direction is an opinionated deployment target for one to N Docker hosts that you provide. A verified, immutable release would be promoted to preview and production without rebuilding it, and target bindings would carry hosts, domains, secrets, scaling, state and rollout policy outside the application nodes. The engine would not provision the hosts or claim development-production parity. Alzo Cloud is a planned managed service that would provision and operate that capacity for you; it is not available today. Local and self-hosted use remain first-class.

On this page