Assign the neo4j pod at least 1G memory

I just went into memory issues when creating all the pods. Neo4j was in
a crash loop with exit code 137. Apparently this one:

https://success.docker.com/article/what-causes-a-container-to-exit-with-code-137
This commit is contained in:
roschaefer 2019-09-18 00:05:00 +02:00
parent fccf53a176
commit 18ffafcabc
2 changed files with 9 additions and 7 deletions

View File

@ -27,11 +27,11 @@ spec:
ports:
- containerPort: 7687
- containerPort: 7474
# resources:
# requests:
# memory: "2G"
# limits:
# memory: "8G"
resources:
requests:
memory: {{ .Values.neo4jResourceRequestsMemory | default "1G" | quote }}
limits:
memory: {{ .Values.neo4jResourceLimitsMemory | default "1G" | quote }}
env:
- name: NEO4J_dbms_security_procedures_unrestricted
value: "algo.*,apoc.*"

View File

@ -9,6 +9,8 @@ smtpUsername:
smtpPassword:
sentryDsnWebapp:
sentryDsnBackend:
neo4jResourceRequestsMemory: "1G"
neo4jResourceLimitsMemory: "1G"
neo4jConfig:
apoc_import_file_enabled: "true"
dbms_memory_pagecache_size: "490M"
@ -21,5 +23,5 @@ privateKeyPassphrase: a7dsf78sadg87ad87sfagsadg78
mapboxToken: pk.eyJ1IjoiaHVtYW4tY29ubmVjdGlvbiIsImEiOiJjajl0cnBubGoweTVlM3VwZ2lzNTNud3ZtIn0.KZ8KK9l70omjXbEkkbHGsQ
mongodbUsername:
mongodbPassword:
neo4jUsername:
neo4jPassword:
neo4jUsername: neo4j
neo4jPassword: neo4j