Orkestra CLI Reference

2 min read

The ork CLI manages the full lifecycle of an Orkestra operator — scaffolding, validation, templating, code generation, runtime execution, and live inspection.

This page provides a brief overview of each command.
Select a command to view its full documentation.


Default file resolution
Commands that accept a Katalog or Komposer (ork run, ork validate, ork plan, ork simulate, ork template) look for katalog.yaml first, then komposer.yaml. If neither exists the command errors. To use a file with a different name, pass it explicitly: ork run -f my-katalog.yaml.

Exceptions
ork e2e looks for e2e.yaml. ork simulate looks for simulate.yaml. Both fall back to the Katalog/Komposer resolution above when their primary file is not found.

Operator Commands Overview

CommandDescription
ork initScaffold a new operator project (dynamic or typed)
ork validateValidate and merge Katalogs or Komposers
ork planShow what would change if the local Katalog were applied
ork simulateSimulate operator reconciliation in memory — no cluster needed
ork e2eRun declarative end-to-end tests against a real cluster
ork templateRender the merged, post‑validation Katalog
ork generate registryGenerate runtime registry for typed CRDs and hooks
ork runStart the runtime
ork versionPrint version and build information

Registry Commands Overview

CommandDescription
ork pushPublish a pattern to the OCI registry — runs simulate and E2E gates first
ork pullDownload a pattern to the local cache
ork inspectShow metadata and quality signals for a pattern without downloading it
ork patternsList available patterns in the registry

Tooling

CommandDescription
ork controlStart the Orkestra Control Center web UI
ork diffShow a colorized unified diff between two files
ork notesBrowse and search built-in Katalog template functions
ork migrateRewrite a controller-runtime Reconcile method to the Orkestra constructor signature
ork create clusterCreate a local kind cluster for development or testing
ork upgradeUpgrade the Orkestra CLI to the latest or a specific version
ork uninstallRemove the CLI, Control Center binary, cache, and completions