To uninstall the Access Manager containers, perform the following steps:
Navigate to the access-manager directory.
Run command sh uninstall.sh release=<release-name> namespace=<name-of-the-namespace>
Make sure that all the pods are terminated. You can check the pod status by running the following command:
kubectl get pods --namespace <name-of-the-namespace>
NOTE:Uninstalling Access Manager does not delete the persisted directories (am-edir, am-ac, am-idp, and am-ag) that got created during installation. If you do not need the directories for future use, you must delete them manually from the node.
Use command rm -rf <location>/am-*.
For example, to delete the am-ac directory, use command rm -rf /mnt/am-ac, where /mnt is the location of the directory.