Kaspersky Container Security supports scaling for the number of scanning pods to ensure that the incoming image volume can be scanned. You can scale the number of scanning pods up or down at any time while the solution is operating.
When a scanning pod is added, the system resources increase as follows:
To scan images larger than 10 GB, the kcs-ih service resources must be increased as follows per scanning pod and for each additional GB.
If the images are not scanned for configuration file errors during standard operation mode, it is not necessary to increase the RAM of the scanning pods.
To process the results of scanning many large objects faster, you can allocate more resources to the job handler service by updating variables in the Helm package.
To add more scan job handling resources:
kcs-middleware
parameter in the scanWorkers
variable in the default
section. requests
and limits
variables, specify the size of RAM as determined according to the following formula:memory = X * scanWorkers / 2
, where
memory
is the size of RAM allocated to the image handler service.
X
is the original value of the variable that denotes the size of RAM.
scanWorkers
is the number of handlers specified in step 1.
The result of scanWorkers/2
can't be zero.
requests
and limits
variables, specify the CPU resources as calculated according to the following formula:cpu = X*scanWorkers
, where
cpu
is the CPU resources allocated to the image handler service.
X
is the original value of the variable that denotes the CPU resources.
scanWorkers
is the number of handlers.
Example of adding more scan job handling resources
Page top