Exercise 6: Clean Up the Istio Demo
The main workshop cleanup lab will delete the full resource group. If you want to remove only the Istio demo resources now, use the commands below.
Task 1: Remove Kiali, Prometheus, and the Demo Namespace
Stop any active
kubectl port-forwardcommand for Kiali.Remove Kiali and Prometheus.
helm uninstall kiali-server -n aks-istio-system helm uninstall prometheus -n monitoring kubectl delete namespace monitoringhelm uninstall kiali-server -n aks-istio-system helm uninstall prometheus -n monitoring kubectl delete namespace monitoringDelete the demo application namespace.
kubectl delete namespace istio-demokubectl delete namespace istio-demo
Tip
In a production environment, pair Istio traffic rules with clear release practices. A VirtualService can shift traffic quickly, but teams still need monitoring, rollback criteria, and ownership for each service version.