Undeploying and uninstalling InfoScale
You can run the following command to undeploy and uninstall InfoScale on your Kubernetes cluster.
Note: If you want to retain the disk group and re-use the Volumes you created, ensure that you note theClusterIDbefore undeploying and uninstalling InfoScale. You must use thisClusterIDwhile re-installing InfoScale. Else, clean the disks before uninstalling.
kubectl delete infoscalecluster -n <Namespace> <Name of the cluster>
Note: Run the command for each cluster.
The commands to clean up InfoScale components are as under
Note: Run these commands only after all InfoScale pods are terminated.
kubectl delete -f /YAML/Kubernetes/iso.yaml
kubectl delete -f /YAML/Kubernetes/license_cr.yaml
kubectl delete -f /YAML/Kubernetes/lico.yaml
Note: After uninstallation, ensure that stale InfoScale kernel modules (vxio/vxdmp/veki/vxspec/vxfs/odm/glm/gms) do not remain loaded on any of the worker nodes. Rebooting a worker node deletes all such modules. When fencing is configured, certain keys are configured. Those must also be deleted after uninstallation. Run./clearkeys.sh \<Path to the first disk\>, \<Path to the second disk\>,...to remove stale keys that might have remained.
Related information