A request, step by step
Crossplane calls the function when it reconciles a composite resource. This
page follows one call from the Input to the desired state, in the
order the function works. Each step links to the page that covers it.
- The Input is resolved. The static
Inputfrom the Composition is merged with the object atoverlayFrom.fieldPathon the composite resource. An unknown field in either is Fatal. See Values from the composite resource. - The criteria and the provider config are checked. At least one criteria dimension must be set and each value must be one AICR knows. The provider config needs a name.
- AICR resolves the recipe. The criteria select it, and
profileandconfigurationshape it. See Recipe variants and configuration. - The managed components are selected. The function deploys the
recipe’s Helm components that AICR enables.
skipComponentsremoves some by name, andcomponentClassesremoves whole classes. See Components and overrides. - Values and namespaces are settled. Each component’s values are
resolved and
nodeSchedulingis written into them.draEvictionis wired when set, and a component that’s already deployed keeps its namespace. See Node scheduling. - The manifest files are rendered. AICR’s manifest files are Helm-style
templates. The function renders them with the component’s values and
splits them into documents. A component whose manifests need its
namespace before a chart creates it gets an
Objectfor the namespace. Then the function runs AICR’s bundle checks. What AICR would refuse to bundle is Fatal for a component that isn’t deployed yet. - The provider schemas are required. The function asks Crossplane for
the
Releaseschema when the recipe has a chart, and for theObjectschema when a manifest rendered a document. Until Crossplane has resolved them the function composes nothing, and Crossplane calls it again within the same reconcile. See Schema validation. - The resources are composed and validated. One
Releaseper chart and oneObjectper manifest document, each checked against its schema. - The gate withholds what isn’t due. Unless
skipDeploymentOrderis set, a resource whose prerequisites aren’t observedReadyis left out of the desired state. See Rollout order. - Upgrades are assessed. A chart version change to a deployed
Releaseis looked up in AICR’s upgrade records. See Upgrades. - The summary is written. When
targetis set, the function writes the recipe’s identity and the rollout’s progress to the status of the composite resource. See The status summary.
Results
The function reports through the results Crossplane turns into events on the composite resource.
| Severity | Meaning |
|---|---|
| Fatal | The function composed nothing this pass. The message says what to fix, such as an Input field or a missing provider. |
| Warning | The pass went through, with something to look at, such as a namespace that was kept or an upgrade AICR doesn’t rate safe. |
| Normal | Progress. Each resource the gate withholds is named with what it waits for. |