We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3aee6bb + cdb1261 commit c84d91eCopy full SHA for c84d91e
snyk-monitor/templates/deployment.yaml
@@ -75,6 +75,9 @@ spec:
75
value: {{ .Values.no_proxy }}
76
- name: LOG_LEVEL
77
value: {{ .Values.log_level }}
78
+ {{- with .Values.envs }}
79
+ {{- toYaml . | trim | nindent 10 -}}
80
+ {{ end }}
81
resources:
82
requests:
83
cpu: {{ .Values.requests.cpu }}
snyk-monitor/values.yaml
@@ -41,6 +41,15 @@ pvc:
41
enabled: false
42
name: 'snyk-monitor-pvc'
43
44
+# Node.js in-container process memory enhancements
45
+envs:
46
+ - name: V8_MAX_OLD_SPACE_SIZE
47
+ value: '2048'
48
+ - name: UV_THREADPOOL_SIZE
49
+ value: '24'
50
+ - name: NODE_OPTIONS
51
+ value: --max_old_space_size=2048
52
+
53
# CPU/Mem requests and limits for snyk-monitor
54
55
cpu: '250m'
0 commit comments