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:
|
||||
- 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.*"
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user