mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
67 lines
1.9 KiB
Plaintext
67 lines
1.9 KiB
Plaintext
// Module included in the following assemblies:
|
||
//
|
||
// * storage/persistent_storage/persistent-storage-local.adoc
|
||
|
||
:_mod-docs-content-type: PROCEDURE
|
||
[id="local-storage-uninstall_{context}"]
|
||
= Uninstalling the Local Storage Operator
|
||
|
||
To uninstall the Local Storage Operator, you must remove the Operator and all created resources in the `openshift-local-storage` project.
|
||
|
||
[WARNING]
|
||
====
|
||
Uninstalling the Local Storage Operator while local storage PVs are still in use is not recommended. While the PVs will remain after the Operator's removal,
|
||
there might be indeterminate behavior if the Operator is uninstalled and reinstalled without removing the PVs and local storage resources.
|
||
====
|
||
|
||
.Prerequisites
|
||
|
||
* Access to the {product-title} web console.
|
||
|
||
.Procedure
|
||
|
||
. Delete any local volume resources installed in the project, such as `localvolume`, `localvolumeset`, and `localvolumediscovery` by running the following commands:
|
||
+
|
||
[source,terminal]
|
||
----
|
||
$ oc delete localvolume --all --all-namespaces
|
||
----
|
||
+
|
||
[source,terminal]
|
||
----
|
||
$ oc delete localvolumeset --all --all-namespaces
|
||
----
|
||
+
|
||
[source,terminal]
|
||
----
|
||
$ oc delete localvolumediscovery --all --all-namespaces
|
||
----
|
||
|
||
. Uninstall the Local Storage Operator from the web console.
|
||
|
||
.. Log in to the {product-title} web console.
|
||
|
||
.. Navigate to *Ecosystem* -> *Installed Operators*.
|
||
|
||
.. Type *Local Storage* into the filter box to locate the Local Storage Operator.
|
||
|
||
.. Click the Options menu {kebab} at the end of the Local Storage Operator.
|
||
|
||
.. Click *Uninstall Operator*.
|
||
|
||
.. Click *Remove* in the window that appears.
|
||
|
||
. The PVs created by the Local Storage Operator will remain in the cluster until deleted. After these volumes are no longer in use, delete them by running the following command:
|
||
+
|
||
[source,terminal]
|
||
----
|
||
$ oc delete pv <pv-name>
|
||
----
|
||
|
||
. Delete the `openshift-local-storage` project by running the following command:
|
||
+
|
||
[source,terminal]
|
||
----
|
||
$ oc delete project openshift-local-storage
|
||
----
|