Removing Kaspersky XDR Expert components and management web plug-ins

Kaspersky Deployment Toolkit allows you to remove all Kaspersky XDR Expert components installed in the Kubernetes cluster, the cluster itself, and the KUMA services installed outside the cluster. By using KDT, you can also remove the management web plug-ins of Kaspersky applications, for example, the plug-in of Kaspersky Endpoint Security for Windows.

Removing Kaspersky XDR Expert

To remove the Kaspersky XDR Expert components and related data:

  1. On the administrator host, run the following command:

    kdt remove --all

    All Kaspersky XDR Expert components installed in the Kubernetes cluster and the cluster itself are removed. If you installed a DBMS inside the cluster, the DBMS is removed, too.

    Also, KDT removes the KUMA services installed outside the cluster on the hosts that were specified in the inventory file.

    Data related to the Kaspersky XDR Expert components is deleted from the administrator host.

    If the administration host does not have network access to a target host, removing the components is interrupted. You can restore network access and restart the removal of Kaspersky XDR Expert. Alternatively, you can remove the Kaspersky XDR Expert components from the target hosts manually (go to the instruction below).

  2. Remove the DBMS and data related to the Kaspersky XDR Expert components manually, if you

    installed the DBMS

    on a separate server outside the cluster.
  3. Close the ports used by Kaspersky XDR Expert that were opened during the deployment, if needed. These ports are not closed automatically.

  4. Remove the operating system packages that were automatically installed during the deployment, if needed. These packages are not removed automatically.

  5. Remove KDT and the contents of the /home/kdt and /home/.kdt directories.

The Kaspersky XDR Expert components, DBMS, and related data are removed, and the ports used by Kaspersky XDR Expert are closed.

To remove the Kaspersky XDR Expert components from the target hosts manually:

  1. On the target host, run the following command to stop the k0s service:

    /usr/local/bin/k0s stop

  2. Remove the contents of the following directories:

The Kaspersky XDR Expert components are deleted from the target hosts.

Removing management web plug-ins

You can remove the management web plug-ins of Kaspersky applications that provide additional functionality for Kaspersky XDR Expert. The Kaspersky XDR Expert services plug-ins are used for the correct function of Kaspersky XDR Expert and cannot be removed (for example, the plug-in of

Incident Response Platform

).

To remove a management web plug-in:

  1. If needed, run the following command to obtain the name of the plug-in that you want to remove:

    kdt status

    The list of components is displayed.

  2. On the administrator host, run the following command. Specify the name of the plug-in that you want to remove:

    kdt remove --cnab <plug-in_name>

The specified management web plug-in is removed by KDT.

Page top