Skip to main content
A newer release of this product is available.

Uninstall Astra Control Center

Contributors netapp-dbagwell

You might need to remove Astra Control Center components if you are upgrading from a trial to a full version of the product. To remove Astra Control Center and the Astra Control Center Operator, run the commands described in this procedure in sequence.

If you have any issues with the uninstall, see Troubleshooting uninstall issues.

Before you begin
  1. Unmanage all apps on the clusters.

  2. Unmanage all clusters.

  1. Delete Astra Control Center. The following sample command is based upon a default installation. Modify the command if you made custom configurations.

    kubectl delete -f astra_control_center.yaml -n netapp-acc

    Result: "astra" deleted
  2. Use the following command to delete the netapp-acc (or custom-named) namespace:

    kubectl delete ns [netapp-acc or custom namespace]

    Example result:

    namespace "netapp-acc" deleted
  3. Use the following command to delete Astra Control Center operator system components:

    kubectl delete -f astra_control_center_operator_deploy.yaml


    namespace/netapp-acc-operator deleted deleted deleted deleted deleted deleted deleted deleted deleted
    configmap/acc-operator-manager-config deleted
    service/acc-operator-controller-manager-metrics-service deleted
    deployment.apps/acc-operator-controller-manager deleted

Troubleshooting uninstall issues

Use the following workarounds to address any problems you have with uninstalling Astra Control Center.

Uninstall of Astra Control Center fails to clean up the monitoring-operator pod on the managed cluster

If you did not unmanage your clusters before you uninstalled Astra Control Center, you can manually delete the pods in the netapp-monitoring namespace and the namespace with the following commands:

  1. Delete acc-monitoring agent:

    kubectl delete agents acc-monitoring -n netapp-monitoring

    Result: "acc-monitoring" deleted
  2. Delete the namespace:

    kubectl delete ns netapp-monitoring


    namespace "netapp-monitoring" deleted
  3. Confirm resources removed:

    kubectl get pods -n netapp-monitoring


    No resources found in netapp-monitoring namespace.
  4. Confirm monitoring agent removed:

    kubectl get crd|grep agent

    Sample result:                     2021-07-21T06:08:13Z
  5. Delete custom resource definition (CRD) information:

    kubectl delete crds

    Result: "" deleted

Uninstall of Astra Control Center fails to clean up Traefik CRDs

You can manually delete the Traefik CRDs. CRDs are global resources, and deleting them might impact other applications on the cluster.

  1. List Traefik CRDs installed on the cluster:

    kubectl get crds |grep -E 'traefik'

    Response             2021-06-23T23:29:11Z          2021-06-23T23:29:11Z          2021-06-23T23:29:12Z               2021-06-23T23:29:12Z            2021-06-23T23:29:12Z         2021-06-23T23:29:13Z                2021-06-23T23:29:13Z                 2021-06-23T23:29:14Z           2021-06-23T23:29:15Z
  2. Delete the CRDs:

    kubectl delete crd

Find more information