JaaS vs the jsonnet CLI see history edit this page

Talks about: , and

The jsonnet command-line tool — usually paired with jsonnet-bundler (jb) for vendoring libraries — evaluates Jsonnet to JSON on your machine. JaaS runs the same go-jsonnet core as a service. This is not a question of which implementation is correct; it is a question of where the evaluation runs and what surrounds it.

What the service adds

Over a local binary invocation, JaaS adds:

When the plain CLI is the right tool

The CLI is the better choice for work that is local and one-off:

Because JaaS runs the same go-jsonnet core, these are not mutually exclusive: you can keep jsonnet and jb on your workstation and in CI, and run JaaS in-cluster for the server-side and GitOps paths, with both producing the same JSON for the same input. The local rendering tutorial shows JaaS used purely as a renderer, which keeps the local and in-cluster output aligned.