4 How do I upgrade SUSE AI Factory with NVIDIA? #
To upgrade SUSE AI Factory with NVIDIA and its template dependencies, use the Helm command-line interface. This procedure explains how to apply custom override configurations, automatically pull dependency updates, and safely deploy the latest operator version.
New releases may include breaking changes that require manual intervention.
Always review the companion README file for release-specific instructions before upgrading.
To upgrade SUSE AI Factory with NVIDIA on the command line, follow these steps:
(Optional) Identify the operator chart version number that you want to upgrade to, for example:
> skopeo list-tags docker://ghcr.io/suse/chart/aif-operatorThe latest version is 2.4.0.
Save all values of the AIF Operator Helm chart to
values.yamland customize them if required. Omit--versionto display the latest chart.> helm show values oci://ghcr.io/suse/chart/aif-operator \ --version 2.4.0 \ --output yaml \ > values.yamlUpgrade SUSE AI Factory Operator. Omit
--versionto upgrade to the latest chart.> helm upgrade --install \ aif-operator oci://ghcr.io/suse/chart/aif-operator \ -n aif-operator \ --version 2.4.0 \ -f values.yamlThe upgrade can take a few minutes.
CRDs are installed on first installation through the standard crds/ directory of the chart.
Because Helm never upgrades that directory, the chart applies CRD schema changes through a pre-install and pre-upgrade job (crds.manageWithJob=true).
The job only creates or updates CRDs; it never deletes them.
The job requires the kubectl image defined by the crds.image values.
In an air-gapped environment, mirror this image or override the registry.
In restricted environments where the installer cannot create cluster-scoped RBAC, set crds.rbac.create=false, create the service account, cluster role and cluster role binding in advance, and set crds.serviceAccountName to the name of the service account in the release namespace.
To skip the job entirely, set crds.manageWithJob=false.
You are then responsible for applying the CRDs from the chart’s crds/ directory with kubectl apply --server-side -f crds/ before each upgrade.
Before the operator is installed or upgraded, a pre-install and pre-upgrade job waits until the required Fleet and Rancher Prime catalog CRDs and the cattle-ui-plugin-system namespace are available.
The job waits for as long as the installer allows, for example as set by helm --timeout or by the Fleet helm.timeoutSeconds option.
If Rancher Prime does not become ready within that time, the installation or upgrade fails.
The job uses the kubectl image defined by the global.kubectl.image values, by default registry.suse.com/suse/kubectl:1.35.
In an air-gapped environment, mirror this image or override the registry.
Upgrade the operator and the UI extension to matching versions. The fixes for
Noneand partial secret references on theSettingspage require both the operator and the UI extension in version 2.4.0.The
SettingsandInstallAIExtensionCRDs are updated. Thenameandkeyof a secret reference must not be empty. The CRD job applies this change during the upgrade. On Kubernetes 1.30 and later, aSettingsresource that already stores a secret reference without a key, or a key without a secret, can still be updated as long as that field is not changed. Complete or clear such references the next time you edit the settings, as described in Section 3.7, “How do I change or remove secret references in the settings?”.New installations use a random default namespace. The installation wizards suggest a namespace such as
<APP>-k3x9q2ainstead of<APP>-system. If your scripts or policies expect<APP>-system, enter that namespace explicitly in the wizard. Existing workloads keep their namespace.
The partner blueprint catalog is enabled by default. The chart creates the Fleet
GitReporesourcefleet-local/aif-partner-blueprints, which synchronizes the SUSE partner blueprints from GitHub. If you already added a catalog on theSettingspage that points to the same repository, remove it after upgrading. Otherwise, twoGitReporesources synchronize the same blueprints and conflict. In air-gapped environments, disable the catalog or point it at a mirror, as described in Section 3.9.1, “SUSE partner blueprint catalog”.Catalogs declared in
blueprintCatalogsare read-only outside Helm. Change or remove them only withhelm upgrade, and always pass--reuse-valuesso that Helm keeps the other values you set. If a catalog added on theSettingspage has the same name as a Helm-declared catalog but a different repository, branch or paths,helm upgradefails with a server-side apply conflict. Remove or rename that catalog first.Server-side apply is required to combine both kinds of catalogs. If
blueprintCatalogsis not empty and you also add catalogs on theSettingspage, upgrade with server-side apply. Releases first installed with Helm 3, including releases upgraded through Rancher PrimeApps, keep using client-side apply, which drops the catalogs added on theSettingspage. Run onehelm upgrade --server-side=trueto switch the release to server-side apply; later upgrades keep it.Blueprints with
source: Communityrequire 2.3.1 or newer. Operator version 2.3.0 and earlier reject this value. If you publish blueprint catalogs, do not use it until 2.3.1 is the minimum operator version that you support.
Upgrade the operator and the UI extension to matching versions. Repository chart-access checks, blueprint customization and partner icons require both the operator and the UI extension in version 2.3.0 or newer.
Mirror the new
kubectlimage in air-gapped environments. The Rancher Prime readiness job uses the image defined byglobal.kubectl.image.New CRD and CRD changes. The
blueprintcatalogs.ai-factory.suse.comCRD is added, and theAIWorkload,BlueprintandSettingsCRDs are updated. The CRD job applies these changes during the upgrade.The status of application workloads deployed with Helm may change. Workloads that previously showed
Runningmay showPendingorDegradedafter the upgrade if their pods are not ready.The
aif-ui-configConfigMap is retained when the UI extension is uninstalled. If you install the UI extension chart on its own, without the operator, over an existingaif-ui-configConfigMap, runhelm installorhelm upgradewith the--take-ownershipoption (Helm 3.15 or newer).Custom repository names are reserved. Custom chart repositories cannot use the names of built-in SUSE AI Factory with NVIDIA repositories, default Rancher Prime repositories, NVIDIA team repositories or other existing
ClusterReporesources.Blueprints with
source: Partnerrequire 2.3.0 or newer. Operator version 2.2.0 rejects this value. If you publish blueprint catalogs, do not use it until 2.3.0 is the minimum operator version that you support.