1. I followed the installation instructions but I see a lot of pod terminated due to OOM errors. Why has this happened?
Answer:
This error typically happens because you have a lot of Java applications or large Java applications in your image. To fix this issue, you can try to reduce the worker count and increase the CPU.
See the documentation for detailed steps on how to change the worker count and CPU.
2. I created my own auto-import policy to exclude the import of certain types of Kubernetes workloads. Why have all my Kubernetes workloads been imported to Snyk including the excluded workloads?
Answer:
Check to be sure the workload_events key has been set to false. Only then will the workload policy you defined be evaluated correctly.
default workload_events = false
See the documentation for detailed information.
3. I created my own auto-import policy. Why have my Kubernetes workloads NOT been imported to Snyk?
Answer:
Check your ConfigMap. The orgId in the orgs arrays should be inside double quotes (””), for example:
orgs:=[”asbds-12345-xxxx”]
See this example for more detail.