Skip to main content

Wrap-up & cleanup

# Cancel any running QuantonSparkApplications
kubectl delete quantonsparkapplication --all -n default --ignore-not-found
kubectl delete sparkapplication --all -n default --ignore-not-found

# Uninstall operators
helm uninstall quanton-operator -n quanton-operator
helm uninstall spark-operator -n spark-operator
kubectl delete crd quantonsparkapplications.quantonsparkoperator.onehouse.ai
kubectl delete crd sparkapplications.sparkoperator.k8s.io
kubectl delete crd scheduledsparkapplications.sparkoperator.k8s.io

# Optional — wipe the TPC-DS Parquet cache (re-creating it is cheap, but
# this frees ~5 GB on the minikube PVC)
kubectl delete pvc tpcds-data shuffle-data -n default --ignore-not-found

# Stop minikube (safe — your cluster state is preserved on disk)
minikube stop

# Or completely wipe the cluster
# minikube delete