Skip to content

Commit c7450d1

Browse files
IlyesbdlalaZero3141
authored andcommitted
#1305 Add note about resource limits
Add a note to inform users about the resource limits for the persistence-defectdojo hook. Signed-off-by: Ilyes Ben Dlala <ilyes.bendlala@iteratec.com>
1 parent 38437f3 commit c7450d1

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

hooks/persistence-defectdojo/.helm-docs.gotmpl

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,28 @@ For scan types which are not supported by DefectDojo, the generic importer is us
4646
sophisticated display of the results and fewer features inside DefectDojo. In the worst case, it can lead to some
4747
findings being lost - see the note below.
4848

49+
:::note
50+
A big amount of findings may require higher resource limits. Changing them may be required to avoid OOM errors.
51+
The default values are:
52+
```yaml
53+
requests: {
54+
cpu: "200m",
55+
memory: "100Mi"
56+
},
57+
limits: {
58+
cpu: "400m",
59+
memory: "200Mi"
60+
}
61+
```
62+
63+
For example, to set the memory limit to 512Mi, we run the following command:
64+
65+
```bash
66+
helm upgrade --namespace NAMESPACE --install persistence-defectdojo secureCodeBox/persistence-defectdojo --set="hook.resources.limits.memory=512Mi"
67+
```
68+
:::
69+
70+
4971
:::caution
5072

5173
Be careful when using the DefectDojo Hook in combination with other ReadAndWrite hooks. By default, the secureCodeBox

0 commit comments

Comments
 (0)