ork create
Create Orkestra infrastructure resources.
ork create <subcommand> [flags]
Subcommands
ork create cluster
Create a local kind cluster for Orkestra development or testing. Downloads kind automatically if it is not found in PATH and switches kubectl to the new cluster’s context.
ork create cluster [flags]
Flags
| Flag | Default | Description |
|---|---|---|
--name <name> | ork-playground | Name of the kind cluster to create |
--provider <provider> | kind | Cluster provider — only kind is supported |
Examples
Create the default playground cluster:
ork create cluster
Create a named cluster:
ork create cluster --name ork-e2e
Behavior
- Creates the kind cluster and waits for it to be ready.
- Switches the active
kubectlcontext to the new cluster (kind-<name>). - Subsequent
ork run,ork e2e, andkubectlcommands operate against this cluster.
ork create pattern
Scaffold a complete Orkestra pattern directory: katalog.yaml, simulate.yaml, e2e.yaml, and README.md. In typed mode, also writes values.yaml, Makefile, and Dockerfile.
ork create pattern [flags]
Flags
| Flag | Description |
|---|---|
--add-hook | Typed mode: include a hooks section in katalog.yaml (also writes values.yaml, Makefile, Dockerfile) |
--add-constructor | Typed mode: include a constructor section in katalog.yaml (also writes values.yaml, Makefile, Dockerfile) |
--typed | Typed mode: include both sections commented (also writes values.yaml, Makefile, Dockerfile) |
-o, --output <dir> | Output directory (default: current directory) |
Files written
| File | Always | Typed mode only |
|---|---|---|
katalog.yaml | Yes | — |
simulate.yaml | Yes | — |
e2e.yaml | Yes | — |
README.md | Yes | — |
values.yaml | — | Yes |
Makefile | — | Yes |
Dockerfile | — | Yes |
Examples
Scaffold a dynamic-mode pattern in the current directory:
ork create pattern
Scaffold into a new directory:
ork create pattern -o ./my-operator/
Typed mode with hooks:
ork create pattern --add-hook -o ./my-operator/
Typed mode with both sections (choose one after generation):
ork create pattern --typed
Behavior
katalog.yamlis generated by the same engine asork generate katalog— the typed flags behave identically.simulate.yamlande2e.yamlare minimal starters that reference./katalog.yamland./cr.yaml. Edit assertions before running.e2e.yamlin typed mode includesvaluesFiles: [./values.yaml]— the values file is howork e2epasses the runtime image to the Orkestra Helm chart.values.yamlsetsruntime.image.repositoryandruntime.image.tag. Update these aftermake releasebefore runningork e2e.README.mdcontains numbered, actionable steps from edit to release. Typed mode adds the registry generation and build steps.Makefiletargets:registry,build,build-runtime,validate,simulate,e2e,docker,push,release,clean.Dockerfilebuilds a production image using the runtime binary only (distroless base, no shell).
Notes
ork create clusteris intended for local development and CI environments, not production.- Only the
kindprovider is supported. Other providers (minikube, k3s) are not yet available.