function-aicr
function-aicr is a Crossplane composition function that deploys
an NVIDIA AI Cluster Runtime (AICR) recipe. AICR captures known-good
combinations of GPU drivers, operators and platform components as
version-locked recipes. Give the function the recipe criteria (accelerator,
service, intent, OS, platform) and it resolves the matching recipe from
AICR’s catalog. It expands the recipe into namespaced
provider-helm Releases and
provider-kubernetes Objects that target a workload
cluster, rolled out in AICR’s dependency order.
The function embeds AICR’s recipe engine and catalog, so there is nothing to install besides the function package and the two providers whose resources it composes. The AICR documentation describes the recipes themselves.
Each recipe component becomes one Release for its Helm chart and one
Object per document of its manifest files. The function checks each
composed resource against the provider CRD schema Crossplane resolves for it
before emitting it, and withholds it from the desired state until what AICR
orders before it reports Ready.
Where to start
| You want to | Read |
|---|---|
| deploy a recipe to a cluster | Install, then Write a Composition |
| let each composite resource name its own recipe | Values from the composite resource |
| look up a field | Input reference |
| serve your own recipe catalog | Recipe source |
| understand a Warning or a Fatal result | Troubleshooting |
| change the function | Development |