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

OSDOCS-7857:RPM Uninstall Instructions

This commit is contained in:
Ted Avery
2025-08-14 15:35:06 -04:00
parent 7ed14ecc7a
commit 67b9c48ee2
4 changed files with 52 additions and 0 deletions

View File

@@ -53,6 +53,8 @@ Distros: microshift
Topics:
- Name: Installing with an RPM package
File: microshift-install-rpm
- Name: Uninstalling MicroShift
File: microshift-uninstall-rpm
---
Name: Installing optional RPM packages
Dir: microshift_install_rpm_opt

View File

@@ -42,6 +42,7 @@ include::modules/microshift-accessing.adoc[leveloffset=+1]
//additional resources for accessing module
[role="_additional-resources"]
.Additional resources
* xref:../microshift_cli_ref/microshift-oc-cli-install.adoc#microshift-oc-cli-install[Installing the OpenShift CLI tool].
include::modules/microshift-accessing-cluster-locally.adoc[leveloffset=+2]

View File

@@ -0,0 +1,11 @@
:_mod-docs-content-type: ASSEMBLY
[id="microshift-uninstall-rpm"]
include::_attributes/attributes-microshift.adoc[]
= Uninstalling {microshift-short}
:context: microshift-uninstall-rpm
toc::[]
Before you uninstall {microshift-short}, clean up all the {microshift-short} data and configuration by running the `microshift-cleanup-data` script.
include::modules/microshift-uninstall-microshift-rpms.adoc[leveloffset=+1]

View File

@@ -0,0 +1,38 @@
// Module included in the following assemblies:
//
// microshift_install_rpm/microshift-uninstall.adoc
:_mod-docs-content-type: PROCEDURE
[id="microshift-uninstall-microshift-rpms_{context}"]
= Uninstalling {microshift-short} from an RPM package
.Prerequisites
* You are logged into {microshift-short} as an administrator with root-user access.
* You have filed a support case.
* You have root access to the {microshift-short} cluster.
.Procedure
. Clean all your data by running the following command:
+
[source,terminal,subs="+quotes"]
----
$ sudo microshift-cleanup-data --all <1>
----
<1> When you run the script with the `--all` argument, you perform the following clean up actions:
* Stop and disable all {microshift-short} services
* Delete all {microshift-short} pods
* Delete all container image storage
* Reset network configuration
* Delete the `/var/lib/microshift` data directory
* Delete OVN-K networking configuration
+
. Run the following command:
+
[source,terminal,subs="+quotes"]
----
$ sudo dnf remove -y microshift*
----
+