Force disabling of File Threat Protection
July 12, 2024
ID 275802
In Kaspersky Container Security 1.2, you can completely disable the File Threat Protection component. This can be necessary if you experience problems with the component.
You can forcibly disable the File Threat Protection component in two ways—by modifying the file for deploying agents on the cluster, and by modifying running agents.
To forcibly disable File Threat Protection using an agent deployment file:
- Open the .YAML file with instructions for deploying agents on the cluster that you downloaded when you deployed the agents.
- In the
DaemonSet
section for the node-agent, set theFILE_THREAT_PROTECTION_ENABLED
environment variable tofalse
.name: FILE_THREAT_PROTECTION_ENABLED
value: false
- Save changes to the instructions file.
- In the console, apply the instructions file by running
kubectl apply -f agents.yaml
The orchestrator redeploys the node-agent pods with File Threat Protection disabled.
To forcibly disable File Threat Protection when agents are running:
- In the console, open running agents using the
kubectl edit
command. - In the
DaemonSet
section for the node-agent, set theFILE_THREAT_PROTECTION_ENABLED
environment variable tofalse
.name: FILE_THREAT_PROTECTION_ENABLED
value: false
- Save your changes.
The orchestrator applies the saved changes and disables File Threat Protection.