Legacy v1alpha1 API#
aim.eai.amd.com/v1alpha1 is the original AIM Engine API. It remains supported during the v1alpha2 deprecation window, but new deployments should use v1alpha2.
This section preserves the v1alpha1 reference material:
Migrating to v1alpha2 — Field-by-field mapping and conversion recipes
AIMService (v1alpha1) — The template-based service shape
AIMModel (v1alpha1) — The
custom/customTemplatesmodel shapeService Templates — Runtime configuration via
AIMServiceTemplateConditions (v1alpha1) — Template-based condition catalog
What changed#
v1alpha2 reorganises model onboarding around three flows and introduces self-contained AIMProfile resources. The summary:
v1alpha1 |
v1alpha2 |
Notes |
|---|---|---|
|
|
Profiles replace templates |
|
|
Override shape changed |
|
|
Two-step custom-model flow |
|
|
Standalone derivation resource |
|
|
Profile-copy semantics now first-class |
|
|
Sources live on the profile |
|
|
Discovery cache moved to model |
|
|
Profiles are self-contained |
|
|
Caches now key off profiles |
Coexistence#
Both API versions live in the same cluster and may be applied simultaneously. The operator dispatches each AIMService to either the v1alpha1 template pipeline or the v1alpha2 profile pipeline based on its spec shape and the optional aim.eai.amd.com/reconciler-pipeline annotation.
See Admin → Upgrading → Migration window for the canonical reference (spec-shape dispatch table, annotation values, recommended migration order, and when the annotation becomes unnecessary).
Deprecation timeline#
v1alpha1 will be removed in a future major release. The deprecation window is calibrated to give existing deployments time to migrate without disruption — track the Changelog for the exact removal release.
Before removal, the project will:
Publish a per-resource migration tool (planned).
Announce the removal release in advance.
Continue emitting deprecation warnings on every v1alpha1 spec field.
Where to migrate first#
If you’re starting a v1alpha1 → v1alpha2 migration:
Read Migrating to v1alpha2 for the field-by-field mapping.
Migrate cluster admin resources first —
AIMClusterServiceTemplate→AIMClusterProfile(or, more commonly, rebuild fromAIMClusterModeldiscovery).Migrate namespace
AIMServiceTemplate→AIMProfilenext.Switch
AIMService.spec.template→AIMService.spec.profilelast.Verify nothing references v1alpha1 templates, then delete them.
Profile derivation (AIMProfileSet, AIMModel.spec.profiles) is new in v1alpha2 — there’s no v1alpha1 equivalent to migrate. New custom-model and fine-tune workflows use these resources directly.