Delete an Edge site

Important 

In Collibra 2024.05, we launched a new user interface (UI) for Collibra Data Intelligence Platform! You can learn more about this latest UI in the UI overview.

Use the following options to see the documentation in the latest UI or in the previous, classic UI:

You can delete an Edge site if you no longer need it.

Note Deleting an Edge site does not delete the data ingested in Collibra Data Intelligence Platform. The ingested data must be deleted manually.

Prerequisites

Steps

  1. Open an Edge site.
    1. On the main toolbar, click Products icon, and then click Cogwheel icon Settings.
      The Collibra settings page opens.
    2. In the tab pane, click Edge.
      The Sites tab opens and shows a table with an overview of the Edge sites.
    3. In the Edge site overview, click the name of an Edge site.
      The Edge site page appears.
  2. In the top right corner, click ActionsSite ActionsDelete Edge siteDelete Site.
    The Delete Edge Site wizard starts.
  3. Click Delete Edge siteDelete.
    The Edge sites overview appears, without the deleted Edge site.
  4. On the server that hosts the Edge site, go to /usr/local/bin where you can find the uninstall script uninstall-edge.sh, then run one of the following commands:
    Note If you intend to reinstall the Edge site after performing an uninstall command, you need to recreate the Linux disk mount for the directory /var/lib/rancher/k3s

    CommandDescription
    Copy
    /usr/local/bin/uninstall-edge.sh
    Delete Edge site, but keep its data.

    The data consists of drivers, required files for capabilities, and data that was saved by Edge capabilities
    Copy
    /usr/local/bin/uninstall-edge.sh 
    --remove-local-data
    Delete Edge site and its data.
    Copy
    /usr/local/bin/uninstall-edge.sh 
    --remove-local-data 
    --force
    Delete Edge site without confirmation request, for example if you want to delete the site via a script.

    You can use this in combination with removing the site data.
Tip 
What is your Edge site installation method?
  1. Open an Edge site.
    1. On the main toolbar, click Products icon, and then click Cogwheel icon Settings.
      The Collibra settings page opens.
    2. In the tab pane, click Edge.
      The Sites tab opens and shows a table with an overview of the Edge sites.
    3. In the Edge site overview, click the name of an Edge site.
      The Edge site page appears.
  2. In the top right corner, click ActionsSite ActionsDelete Edge siteDelete Site.
    The Delete Edge site wizard starts.
  3. Click Delete Edge siteDelete.
    The Edge sites overview appears, without the deleted Edge site.
  4. On the server from which you manage your cluster, run one of the following command:
    • With terminal logging
      Copy
      ./edgecli uninstall
    • With terminal and file logging:
      Copy
      ./edgecli uninstall 2>&1 | tee "edge-installer-$(date +"%Y-%m-%d_%H-%M-%S").log"
    Note 

    If your Edge site has a custom namespace, add -n <my-namespace> to the command.

  5. From edge-cd-helm-chart, run the following command:
    Copy
    sh helm-uninstall.sh
    Note If your Edge site had a custom namespace, add --namespace <my-namespace>, replacing <my-namespace> with the name of your Edge site namespace.
Important If you do not plan on reinstalling your Edge site on the same Kubernetes cluster as it was originally installed on, then you must run the following command after you reinstall on the new cluster to delete unmanaged resources:
Copy
kubectl delete priorityclass job application platform
kubectl delete crd clusterworkflowtemplates.argoproj.io \
cronworkflows.argoproj.io workflowartifactgctasks.argoproj.io workfloweventbindings.argoproj.io workflows.argoproj.io workflowtaskresults.argoproj.io \
workflowtasksets.argoproj.io workflowtemplates.argoproj.io