Uninstalling Concert, Concert Workflows, and Concert Data Apps (Kubernetes)

Use the uninstall utility to stop all product services to remove the installation and all backup volumes. You can modify the instructions as needed to uninstall the required products from the unified UI. To uninstall, you must remove the product-specific namespace and the directory where the product is installed.

Who needs to complete this task?

Cluster administrator A cluster administrator must complete the appropriate tasks to uninstall the required products.

Uninstalling all products from a Kubernetes cluster

Use the following instructions to uninstall Concert, Concert Workflows, and Concert Data Apps from your Kubernetes cluster.

  1. Set the $INSTALL_DIR variable:
    export INSTALL_DIR=<install_directory>/ibm-concert
  2. Remove the Concert namespace by using the following command:
    kubectl delete ns <concert-namespace>

    Replace <concert-namespace> with the Concert namespace. The default Concert namespace is concert.

  3. Remove the Concert Data Apps namespaces by using the following command:
    kubectl delete ns <dataapps-namespace>

    Replace <dataapps-namespace> with the Concert Data Apps namespace. The default Concert Data Apps namespace is concert-dataapps.

  4. Remove the faas and Concert Workflows namespaces by using the following command:
    kubectl delete ns <cw-namespace>
    kubectl delete ns <faas_namespace>
    • Replace <cw-namespace> with the Concert Workflows namespace. The default Concert Workflows namespace is concert-workflows.
    • Replace <faas_namespace> with the FaaS namespace. The default faas namespace is faas.
    For example:
    kubectl delete ns concert-workflows
    kubectl delete ns faas
  5. Remove the Hub namespace by using the following command:
    kubectl delete ns <hub-namespace>

    Replace <hub-namespace> with the Hub namespace. The default Hub namespace is platform-hub.

  6. Remove the installation directory where Concert, Concert Workflows, and Concert Data Apps are installed:
    rm -rf $INSTALL_DIR
    Note: This command removes the installation directory and all backup volumes.

Uninstalling a product from a Kubernetes cluster

Use the following instructions to uninstall only a required product (Concert, or Concert Workflows, or Concert Data Apps) from your Kubernetes cluster.

  1. Delete the namespace of the product:
    kubectl delete ns <product-namespace>

    Replace <product-namespace> with the namespace of the product that you want to uninstall. For example, if you want to uninstall Concert, replace <product-namespace> with the Concert namespace.

  2. Run the remove-product-instance-k8s script:
    $INSTALL_DIR/bin/remove-product-instance-k8s --namespace=<hub-namespace> --product_id=<concert|workflows|dataapps>

    Replace <hub-namespace> with the Hub namespace. The default Hub namespace is platform-hub.

    This removes the product from the unified UI.

  3. Log in to verify that the product is removed from the unified UI.