Kaspersky Container Security
Removing the solution
Removing the solution
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:
- In the main menu, go to the Components → Agents section of Kaspersky Container Security.
- Select the required group from the list. The Status column displays the Disconnected status for the deleted agents.
- Open the action menu from the last column of the row for the group and select Delete group.
- In the window that opens, confirm the action.
Article ID: 250382, Last review: Dec 4, 2024