Upgrade the Containerized Driver
This procedure applies only to an operator-managed containerized Driver with spec.driver.installMode=containerized, spec.driver.usePrecompiled=true, and an empty spec.images.precompiledDriver.tag. In this mode, changing spec.driver.version selects a new precompiled Driver image and the Driver upgrade policy controls replacement and reboot approval.
Do not use this procedure for installMode=host. In v26.6.0, spec.driver.version is used only for precompiled image tag resolution, and spec.driver.upgradePolicy manages replacement only in containerized mode. A managed Host Driver change requires a separately planned node maintenance procedure. If spec.driver.enabled=false, follow the lifecycle process of the system that installed the Host Driver.
Commands on this page use the default Operator namespace npu-operator. If the Operator was installed in another namespace, replace npu-operator with that namespace.
TOC
Before you upgradeTrigger a precompiled Driver upgradeApprove node rebootsVerify the upgradeRollback notesBefore you upgrade
- Check Versions and Components and Compatibility.
- Mirror the new driver image tag for every NPU node profile.
- Update
ImageWhiteListentries in the target workload cluster if ACP enforces image whitelist policies. - Plan for the Operator to cordon each upgrade node and evict Pods on that node that request
huawei.com/Ascend*resources. This is not a full node drain. Stop workloads that must not be evicted, make sure PodDisruptionBudgets allow the intended eviction, and handle Pods that useemptyDirbefore the maintenance window. By default, anemptyDirworkload blocks replacement unlessspec.driver.upgradePolicy.podDeletion.deleteEmptyDir=trueis explicitly accepted. - Back up the
NPUOperatorCtlinstance YAML.
Trigger a precompiled Driver upgrade
Set NEW_VERSION to the target HDK version used by the precompiled Driver image, then choose the reboot policy:
Use autoUpgrade: false for production clusters unless automatic node reboots have been approved.
Approve node reboots
In manual mode, approve each intended upgrade node after changing the target Driver version. The approval annotation is the input that allows v26.6.0 to create the replacement transaction; the npu.openfuyao.com/reboot-required=true label appears after the approval is consumed.
Approve only the nodes included in the current maintenance window. Do not apply the raw approve-reboot=true annotation to every NPU node: on a node that does not currently need a replacement, the annotation can remain and approve a later transaction.
Verify the upgrade
Check the operator-owned reboot transaction state. v26.6.0 does not write a driver-upgrade-state label:
Check driver pod images:
Run npu-smi on NPU nodes and confirm the expected driver version.
Rollback notes
Containerized Driver rollback is a node lifecycle operation, not just an object rollback. Before attempting rollback:
- confirm the target old driver image is still available and allowed by
ImageWhiteListin the target workload cluster; - account for eviction of NPU-requesting workloads and stop workloads that must not be evicted or rebooted;
- patch
spec.driver.versionback to the previous version; - approve the required node reboot flow again.
If the previous driver version is not compatible with the current kernel, firmware, or node OS, contact Alauda Customer Support before rollback.