mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
79 lines
2.0 KiB
Plaintext
79 lines
2.0 KiB
Plaintext
// Module included in the following assemblies:
|
|
//
|
|
// * networking/networking_operators/uninstalling-dpu-operator.adoc
|
|
|
|
:_mod-docs-content-type: PROCEDURE
|
|
[id="nw-dpu-operator-uninstall_{context}"]
|
|
= Uninstalling the DPU Operator
|
|
|
|
As a cluster administrator, you can uninstall the DPU Operator.
|
|
|
|
.Prerequisites
|
|
|
|
* You have access to an {product-title} cluster using an account with `cluster-admin` permissions.
|
|
* You have the DPU Operator installed.
|
|
|
|
.Procedure
|
|
|
|
. Delete the `DpuOperatorConfig` CR that was created by running the following command
|
|
+
|
|
[source,terminal]
|
|
----
|
|
$ oc delete DpuOperatorConfig dpu-operator-config
|
|
----
|
|
|
|
. Delete the subscription that was used to install the DPU Operator by running the following command:
|
|
+
|
|
[source,terminal]
|
|
----
|
|
$ oc delete Subscription openshift-dpu-operator-subscription -n openshift-dpu-operator
|
|
----
|
|
|
|
. Remove the `OperatorGroup` resource that was created by running the following command:
|
|
+
|
|
[source,terminal]
|
|
----
|
|
$ oc delete OperatorGroup dpu-operators -n openshift-dpu-operator
|
|
----
|
|
|
|
. Uninstall the DPU Operator as follows:
|
|
|
|
.. Check the installed Operators by running the following command:
|
|
+
|
|
[source,terminal]
|
|
----
|
|
$ oc get csv -n openshift-dpu-operator
|
|
----
|
|
+
|
|
.Example output
|
|
+
|
|
[source,terminal]
|
|
----
|
|
NAME DISPLAY VERSION REPLACES PHASE
|
|
dpu-operator.v4.20.0-202503130333 DPU Operator 4.20.0-202503130333 Failed
|
|
----
|
|
|
|
.. Delete the DPU Operator by running the following command:
|
|
+
|
|
[source,terminal]
|
|
----
|
|
$ oc delete csv dpu-operator.v4.20.0-202503130333 -n openshift-dpu-operator
|
|
----
|
|
|
|
. Delete the namespace that was created for the DPU Operator by running the following command:
|
|
+
|
|
[source,terminal]
|
|
----
|
|
$ oc delete namespace openshift-dpu-operator
|
|
----
|
|
|
|
.Verification
|
|
|
|
. Verify that the DPU Operator is uninstalled by running the following command. An example of succesful command output is `No resources found in openshift-dpu-operator namespace`.
|
|
+
|
|
[source,terminal]
|
|
----
|
|
$ oc get csv -n openshift-dpu-operator
|
|
----
|
|
|