Uninstall Kubeflow

Instructions for uninstalling Kubeflow

Uninstall Kubeflow on your IBM Cloud IKS cluster.

  1. Go to your Kubeflow deployment directory where you download the IBM manifests repository: https://github.com/IBM/manifests.git

    cd ibm-manifests-18
    
  2. Run the following command to get Kubeflow Profiles:

    kubectl get profile
    
  3. Delete all Kubeflow Profiles manually:

    kubectl delete profile --all
    

    Use the following command to check all namespaces for Kubeflow Profiles are removed properly:

    kubectl get ns
    

    Make sure no namespace is in the Terminating state.

  4. Remove Kubeflow:

    For single-user deployment:

    kustomize build iks-single 2>/dev/null | awk '!/well-defined/' | kubectl delete -f -
    

    For multi-user deployment:

    kustomize build iks-multi 2>/dev/null | awk '!/well-defined/' | kubectl delete -f -