Upgrade
This page describes how to upgrade the installed HAMi product-line components: Alauda Build of HAMi, the backend-specific Alauda Build of HAMi Ascend Device Plugin, and the optional Alauda Build of HAMi-WebUI.
Before upgrading, confirm the active backend path and the resource keys currently used by workloads. Use the current delivery package and version page as the source of truth for backend support after upgrade.
TOC
Before you upgradeUpgrade HAMiImportant Changes (v2.9)Important Changes (v2.8)Important Changes (v2.5 -> v2.6)ProcedureUpgrade HAMi Ascend Device PluginUpgrade HAMi-WebUIBackend checks after upgradeRollback conditionsRelated referencesBefore you upgrade
-
Check the supported target combination in Versions and Components and the version-specific changes in Release Notes.
-
Make all target product packages available in ACP before changing the installed versions.
-
Record the current cluster-plugin form values, active backend, node labels, RuntimeClass, resource keys, and device-plugin owner.
-
Back up HAMi ConfigMaps that contain node-specific configuration. This is required when dynamic MIG or other direct ConfigMap customization is used:
-
If the Ascend Device Plugin is installed, save its custom resource:
-
If HAMi-WebUI is installed, record its Prometheus address source and NodePort choice. Regenerate the authentication value from the current monitoring Secret instead of storing a decoded username or password.
Upgrade components in the order required by the target compatibility matrix. When a target HAMi version requires a specific HAMi-WebUI version, upgrade HAMi-WebUI before or together with HAMi. Upgrade the Ascend Device Plugin as a separate OperatorHub action.
Upgrade HAMi
Important Changes (v2.9)
Important Changes (v2.8)
Do not use release-branch installation pages as a source of truth for vendor driver, device plugin, or exporter ownership. Use the current NVIDIA GPU or Ascend NPU vendor base documentation for those components.
Important Changes (v2.5 -> v2.6)
Upgrading from v2.5 to v2.6 should not affect existing applications. Use rolling update for applications after the component upgrade to reduce unexpected runtime differences.
Procedure
- Upgrade ACP first if the target HAMi version requires a newer ACP version.
- Upload the target package of
Alauda Build of HAMito ACP. - Confirm that the selected backend remains supported by the target package, especially for Ascend NPU or Ascend vNPU paths.
- Go to
Administrator->Marketplace->Cluster Plugins, switch to the target cluster, and upgradeAlauda Build of HAMi. - Verify component pods, node allocatable resource keys, ACP quota metadata, and workload scheduling from Verification.
Reapply a backed-up node customization only after comparing it with the target version's generated configuration. Do not replace a new ConfigMap wholesale with an older schema.
Upgrade HAMi Ascend Device Plugin
- Confirm that the target Operator Bundle supports the target HAMi version and selected Ascend path.
- Upgrade
Alauda Build of HAMi Ascend Device Pluginthrough OperatorHub. If the Subscription uses manual approval, review and approve the generated InstallPlan. - Keep the existing
HAMiAscendDevicePlugincustom resource unless the release notes require a field change. - Verify that the CSV reaches
Succeeded, the custom resource reconciles, and the DaemonSet becomes Ready. - Confirm that the native Ascend Device Plugin remains stopped during the rollout.
Upgrade HAMi-WebUI
- Select the HAMi-WebUI version required by the target HAMi version.
- Regenerate and preflight the Prometheus settings by following Install HAMi-WebUI.
- Upgrade
Alauda Build of HAMi-WebUIthrough the ACP cluster-plugin page while preserving the intended Prometheus address and NodePort configuration. - Verify that the WebUI Pod becomes Ready and that the backend
instant-vectorquery returns HTTP 200 with a JSONdataarray. - On v1.10.3, verify the task-list search with a Pod name. The list is Pod-level and intentionally does not treat an internal container name as the task name.
Do not accept a page-only smoke test. A page that opens while its Prometheus request returns HTTP 523 has not passed the upgrade.
Backend checks after upgrade
After upgrade, verify:
- HAMi pods are running in the expected namespace;
- nodes selected for HAMi expose the expected HAMi resource keys;
- ACP quota metadata still matches the resource keys users request;
- the same devices are not also exposed by a conflicting vendor direct plugin path;
- monitoring uses the exporter path documented for the backend and version.
For Ascend NPU and Ascend vNPU, do not assume resource key names from earlier versions. Use the current delivery package and version page as the source of truth.
Rollback conditions
Rollback when the target component cannot reconcile, required resource keys disappear, the target runtime path fails, or representative workloads cannot allocate and release devices. Use the ACP or OLM owner to restore the previous component version and its compatible configuration. A package downgrade does not automatically make an older ConfigMap or custom resource schema safe; restore only fields supported by the rollback version and repeat Verification.