Uninstall OSM

The articles in the getting started section outline installing OSM and sample applications. To uninstall all of these resources, delete the sample application and related SMI resources and uninstall the OSM control plane and cluster-wide OSM resources.

Delete the sample applications

To clean up the sample applications and related SMI resources, delete their namespaces. For example:

  1. kubectl delete ns bookbuyer bookthief bookstore bookwarehouse

Uninstall OSM control plane

To uninstall OSM control plane, use osm unistall mesh.

  1. osm uninstall mesh

Uninstall OSM cluster-wide resources

To uninstall OSM cluster-wide resources, use osm uninstall cluster-wide-resources.

  1. osm uninstall cluster-wide-resources

For more details about uninstalling OSM, see the uninstallation guide.