Uninstalling the Leader Worker Set Operator
If you no longer need the Leader Worker Set Operator in your cluster, you can uninstall the Operator and remove its related resources.
Uninstalling the Leader Worker Set Operator
You can use the web console to uninstall the Leader Worker Set Operator if you no longer need the Operator in your cluster.
-
You have access to the cluster with
cluster-adminprivileges. -
You have access to the OpenShift Container Platform web console.
-
You have installed the Leader Worker Set Operator.
-
Log in to the OpenShift Container Platform web console.
-
Navigate to Operators → Installed Operators.
-
Select
openshift-lws-operatorfrom the Project dropdown list. -
Delete the
LeaderWorkerSetOperatorinstance.-
Click Leader Worker Set Operator and select the LeaderWorkerSetOperator tab.
-
Click the Options menu
next to the cluster entry and select Delete LeaderWorkerSetOperator.
-
In the confirmation dialog, click Delete.
-
-
Uninstall the Leader Worker Set Operator.
-
Navigate to Operators → Installed Operators.
-
Click the Options menu
next to the Leader Worker Set Operator entry and click Uninstall Operator.
-
In the confirmation dialog, click Uninstall.
-
Uninstalling Leader Worker Set Operator resources
Optionally, remove custom resources (CRs) and the associated namespace after the Leader Worker Set Operator is uninstalled. This cleans up all remaining Leader Worker Set artifacts.
-
You have access to the cluster with
cluster-adminprivileges. -
You have access to the OpenShift Container Platform web console.
-
You have uninstalled the Leader Worker Set Operator.
-
Log in to the OpenShift Container Platform web console.
-
Remove CRDs that were created when the Leader Worker Set Operator was installed:
-
Navigate to Administration → CustomResourceDefinitions.
-
Enter
LeaderWorkerSetOperatorin the Name field to filter the CRDs. -
Click the Options menu
next to the LeaderWorkerSetOperator CRD and select Delete CustomResourceDefinition.
-
In the confirmation dialog, click Delete.
-
-
Delete the
openshift-lws-operatornamespace.-
Navigate to Administration → Namespaces.
-
Enter
openshift-lws-operatorinto the filter box. -
Click the Options menu
next to the openshift-lws-operator entry and select Delete Namespace.
-
In the confirmation dialog, enter
openshift-lws-operatorand click Delete.
-