Upgrade from v26.6.0 to v26.9.0-1

Use this page to upgrade Alauda AI Infrastructure NPU Management from v26.6.0 to v26.9.0-1 through OperatorHub. To change the Ascend Driver version on managed nodes, use Upgrade the Containerized Driver instead.

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.

Required step after the upgrade

After the new version is running, you must delete the Ascend Device Plugin that v26.6.0 left in kube-system. Do not skip step 3. Until it is done, two Device Plugins serve the same NPUs.

Before you upgrade

  1. Read the v26.9.0-1 section of the Release Notes and the validation scope in Versions and Components.

  2. Upload the v26.9.0-1 package to the platform. See Upload Packages.

  3. Back up the NPUOperatorCtl instance:

    kubectl -n npu-operator get npuoperatorctl -o yaml > npuoperatorctl-backup.yaml
  4. Confirm that the current installation is healthy. An upgrade does not repair an installation that is already failing, and a failing baseline makes the result hard to judge.

    kubectl get npuclusterpolicy
    kubectl get node <node-name> -o jsonpath='{.status.allocatable}{"\n"}'

    The policy should be Ready and the NPU node should report its huawei.com/Ascend* resource.

1. Approve the upgrade

Use a manual approval strategy for the Subscription. After the package is uploaded, the platform offers v26.9.0-1 as an available upgrade; it can take several minutes to appear. Approve it in Administrator > Marketplace > OperatorHub on the target workload cluster.

Existing NPUOperatorCtl instances do not need to be edited for the upgrade.

2. Wait for the rollout

kubectl -n npu-operator get csv
kubectl get npuclusterpolicy
kubectl -n npu-operator get pods -o wide

The ClusterServiceVersion for v26.9.0-1 reaches Succeeded. NPUClusterPolicy reports NotReady for a few minutes while the operand DaemonSets are replaced, and then returns to Ready without intervention. In validation on Ascend 310P this took about five minutes.

3. Remove the old Device Plugin

Run these two commands once the new version is Succeeded and the policy is Ready:

kubectl -n kube-system delete daemonset ascend-device-plugin
kubectl -n kube-system delete serviceaccount ascend-device-plugin-sa

Then confirm that only one Ascend Device Plugin remains and that it is the one in the Operator namespace:

kubectl get daemonset -A | grep ascend-device-plugin

On a cluster that also runs HAMi, a DaemonSet named hami-ascend-device-plugin belongs to HAMi. Leave it in place.

Why this step is needed

v26.6.0 deploys the Ascend Device Plugin in kube-system. v26.9.0-1 deploys it in the Operator namespace. The upgrade creates the Device Plugin in the new namespace and does not remove the DaemonSet and ServiceAccount in kube-system.

If the old one stays:

  • two Device Plugins register the same NPU resource with the kubelet on every NPU node, and which one serves allocations can change after a kubelet or node restart;

  • the old Device Plugin no longer has its permissions and logs the following error every second:

    configmaps "mindx-dl-deviceinfo-<node-name>" is forbidden

What to expect

  • NPU resources on the node stay allocatable while and after the two objects are deleted. Running workloads are not interrupted.
  • The Operator does not recreate the deleted objects.
  • The cluster-scoped ClusterRole and ClusterRoleBinding of the Device Plugin are reused by v26.9.0-1. Do not delete them.

When the step does not apply

  • Fresh installations of v26.9.0-1.
  • Clusters where the Device Plugin was disabled in v26.6.0 (devicePlugin.enabled: false). The two delete commands then report NotFound, which is harmless.

4. Verify the result

kubectl get npuclusterpolicy
kubectl get node <node-name> -o jsonpath='{.status.allocatable}{"\n"}'
kubectl -n npu-exporter get servicemonitor npu-exporter-servicemonitor

Then run one workload that requests an NPU, as described in Verification.

Changes you will see after the upgrade

  • Device Plugin namespace. The Ascend Device Plugin runs in the Operator namespace. Update scripts and checks that look for it in kube-system.
  • Monitoring. The NPU Exporter ServiceMonitor is created in npu-exporter. v26.6.0 created it in monitoring and skipped it when that namespace did not exist, so a cluster without a monitoring namespace starts being scraped only after the upgrade.
  • Component versions. The MindCluster components move to 26.1.1. See Versions and Components.

What was validated

The upgrade was validated from v26.6.0 on an ARM cluster with one Ascend 310P node that uses a host-installed Driver: Operator and operand rollout, NPU allocation before and after step 3, a restart of the new Device Plugin, exporter metrics, and Prometheus scraping.

Not validated: clusters with several NPU nodes or several cards per node, the behavior after a node or kubelet restart while both Device Plugins are still present, and upgrades on Ascend 910-series or 950DT nodes.