Uninstalling the chart
To uninstall the chart, use the following steps:
- Run the following command:
$ helm delete my-gateway --purge --tlsWhere:
my-gatewayis the release name for the chart.The command removes all the Kubernetes components associated with the chart and deletes the release.
- Access the storage using the UI, select Menu -> Platform -> Storage. Review any orphaned Persistent Volume Claims (PVC) and delete if necessary. Otherwise, run pak_extensions/post-delete/clusterAdministration/deletePersistentVolume.sh as a cluster administrator to delete the PVC and Persistent Volume (PV) for the release. The script takes two arguments which are the namespace and the release name that has been uninstalled. Example usage: bash deletePersistentVolume.sh namespace chartReleaseName
Clean up any prerequisites that were created
As a Cluster Administrator, run the cluster administration cleanup script included under pak_extensions to clean up cluster scoped resources when appropriate:
post-delete/clusterAdministration/deleteSecurityClusterPrereqs.sh
As a Cluster Administrator, run the namespace administration cleanup script included under pak_extensions to clean up namespace scoped resources when appropriate:
post-delete/namespaceAdministration/deleteSecurityNamespacePrereqs.sh
As a Cluster Administrator, run the cluster administration cleanup script included under pak_extensions to delete Persistent Volume Claim (PVC) and Persistent Volume (PV) :
post-delete/clusterAdministration/deletePersistentVolume.sh