Clean the OVN-Kubernetes data
Reset OVN-Kubernetes (OVN-K) network configurations by running the microshift-cleanup-data script.
When you run the script with the --ovn argument, you perform the following clean up actions:
-
Stop all MicroShift services
-
Delete all MicroShift pods
-
Delete the OVN-K networking configuration
Prerequisites
-
You are logged into MicroShift.
-
You have filed a support case.
Procedure
-
Clean up the OVN-K data by running the
microshift-cleanup-datascript with the--ovnargument, by entering the following command:$ sudo microshift-cleanup-data --ovnExample outputStopping MicroShift services Removing MicroShift pods Killing conmon, pause and OVN processes Removing OVN configuration MicroShift service was stopped Cleanup succeededThe
microshift-cleanup-datascript stops the MicroShift service. -
Restart the MicroShift service by running the following command:
$ sudo systemctl start microshift