Component ยท Control side
Component to ReleaseBinding chain
BOTH Concept Control plane
What it is
The chain of OpenChoreo objects that turns an agent definition into running pods: Component, then ComponentRelease, then ReleaseBinding, then RenderedRelease. Each step freezes or places the previous one.
Why it exists
It makes deployments repeatable and promotable. The same frozen release can be placed in several environments with different overrides.
How it works
- A Component describes the agent. A ComponentRelease is an immutable snapshot of the component, workload, type and traits. OpenChoreo's API creates it when asked to generate a release, and its spec cannot be changed afterwards.
- A ReleaseBinding, named <component>-<environment>, places one release into one environment, with overrides for variables and runtime settings.
- The controller-manager renders a RenderedRelease from a binding and its release. The RenderedRelease controller applies it in the data plane through the cluster-gateway and the plane's cluster-agent, and deleting the RenderedRelease removes what it applied.
- Promotion copies the release to the next environment's binding.
- Agent Manager writes the release and binding in a single call to avoid racing writes that once created two pods.
Identity and access
The build's last step may create releases and bindings only because of the amp-workload-deployer role.
Key facts
- Binding name
- <component>-<environment>
- Release
- Immutable snapshot
- Side
- Control plane (applies to data plane)
- Namespace
- default ns
Used by (2)
- needed by ProjectType default Cell namespace must exist before deploysProjectReleaseBinding
- called by agent-manager-service (AMS) Deploy and promoteOC REST generate-release then ReleaseBinding