If you no longer need Istio and associated resources, you can delete them by following the steps in this section.

Remove the ambient and waypoint labels

The label to instruct Istio to automatically include applications in the default namespace to an ambient mesh is not removed by default. If no longer needed, use the following command to remove it:

$ kubectl label namespace default
$ kubectl label namespace default

Remove waypoint proxies

To remove waypoint proxies, installed policies, and uninstall Istio, run the following commands:

$ istioctl x waypoint delete --all

Uninstall Istio

To uninstall Istio:

$ istioctl uninstall -y --purge
$ kubectl delete namespace istio-system

Remove the sample application

To delete the Bookinfo sample application and the sleep deployment, run the following:

$ kubectl delete -f
$ kubectl delete -f
$ kubectl delete -f

Remove the Kubernetes Gateway API CRDs

If you installed the Gateway API CRDs, remove them:

$ kubectl kustomize "" | kubectl delete -f -
Was this information useful?
Do you have any suggestions for improvement?

Thanks for your feedback!