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.
|
Important: The uninstallation process removes the IBM Storage Enabler for Containers
components, its metadata, user credentials, ubiquity namespace and other elements.
|
Procedure
To uninstall the IBM Storage Enabler for Containers software:
-
Log on to the host which contains the Enabler for Containers and navigate to the installation
directory.
-
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..
-
As this script does not uninstall the FlexVolume from all Kubernetes nodes, perform these
additional steps for the complete FlexVolume removal:
- 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.
- Delete the
/usr/libexec/kubernetes/kubelet-plugins/volume/exec/ibm~ubiquity-k8s-flex
directory from all Kubernetes nodes.
- Restart the kubelet service on all nodes.