To deploy one scan job per node within a scan job node pool, you need to set Helm keys that specify the pre-defined and/or custom node pool(s) to enable and use. To enable these node pools:
scan-service.environment Helm keys in scan-service.environment Helm keys.-
Calculate your node pool requirement based on the frequency, number, and sizes of scan jobs.
-
To enable one each of the pre-defined node pools, use the following Helm keys, located in the
scan-serviceschart.scan-service.environment.SMALLNODEPOOL_ENABLEscan-service.environment.MEDIUMNODEPOOL_ENABLEscan-service.environment.LARGENODEPOOL_ENABLEscan-service.environment.EXTRALARGENODEPOOL_ENABLE
-
You can optionally deploy a custom node pool. For example, a node of 200 CPUs and 850 GiB memory which can run a small, medium, large, or extra large job. To deploy scan jobs in a custom node pool, you need to set the following Helm keys:
scan-service.environment.COVANALYSIS_DEFAULTPOOLTYPE:scan-service.environment.CUSTOMNODEPOOL_LABEL:scan-service.environment.CUSTOMNODEPOOL_CPUscan-service.environment.CUSTOMNODEPOOL_MEM
The following example enables a custom scan job node pool named "custom" with 4 vCPUs and 16 GB of RAM:
scan-service: environment: COVANALYSIS_DEFAULTPOOLTYPE: "custom" CUSTOMNODEPOOL_LABEL: "custom" CUSTOMNODEPOOL_CPU: 4000 CUSTOMNODEPOOL_MEM: 16000Note: To deploy scans in a custom node pool, bothCOVANALYSIS_DEFAULTPOOLTYPEandCUSTOMNODEPOOL_LABELmust be the same value. Enter the value that you assign when you create the custom node pool.