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

  1. Stop any active kubectl port-forward command for Kiali.

  2. Remove Kiali and Prometheus.

    helm uninstall kiali-server -n aks-istio-system
    helm uninstall prometheus -n monitoring
    kubectl delete namespace monitoring
    helm uninstall kiali-server -n aks-istio-system
    helm uninstall prometheus -n monitoring
    kubectl delete namespace monitoring
  3. Delete the demo application namespace.

    kubectl delete namespace istio-demo
    kubectl 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.