Uninstall

Uninstalling Alauda AI Infrastructure NPU Management removes the product-managed controller and NPU components. It does not automatically make existing workloads portable to non-NPU nodes.

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.

Before you uninstall

  1. Stop or move workloads that request NPU resources such as huawei.com/Ascend910, huawei.com/Ascend310P, or another huawei.com/Ascend* key reported by the installed device plugin.
  2. Record the current NPUOperatorCtl YAML.
  3. Check whether the host driver is managed by the operator or installed out of band.
  4. Check whether ACP quota metadata or dashboards should be kept for a later reinstall.

Uninstall flow

  1. Delete the NPUOperatorCtl instance. Do this before you remove the Operator: the Operator must still be running to remove the NPUClusterPolicy and the components it manages.
  2. Wait for product-managed DaemonSets and pods to be removed. In validation on Ascend 310P, the policy and all components were gone within seconds and no finalizer remained.
  3. Uninstall Alauda AI Infrastructure NPU Management from OperatorHub. This removes the Subscription and the ClusterServiceVersion.
  4. Remove NPU-specific node labels only after confirming no other product relies on them.
  5. Remove product-specific dashboards or alerts if they are no longer used.

Driver cleanup

When the operator-managed driver pod is removed, kernel modules already loaded on the host may remain loaded until the node reboots. To fully clear driver state from a host, plan a node reboot after uninstall.

Do not remove vendor driver files or firmware manually unless your operations plan explicitly owns that driver lifecycle.

Verify uninstall

kubectl -n npu-operator get pods
kubectl -n npu-operator get daemonset ascend-device-plugin --ignore-not-found
kubectl -n kube-system get daemonset ascend-device-plugin --ignore-not-found
kubectl -n npu-exporter get daemonset npu-exporter --ignore-not-found
kubectl -n npu-exporter get servicemonitor npu-exporter-servicemonitor --ignore-not-found
kubectl -n mindx-dl get deployment ascend-operator-manager clusterd resilience-controller --ignore-not-found
kubectl -n mindx-dl get daemonset noded --ignore-not-found
kubectl -n default get daemonset mindio-tft mindio-acp --ignore-not-found
kubectl get node ${nodeName} -o jsonpath='{.status.allocatable}'

The product workloads should be gone from all component namespaces. NPU allocatable resources should disappear after the Device Plugin is removed and kubelet reports updated node status.

The second ascend-device-plugin command checks kube-system, where v26.6.0 ran the Device Plugin. It returns a DaemonSet only on a cluster that was upgraded from v26.6.0 without the required cleanup.

Objects that remain after uninstall

Uninstalling removes the workloads, the ascend RuntimeClass, the NodeFeatureRule, the admission webhook configuration, the ServiceMonitor, and the component ClusterRoles. The following objects remain. They do not block a later installation; remove them only when you want a complete cleanup.

ObjectWhereRemove with
CRDs npuoperatorctls.npu-operator.alauda.io, npuclusterpolicies.npu.openfuyao.com, ascendjobs.mindxdl.gitee.com, hypernodes.topology.volcano.shClusterkubectl delete crd <name>
Empty namespaces npu-operator and npu-exporter; also mindx-dl and volcano-system if those components were ever enabledClusterkubectl delete namespace <name>
Webhook certificate Secret npu-pod-webhook-serving-certOperator namespaceRemoved with the namespace
ConfigMap mindx-dl-deviceinfo-<node-name>, one per NPU nodekube-systemkubectl -n kube-system delete configmap mindx-dl-deviceinfo-<node-name>
ConfigMap vcjob-fault-npu-cm, if Volcano was enabledvolcano-systemRemoved with the namespace
Node labels openfuyao.com/npu.present, openfuyao.com/container.runtime, accelerator, servertype, huawei.com/driver.versionNPU nodes; openfuyao.com/container.runtime on every nodekubectl label node <node-name> <label-key>-

Deleting a CRD deletes every resource of that kind. Delete the hypernodes.topology.volcano.sh and ascendjobs.mindxdl.gitee.com CRDs only when no other Volcano or MindCluster installation in the cluster uses them. Remove node labels only after confirming that no other product, such as HAMi, relies on them.