Kaspersky Next XDR Expert

Manual uninstalling of Kaspersky Next XDR Expert components

If the administrator host does not have network access to a target host, uninstalling the Kaspersky Next XDR Expert components by using KDT is interrupted. You can restore network access and restart the removal of the solution. Alternatively, you can uninstall the Kaspersky Next XDR Expert components from the target hosts manually.

To uninstall the Kaspersky Next 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. Run the following command to reset cluster nodes to the initial state:

    /usr/local/bin/k0s reset

  3. Remove the contents of the following directories:

    • Required directories:

      • /etc/k0s/
      • /var/lib/k0s/
      • /usr/libexec/k0s/
      • /usr/local/bin/ (remove only the k0s file)
    • Optional directories:

      • /var/lib/containerd/
      • /var/cache/k0s/
      • /var/cache/kubelet/
      • /var/cache/containerd/

      You can remove the /var/lib/containerd/ and /var/cache/containerd/ directories if the containerd service is used only for the function of Kaspersky Next XDR Expert. Otherwise, your data contained in the /var/lib/containerd/ and /var/cache/containerd/ directories may be lost.

      The contents of the /var/cache/k0s/, /var/cache/kubelet/, and /var/cache/containerd/ directories are automatically removed after you restart the target host. You do not have to clear these folders manually.

  4. Restart all target hosts.

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