Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

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 toRead
deploy a recipe to a clusterInstall, then Write a Composition
let each composite resource name its own recipeValues from the composite resource
look up a fieldInput reference
serve your own recipe catalogRecipe source
understand a Warning or a Fatal resultTroubleshooting
change the functionDevelopment