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:

kubectl delete ns bookbuyer bookthief bookstore bookwarehouse

Uninstall OSM control plane

To uninstall OSM control plane, use osm unistall mesh.

osm uninstall mesh

Uninstall OSM cluster-wide resources

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

osm uninstall mesh --delete-cluster-wide-resources

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