//Module included in the following assemblies // //post_installation_configuration/multiarch-tuning-operator.adoc :_mod-docs-content-type: PROCEDURE [id="multi-architecture-uninstalling-using-cli_{context}"] = Uninstalling the Multiarch Tuning Operator by using the CLI You can uninstall the Multiarch Tuning Operator by using the {oc-first}. .Prerequisites * You have installed `oc`. * You have logged in to `oc` as a user with `cluster-admin` privileges. * You deleted the `ClusterPodPlacementConfig` object. + [IMPORTANT] ==== You must delete the `ClusterPodPlacementConfig` object before uninstalling the Multiarch Tuning Operator. Uninstalling the Operator without deleting the `ClusterPodPlacementConfig` object can lead to unexpected behavior. ==== .Procedure . Get the `Subscription` object name for the Multiarch Tuning Operator by running the following command: + [source,terminal] ---- $ oc get subscription.operators.coreos.com -n <1> ---- <1> Replace `` with the name of the namespace where you want to uninstall the Multiarch Tuning Operator. + .Example output [source,terminal] ---- NAME PACKAGE SOURCE CHANNEL openshift-multiarch-tuning-operator multiarch-tuning-operator redhat-operators stable ---- . Get the `currentCSV` value for the Multiarch Tuning Operator by running the following command: + [source,terminal] ---- $ oc get subscription.operators.coreos.com -n -o yaml | grep currentCSV <1> ---- <1> Replace `` with the `Subscription` object name. For example: `openshift-multiarch-tuning-operator`. Replace `` with the name of the namespace where you want to uninstall the Multiarch Tuning Operator. + .Example output [source,terminal] ---- currentCSV: multiarch-tuning-operator. ---- . Delete the `Subscription` object by running the following command: + [source,terminal] ---- $ oc delete subscription.operators.coreos.com -n <1> ---- <1> Replace `` with the `Subscription` object name. Replace `` with the name of the namespace where you want to uninstall the Multiarch Tuning Operator. + .Example output [source,terminal] ---- subscription.operators.coreos.com "openshift-multiarch-tuning-operator" deleted ---- . Delete the CSV for the Multiarch Tuning Operator in the target namespace using the `currentCSV` value by running the following command: + [source,terminal] ---- $ oc delete clusterserviceversion -n <1> ---- <1> Replace `` with the `currentCSV` value for the Multiarch Tuning Operator. For example: `multiarch-tuning-operator.`. Replace `` with the name of the namespace where you want to uninstall the Multiarch Tuning Operator. + .Example output [source,terminal] ---- clusterserviceversion.operators.coreos.com "multiarch-tuning-operator." deleted ---- .Verification * To verify that the Multiarch Tuning Operator is uninstalled, run the following command: + [source,terminal] ---- $ oc get csv -n <1> ---- <1> Replace `` with the name of the namespace where you have uninstalled the Multiarch Tuning Operator. + .Example output [source,terminal] ---- No resources found in openshift-multiarch-tuning-operator namespace. ----