$ oc delete DpuOperatorConfig dpu-operator-config
To uninstall the DPU Operator, you must first delete any running DPU workloads. Follow this procedure to uninstall the DPU Operator.
As a cluster administrator, you can uninstall the DPU Operator.
You have access to an OKD cluster using an account with cluster-admin
permissions.
You have the DPU Operator installed.
Delete the DpuOperatorConfig
CR that was created by running the following command
$ oc delete DpuOperatorConfig dpu-operator-config
Delete the subscription that was used to install the DPU Operator by running the following command:
$ oc delete Subscription openshift-dpu-operator-subscription -n openshift-dpu-operator
Remove the OperatorGroup
resource that was created by running the following command:
$ oc delete OperatorGroup dpu-operators -n openshift-dpu-operator
Uninstall the DPU Operator as follows:
Check the installed operators by running the following command:
$ oc get csv -n openshift-dpu-operator
NAME DISPLAY VERSION REPLACES PHASE
dpu-operator.v4.18.0-202503130333 DPU Operator 4.18.0-202503130333 Failed
Delete the DPU Operator by running the following command:
$ oc delete csv dpu-operator.v4.18.0-202503130333 -n openshift-dpu-operator
Delete the namespace that was created for the DPU Operator by running the following command:
$ oc delete namespace openshift-dpu-operator
Verify that the DPU Operator is uninstalled by running the following command:
$ oc get csv -n openshift-dpu-operator
No resources found in openshift-dpu-operator namespace.