Stop the MicroShift service

When you want to stop the MicroShift service, you must stop both the service and any deployed workloads.

Prerequisites
  • The MicroShift service is running.

Procedure
  1. Enter the following command to stop the MicroShift service:

    $ sudo systemctl stop microshift
  2. Workloads deployed on MicroShift might continue running even after the MicroShift service has been stopped. Enter the following command to display running workloads:

    $ sudo crictl ps -a
  3. Enter the following commands to stop the deployed workloads:

    $ sudo systemctl stop kubepods.slice