Data cleanup script overview

You can see the usage and list available options of the microshift-cleanup-data script by running the script without arguments. Running the script without arguments does not delete any data or stop the MicroShift service.

Procedure
  1. See the usage and list the available options of the microshift-cleanup-data script by entering the following command:

    Warning

    Some script operations are destructive and can cause data loss. Review the specific procedure for each argument for detailed warnings.

    $ microshift-cleanup-data
    Example output
    Stop all MicroShift services, also cleaning their data
    
    Usage: microshift-cleanup-data <--all [--keep-images] | --ovn | --cert>
       --all         Clean all MicroShift and OVN data
       --keep-images Keep container images when cleaning all data
       --ovn         Clean OVN data only
       --cert        Clean certificates only