Overview
Composition lets you build custom APIs using function pipelines that create multiple external resources as a single object. Instead of manually creating Deployments, Services, ConfigMaps, and other resources individually, you can use a custom API to create all the necessary resources.
How compositions work
The composition workflow consists of three components:
- Composite Resource Definitions (
XRDs
) - define the API schema for the custom API you need to create your resources. - Compositions - the pipeline of logic to declare how to create those resources
- Composite Resources (
XRs
) - the resources created when users request them from your custom API.
These components work together to create your resources as a single Kubernetes object for the control plane to manage.