Deployment and configuration
Deployment is performed by applying the provided YAML manifests to the Kubernetes cluster. While most manifests can be applied together, the scanner.yaml manifest should be deployed only after the Load Balancer is running. If all manifests are applied simultaneously, the Scanner pods may start before the Load Balancer is ready, preventing proper registration. In such cases, restarting the Scanner deployment resolves the issue.
To deploy the Scanner Agents, Load Balancer, and service account, follow these steps:
1.Deploy Agent, Load Balancer and configuration:
kubectl apply -f agents.yaml -f loadbalancer.yaml -f dockerconfig.yaml |
2.Verify if the Load Balancer is running:
kubectl get deployment loadbalancer |
3.Deploy Scanner:
kubectl apply -f scanner.yaml |
4.Confirm that all components are running:
kubectl get deployment |
Deployment configurations can be customized by specifying arguments via the args parameter in the manifest files. For example, to set the scanner log level, use:
-o main_log_mask=level.info+warning |
Refer to section Manifest files for details. |