Removing agent from edge cluster
To unregister an edge cluster and remove the IEAM agent from that cluster, perform these steps:
-
Extract the agent-uninstall.sh script from the tar file:
tar -zxvf agentInstallFiles-x86_64-Cluster.tar.gz agent-uninstall.sh
-
Export your Horizon exchange user credentials:
export HZN_EXCHANGE_USER_AUTH=iamapikey:<api-key>
-
Remove the agent:
./agent-uninstall.sh -u $HZN_EXCHANGE_USER_AUTH -d
Note: Occasionally, deleting the namespace stalls in the "Terminating" state. In this situation, see A namespace is stuck in the Terminating state to manually delete namespace.