// Module included in the following assemblies:
//
// * nodes/scheduling/secondary_scheduler/nodes-secondary-scheduler-uninstalling.adoc

:_mod-docs-content-type: PROCEDURE
[id="nodes-secondary-scheduler-remove-resources-console_{context}"]
= Removing {secondary-scheduler-operator} resources

[role="_abstract"]
Optionally, remove the custom resource definition (CRD) and associated namespace after the {secondary-scheduler-operator-full} is uninstalled. This cleans up all remaining secondary scheduler artifacts.

.Prerequisites

ifndef::openshift-rosa,openshift-dedicated[]
* You are logged in to {product-title} as a user with the `cluster-admin` role.
endif::openshift-rosa,openshift-dedicated[]
ifdef::openshift-rosa,openshift-dedicated[]
* You are logged in to {product-title} as a user with the `dedicated-admin` role.
endif::openshift-rosa,openshift-dedicated[]
* You have access to the {product-title} web console.

.Procedure

. Log in to the {product-title} web console.

. Remove the CRD that was installed by the {secondary-scheduler-operator}:
.. Navigate to *Administration* -> *CustomResourceDefinitions*.
.. Enter `SecondaryScheduler` in the *Name* field to filter the CRDs.
.. Click the Options menu {kebab} next to the *SecondaryScheduler* CRD and select *Delete Custom Resource Definition*:

. Remove the `openshift-secondary-scheduler-operator` namespace.
.. Navigate to *Administration* -> *Namespaces*.
.. Click the Options menu {kebab} next to the *openshift-secondary-scheduler-operator* and select *Delete Namespace*.
.. In the confirmation dialog, enter `openshift-secondary-scheduler-operator` in the field and click *Delete*.
