Removing the solution
To uninstall the basic business logic module of Kaspersky Container Security, do one of the following:
- On a workstation with the Helm package manager installed, access to the target cluster and the namespace with Kaspersky Container Security installed, 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 a 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:
- In the main menu of Kaspersky Container Security, go to the Components → Agents section.
- In the line containing the name of the agents group that you want to delete, click the delete icon (
).
- In the window that opens, confirm the action.