Skip to main content

Examples

The examples/ directory contains runnable OAM Applications and cluster profiles. Build any of them with:

kurel build examples/01-webservice-minimal.yaml \
  --profile examples/cluster-profiles/minimal.yaml

Tested version: CI builds 14 of the 15 numbered examples with kurel from the same source revision as this site, and checks the generated manifests against the Flux schemas. It does not build 12-daemonset, because that example needs a policy the command line cannot supply. The latest published prerelease is v0.2.0-beta.5; see the status words.

Application examples

ExampleShows
01-webservice-minimal / 02-…-with-expose / 03-…-with-tls / 04-…-fullwebservice from minimal to full (expose, TLS, probes, volumes)
05-worker-minimal / 06-worker-with-traitsbackground workers
07-cronjob-minimal / 08-cronjob-fullscheduled jobs
09-postgresql-minimal / 10-postgresql-haCloudNativePG databases
11-helmHelm chart via Flux
12-daemonset / 13-statefulsetnode daemons and stateful workloads
14-full-stacka multi-component application
15-passthrough-minimalemit an arbitrary object verbatim

Cluster profiles & custom capabilities

See the Component Handlers, Trait Handlers and Policy Handlers references for the full set of types and their properties.