Skip to content

Commit

Permalink
feat: Add terminationMessagePath and terminationMessagePolicy
Browse files Browse the repository at this point in the history
  • Loading branch information
Alan Christie committed Feb 20, 2025
1 parent a7ca9cb commit f1d7516
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions roles/graph/templates/statefulset.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,11 @@ spec:
image: "{{ graph_image_registry }}/{{ graph_image }}:{{ graph_tag }}"
{% endif %}
imagePullPolicy: {{ graph_pull_policy }}
# A termination log (we use the neo4j debug.log)
# But if there is no termination log
# fallback to stdout logs on error.
terminationMessagePath: /data/logs/debug.log
terminationMessagePolicy: FallbackToLogsOnError
ports:
- containerPort: 7474
name: http
Expand Down

0 comments on commit f1d7516

Please sign in to comment.