rc-demos is the hands-on playground for
Runtime Conditions: runnable workload apps,
committed Runtime Conditions Profiles
generated from them, and downstream adapter demos that fulfill those profiles with real
platforms: a local development binder, Kratix, and a KinD + Cilium + Backstage lab.
A Runtime Conditions Profile is a portable, machine-readable list of what one workload
needs at runtime: the APIs, caches, datastores, and environment configuration it depends
on. The demos here show the whole loop. The workload declares the need once in its source,
the rc-cli generates the Profile,
validation checks it against the spec, and a platform fulfills it.
Example scenario: everything in this repo revolves around one workload, the
request logger. It depends on a Todos API
reachable at TODOS_API_URL and a Redis cache at REDIS_URL. Its committed Profile,
artifacts/request-logger-http.profile.yaml,
is exactly what the demos in this repo fulfill, in a local dev environment and on Kratix.
- Guide and concepts: https://runtimeconditions.io
- Profile specification: https://github.com/runtimeconditions/spec defines the profile format every demo profile follows
- Tooling:
rc-cligenerates and validates the Profiles committed underartifacts/
Check the committed demo Profile against the core schema embedded in rc and the
definitions of the extensions it declares:
$ git clone https://github.com/runtimeconditions/rc-demos.git
$ rc profile validate rc-demos/artifacts/request-logger-http.profile.yaml
runtimeconditions: profile validatedInstall rc-cli first if you don't have it; it provides the rc executable you run
below. Either use Homebrew, or configure the apt / dnf repositories that setup.sh
provides:
brew install runtimeconditions/tools/rc-cli
curl -fsSL https://runtimeconditions.io/packages/setup.sh | sudo sh
sudo apt install rc-cli # or: sudo dnf install rc-cliThen pick a demo to run end to end: Running the Kratix demo spins up a full KinD cluster with Kratix, while the other guides cover the lighter-weight experiments.
| Path | What it is |
|---|---|
docs/ |
How-to guides for this repo: the request logger apps, generating profiles, running the Kratix demo |
apps/request-logger-http/ |
Go workload that imports first-party declaration packages and demonstrates explicit profile declarations |
apps/request-logger-http-java/ |
Java workload with matching explicit declarations for the same Conditions as the Go request logger |
apps/request-logger-http-python/ |
Python workload declaring the same Conditions via the PyPI bindings |
apps/todos-api/ |
Simple provider API used by the request logger demo |
artifacts/ |
The generated, committed request-logger Profile (request-logger-http.profile.yaml) shared by the consumers |
catalog/apis/ |
OpenAPI and catalog files for the Todos API, used by the adapter demos |
portable-profile/ |
One generated request-logger Profile consumed by both a local development environment and the Kratix deployment path |
kratix/ |
Kratix Promises, manifests, and scripts that fulfill the Profile on a cluster |
validated-profile-handoff/ |
Verifying trusted upstream validation evidence for exact Profile and extension artifacts before consumer support evaluation |
dev-container-profile/ |
Development scaffold and acceptance contract for a build-time Profile composition demo |
cilium-policy/ |
A complete KinD, Cilium, Backstage, and microservice lab for building an RCProfile-to-CiliumNetworkPolicy adapter |
Guides for this repo:
- The request logger apps: Go, Java and Python bindings and build commands
- Generating a profile from an app: profilers and
rc profile generateper language - Running the Kratix demo: cluster setup, deployment, and the breaking-change path
Each demo has its own guide:
- Portable Profile: one demand, two fulfillments (local dev binder and Kratix)
- Validated Profile handoff: trusted upstream validation evidence for a received Profile; see also PUBLISHED-MIGRATION.md for pinned dependencies and reproduction commands
- Dev-container Profile: build-time Profile composition; start from PROJECT-BRIEF.md, design notes in COMPOSITION-NOTES.md
- Cilium policy lab: RCProfile-to-CiliumNetworkPolicy adapter; contract in docs/adapter-contract.md, setup in docs/manual-install.md
The full list of Runtime Conditions repositories lives on the organization page and in rc-cli's README. The repos this demo repo connects to directly:
- rc-cli: the
rcbinary that generates (rc profile generate) and validates (rc profile validate) the profiles inartifacts/; the quickstart validates one of them - spec: defines the Profile format;
rcpins the core schema at build time and the committed Profiles follow it - extensions: the extension vocabulary and schemas the Profiles declare; the apps import the published binding packages built from it
- go-rc-profiler: compiled
into
rc, profiles the Go app - java-rc-profiler and python-rc-profiler: add-ons that profile the Java and Python request loggers
- backstage-plugin: consumes profiles in Backstage; exercised by the cilium-policy lab
See CONTRIBUTING.md.
MIT: Copyright (c) 2026 Runtime Conditions.