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

Input reference

The function’s input is an object of kind: Input, apiVersion: aicr.fn.crossplane.io/v1beta1. Its authoritative source is input/v1beta1/input.go, and the generated CRD is package/input/aicr.fn.crossplane.io_inputs.yaml.

Every field is static unless the overlay sets it. See Values from the composite resource.

Where values come from

FieldTypeDefaultNotes
overlayFromobjectunsetWhere an overlay of this Input is read from.
overlayFrom.fieldPathstring, required when overlayFrom is setA field path on the observed composite resource, such as spec.aicr, to an object with the fields of this Input.

The recipe

FieldTypeDefaultNotes
criteriaobjectAICR recipe criteria. At least one dimension must be set, here or by the overlay.
criteria.acceleratorstringunstatedOne of AICR’s accelerators, such as h100, b200 or a100.
criteria.servicestringunstatedOne of AICR’s services, such as eks, gke, aks or kind.
criteria.intentstringunstatedtraining or inference.
criteria.osstringunstatedOne of AICR’s operating systems, such as ubuntu, cos or talos. Unstated, AICR selects the OS-agnostic recipe tier. AICR rejects an OS no recipe for the service honors, and asks for one when a service and accelerator pair has only OS-specific recipes.
criteria.platformstringunstatedOne of AICR’s platforms, such as kubeflow, slurm, runai, dynamo or nim.
profilemap of string to stringunsetOne recipe variant, keyed by profile name, such as {gpuStack: dra}. See Recipe variants and configuration.
configuration.gke.tcpxoInterfaceslist of {interfaceName, network}unsetThe eight eth1 to eth8 GKE Network mappings a recipe with the torch-distributed-tcpxo runtime requires.
configuration.runtimeInventory.modestringunsetenabled adds k8s-aibom and disabled removes it.

The target cluster

FieldTypeDefaultNotes
providerConfigRef.kindstringClusterProviderConfigClusterProviderConfig or ProviderConfig. A kind the overlay sets must be one of the two as well.
providerConfigRef.namestring, requiredStamped onto every composed Release and Object. From the Input or its overlay, so one Composition can target the cluster each composite resource names.

Components

FieldTypeDefaultNotes
componentClasseslist of stringevery classLimits the recipe to the components of the listed AICR classes, core or ops. Any other class is Fatal.
skipComponentslist of {name}noneComponents left out of the recipe. A name that matches no component raises a Warning.
componentOverridesmap of component name to overridenoneAn entry for a component that isn’t deployed is ignored with a Warning.
componentOverrides.<name>.versionstringthe recipe’sThe chart version.
componentOverrides.<name>.namespacestringthe recipe’s, or the one the component is already deployed inThe target namespace. Also how a deployed component is moved to the namespace a newer recipe names.
componentOverrides.<name>.valuesobjectunsetDeep-merged over the values the recipe resolved. On a conflict the override’s value is used. Anything but an object is Fatal on the first pass.
nodeScheduling.system.nodeSelectormap of string to stringunsetNode labels for system workloads, written to the chart values AICR’s registry lists. See Node scheduling.
nodeScheduling.system.tolerationslist of tolerationsunsetTolerations for system workloads, in the pod specification’s own format.
nodeScheduling.accelerated.nodeSelectormap of string to stringunsetNode labels for workloads on accelerated nodes.
nodeScheduling.accelerated.tolerationslist of tolerationsunsetTolerations for workloads on accelerated nodes.
draEvictionboolfalseWires AICR’s eviction contract across three components. See DRA eviction.

See Components and overrides.

Rollout and status

FieldTypeDefaultNotes
skipDeploymentOrderboolfalseEmits every component at once instead of withholding each until its dependencies report Ready. See Rollout order.
target.fieldPathstring, required when target is setWhere the status summary is written. Must be status or begin with status..