mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-07 09:46:53 +01:00
56 lines
1.6 KiB
Plaintext
56 lines
1.6 KiB
Plaintext
// Module included in the following assemblies:
|
|
//
|
|
// * storage/persistent_storage/persistent-storage-local.adoc
|
|
|
|
[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 in the project:
|
|
+
|
|
[source,terminal]
|
|
----
|
|
$ oc delete localvolume --all --all-namespaces
|
|
----
|
|
|
|
. Uninstall the Local Storage Operator from the web console.
|
|
|
|
.. Log in to the {product-title} web console.
|
|
|
|
.. Navigate to *Operators* -> *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. Once 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:
|
|
+
|
|
[source,terminal]
|
|
----
|
|
$ oc delete project openshift-local-storage
|
|
----
|