Examples
The examples/ directory
contains runnable OAM Applications and cluster profiles. Build any of them with:
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
| Example | Shows |
|---|---|
01-webservice-minimal / 02-…-with-expose / 03-…-with-tls / 04-…-full | webservice from minimal to full (expose, TLS, probes, volumes) |
05-worker-minimal / 06-worker-with-traits | background workers |
07-cronjob-minimal / 08-cronjob-full | scheduled jobs |
09-postgresql-minimal / 10-postgresql-ha | CloudNativePG databases |
11-helm | Helm chart via Flux |
12-daemonset / 13-statefulset | node daemons and stateful workloads |
14-full-stack | a multi-component application |
15-passthrough-minimal | emit an arbitrary object verbatim |
Cluster profiles & custom capabilities
cluster-profiles/— platform profiles (minimal, cert-manager + vault, gateway + AWS, …).custom-capability/— extending kurel with a custom capability.
See the Component Handlers, Trait Handlers and Policy Handlers references for the full set of types and their properties.