1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00
Files
openshift-docs/modules/lws-remove-resources.adoc

33 lines
1.3 KiB
Plaintext

// Module included in the following assemblies:
//
// * ai_workloads/leader_worker_set/lws-uninstalling.adoc
:_mod-docs-content-type: PROCEDURE
[id="lws-remove-resources_{context}"]
= Uninstalling {lws-operator} resources
[role="_abstract"]
Optionally, remove custom resources (CRs) and the associated namespace after the {lws-operator} is uninstalled. This cleans up all remaining Leader Worker Set artifacts.
.Prerequisites
* You have access to the cluster with `cluster-admin` privileges.
* You have access to the {product-title} web console.
* You have uninstalled the {lws-operator}.
.Procedure
. Log in to the {product-title} web console.
. Remove CRDs that were created when the {lws-operator} was installed:
.. Navigate to *Administration* -> *CustomResourceDefinitions*.
.. Enter `LeaderWorkerSetOperator` in the *Name* field to filter the CRDs.
.. Click the Options menu {kebab} next to the *LeaderWorkerSetOperator* CRD and select *Delete CustomResourceDefinition*.
.. In the confirmation dialog, click *Delete*.
. Delete the `openshift-lws-operator` namespace.
.. Navigate to *Administration* -> *Namespaces*.
.. Enter `openshift-lws-operator` into the filter box.
.. Click the Options menu {kebab} next to the *openshift-lws-operator* entry and select *Delete Namespace*.
.. In the confirmation dialog, enter `openshift-lws-operator` and click *Delete*.