Uninstalling the software package

If you want to completely remove the IBM Storage Enabler for Containers software, use the following procedure.

Before you begin

Verify that there are no persistent volumes (PVs) that have been created, using IBM Storage Enabler for Containers.

Procedure

To uninstall the IBM Storage Enabler for Containers software:

  1. Log on to the host which contains the Enabler for Containers and navigate to the installation directory.
  2. Run this script to completely uninstall IBM Storage Enabler for Containers:
    $> ./ubiquity_uninstall.sh.
    The installation is complete, illustrated by the following message
    "IBM Storage Enabler for Containers" uninstall finished..
  3. As this script does not uninstall the FlexVolume from all Kubernetes nodes, perform these additional steps for the complete FlexVolume removal:
    1. If you use Kubernetes version 1.6 or 1.7 and have the /usr/libexec/kubernetes/kubelet-plugins/volume/exec directory on the controller-manager static pod, remove the Kubernetes FlexVolume from the controller-manager pod and restart the kubelet service.
    2. Delete the /usr/libexec/kubernetes/kubelet-plugins/volume/exec/ibm~ubiquity-k8s-flex directory from all Kubernetes nodes.
    3. Restart the kubelet service on all nodes.