Kaspersky Container Security

Removing the solution

March 27, 2024

ID 250382

To uninstall the Kaspersky Container Security Server, do one of the following:

  • On a workstation with the Helm package manager installed, access the Target cluster and the namespace with Kaspersky Container Security installed, and run the following command:

    helm uninstall kcs-release

    The Helm package manager does not delete PVC objects, PV objects or secrets. You should delete these manually using the following commands:

    kubectl delete pvc <PVC name>

    kubectl delete secret <secret name>

    kubectl delete pv <PV name>

  • If Kaspersky Container Security is installed in a separate namespace, run the following command:

    kubectl delete ns <namespace>

To delete the Kaspersky Container Security Agent:

Run the following command on the cluster node with the Agent deployed:

kubectl delete -f <file> -n kcs

where <file> is the name of the YAML configuration file used to deploy the Agent.

If you delete all Agents on the nodes of a cluster, we recommend that you remove the group that included these Agents.

To delete a group of Agents:

  1. In the main menu, go to the Components → Agents section of Kaspersky Container Security.
  2. Select the required group from the list. The Status column displays the Disconnected status for the deleted Agents.
  3. Open the action menu from the last column of the row for the group and select Delete group.
  4. In the window that opens, confirm the action.

Did you find this article helpful?
What can we do better?
Thank you for your feedback! You're helping us improve.
Thank you for your feedback! You're helping us improve.