Skip to main content
Hitachi Vantara Knowledge

Uninstallation

This chapter describes how to uninstall Storage Plug-in for Containers. This step includes removing any PersistentVolumeClaims, PersistentVolumes, StorageClasses, Storage Plug-in for Containers, and other elements. The uninstallation method you use depends on whether your environment is OpenShift or Kubernetes.

Uninstallation on OpenShift

For OpenShift, you can uninstall Storage Plug-in for Containers using OpenShift web console.

Procedure

  1. Delete all Pods which are using the volumes created by Storage Plug-in for Containers.

  2. Delete the PersistentVolumeClaim, the StorageClass and the Secret related to Storage Plug-in for Containers.

  3. Delete HSPC on the Hitachi Storage Plug-in for Containers tab of the Operator Details.

  4. Uninstall the Operator of Storage Plug-in for Containers.

Uninstallation on Kubernetes

For Kubernetes, you can uninstall Storage Plug-in for Containers by following the steps below.

Procedure

  1. Delete all Pods which are using the volumes created by Storage Plug-in for Containers.

  2. Delete the PersistentVolumeClaim, the StorageClass, and the Secret related to Storage Plug-in for Containers.

  3. Delete the Storage Plug-in for Containers and resource for the Operator:

    # kubectl delete -f hspc_v1_hspc.yaml
    # kubectl delete -f hspc-operator.yaml
    # kubectl delete -f hspc-operator-namespace.yaml
  4. Delete the Secret of your Docker credentials.

 

  • Was this article helpful?