×

To uninstall the DPU Operator, you must first delete any running DPU workloads. Follow this procedure to uninstall the DPU Operator.

Uninstalling the DPU Operator

As a cluster administrator, you can uninstall the DPU Operator.

Prerequisites
  • You have access to an OKD cluster using an account with cluster-admin permissions.

  • You have the DPU Operator installed.

Procedure
  1. Delete the DpuOperatorConfig CR that was created by running the following command

    $ oc delete DpuOperatorConfig dpu-operator-config
  2. 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
  3. Remove the OperatorGroup resource that was created by running the following command:

    $ oc delete OperatorGroup dpu-operators -n openshift-dpu-operator
  4. Uninstall the DPU Operator as follows:

    1. Check the installed operators by running the following command:

      $ oc get csv -n openshift-dpu-operator
      Example output:
      NAME                                DISPLAY        VERSION               REPLACES   PHASE
      dpu-operator.v4.18.0-202503130333   DPU Operator   4.18.0-202503130333              Failed
    2. Delete the DPU Operator by running the following command:

      $ oc delete csv dpu-operator.v4.18.0-202503130333 -n openshift-dpu-operator
  5. Delete the namespace that was created for the DPU Operator by running the following command:

    $ oc delete namespace openshift-dpu-operator
Verification
  1. Verify that the DPU Operator is uninstalled by running the following command:

    $ oc get csv -n openshift-dpu-operator
    Example output:
    No resources found in openshift-dpu-operator namespace.
Additional resources