Restoring MicroShift networking settings to default
To remove networking customizations and return the network to default settings, stop MicroShift and run a clean-up script.
Prerequisites
-
RHEL 9 or newer.
-
MicroShift 4.14 or newer.
-
Access to the host CLI.
Procedure
-
Stop the MicroShift service by running the following command:
$ sudo systemctl stop microshift -
Stop the
kubepods.slicesystemd unit by running the following command:$ sudo systemctl stop kubepods.slice -
MicroShift installs a helper script to undo network changes made by OVN-K. Run the cleanup script by entering the following command:
$ sudo /usr/bin/microshift-cleanup-data --ovn