Chapter 1
The core ideas
Five words and one rule are all you need to read the rest of this guide.
The five words
| Word | Meaning | Example |
|---|---|---|
| Profile | One app's list of what it needs to run. | The request logger's profile, request-logger-http |
| Condition | One thing the app needs, such as an API or a cache. | todos-api, request-cache |
| Extension | Defines the words a profile can use, and checks them. | Common Integrations, Env Configuration, AWS Object Store |
| Profiler | Reads your code and writes the profile. | The Go, Java, Python, and TypeScript profilers, run by rc-cli |
| Adapter | Turns a profile into requests for one platform. | The Kratix ApplicationRelease Promise in the demo |
Who does what
Five roles, and what each one does. They match the conformance classes of the specification.
| Role | What they do | Example |
|---|---|---|
| Extension author | Defines the words a profile can use | Common Integrations |
| Developer | Declares what the app needs | A few lines in the app's own code |
| Profiler | Reads the code and writes the profile | rc profile generate |
| Validator | Checks a profile against the core and its extensions | rc profile validate |
| Platform team | Decides how to provide each need, through an adapter | The Kratix Promises in the demo |
Demand and fulfillment
A profile is demand: what the app needs. Fulfillment is the platform's job: how to provide it. Tools like Radius, Crossplane, and Kratix start from a need that is already known, and a profile is where that need is written down.
Developer→Runtime Conditions Profile→Radius, Crossplane, Kratix…
| The profile (demand) | The platform (fulfillment) | |
|---|---|---|
| Says | What the app needs | How to provide it |
| Example | "A Redis cache, read through REDIS_URL" | A Redis Promise in Kratix, or a managed Redis in the cloud |
| Written by | The developer | The platform team |
| Changes when | The app needs something new | The platform changes how it provides things |
An adapter connects the two for one platform. Chapter 6 follows one through the demo.