mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
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:
parent
fccf53a176
commit
18ffafcabc
@ -27,11 +27,11 @@ spec:
|
|||||||
ports:
|
ports:
|
||||||
- containerPort: 7687
|
- containerPort: 7687
|
||||||
- containerPort: 7474
|
- containerPort: 7474
|
||||||
# resources:
|
resources:
|
||||||
# requests:
|
requests:
|
||||||
# memory: "2G"
|
memory: {{ .Values.neo4jResourceRequestsMemory | default "1G" | quote }}
|
||||||
# limits:
|
limits:
|
||||||
# memory: "8G"
|
memory: {{ .Values.neo4jResourceLimitsMemory | default "1G" | quote }}
|
||||||
env:
|
env:
|
||||||
- name: NEO4J_dbms_security_procedures_unrestricted
|
- name: NEO4J_dbms_security_procedures_unrestricted
|
||||||
value: "algo.*,apoc.*"
|
value: "algo.*,apoc.*"
|
||||||
|
|||||||
@ -9,6 +9,8 @@ smtpUsername:
|
|||||||
smtpPassword:
|
smtpPassword:
|
||||||
sentryDsnWebapp:
|
sentryDsnWebapp:
|
||||||
sentryDsnBackend:
|
sentryDsnBackend:
|
||||||
|
neo4jResourceRequestsMemory: "1G"
|
||||||
|
neo4jResourceLimitsMemory: "1G"
|
||||||
neo4jConfig:
|
neo4jConfig:
|
||||||
apoc_import_file_enabled: "true"
|
apoc_import_file_enabled: "true"
|
||||||
dbms_memory_pagecache_size: "490M"
|
dbms_memory_pagecache_size: "490M"
|
||||||
@ -21,5 +23,5 @@ privateKeyPassphrase: a7dsf78sadg87ad87sfagsadg78
|
|||||||
mapboxToken: pk.eyJ1IjoiaHVtYW4tY29ubmVjdGlvbiIsImEiOiJjajl0cnBubGoweTVlM3VwZ2lzNTNud3ZtIn0.KZ8KK9l70omjXbEkkbHGsQ
|
mapboxToken: pk.eyJ1IjoiaHVtYW4tY29ubmVjdGlvbiIsImEiOiJjajl0cnBubGoweTVlM3VwZ2lzNTNud3ZtIn0.KZ8KK9l70omjXbEkkbHGsQ
|
||||||
mongodbUsername:
|
mongodbUsername:
|
||||||
mongodbPassword:
|
mongodbPassword:
|
||||||
neo4jUsername:
|
neo4jUsername: neo4j
|
||||||
neo4jPassword:
|
neo4jPassword: neo4j
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user