Uninstall Aerospike Kubernetes Operator
For the complete documentation index see: llms.txt
All documentation pages available in markdown.
This page explains how to uninstall the Aerospike Kubernetes Operator (AKO) from your cluster, including the cleanup of Custom Resource Definitions (CRDs), Custom Resources (CRs) and Role-Based Access Control (RBAC) resources.
Clean up AKO CRDs, CRs and related RBAC resources
Before you uninstall AKO, clean up the CRDs, CRs, and other resources it created in your Kubernetes cluster.
Uninstall AKO
-
Run the following commands to find the resource names on your cluster that you can delete.
Terminal window # List subscriptionskubectl get subscription -n NAMESPACE | grep aerospike# List CSVskubectl get csv -n NAMESPACE | grep aerospike -
Delete the Subscription.
Terminal window kubectl delete subscription SUBSCRIPTION -n NAMESPACE -
Delete the ClusterServiceVersion (CSV).
Terminal window kubectl delete csv CSV -n NAMESPACE -
If AKO was installed in a dedicated namespace and nothing else remains in it, you can remove the namespace with the following command:
Terminal window kubectl delete namespace NAMESPACE
-
Run
helm list -n NAMESPACEto list all Helm releases available for that namespace. -
Replace
NAMESPACEwith your namespace name, andRELEASEwith the Helm release.Terminal window helm uninstall RELEASE -n NAMESPACE -
If AKO was installed in a dedicated namespace and nothing else remains in it, you can remove the namespace with the following command:
Terminal window kubectl delete namespace NAMESPACE