4 Commits
Author SHA1 Message Date
claudeandClaude Sonnet 4.6 b322ab1b39 fix: increase memory limit to 1Gi and set NODE_OPTIONS heap size
Helm Chart Release / release-chart (push) Successful in 5s
n8n 2.23+ has higher memory requirements. The previous 512Mi limit
caused OOM crashes (JS heap exhausted at ~248MB).

Changes:
- memory limit: 512Mi -> 1Gi, request: 256Mi -> 512Mi
- NODE_OPTIONS: --max-old-space-size={{ nodeHeapSizeMb }} (default 768MB)
  keeps JS heap at 75% of limit, leaving headroom for native code/buffers
- WEBHOOK_URL -> N8N_WEBHOOK_URL (deprecation warning fix)
- values.yaml: expose nodeHeapSizeMb for tuning

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-08-25 08:32:51 +09:00
claude 56bcd7d514 chore: update n8n to 2.36.5 2026-08-24 03:00:18 +00:00
claude cfe6efbad3 chore: update n8n to 2.35.3 2026-08-17 03:00:18 +00:00
claude 77899cf256 chore: update n8n to 2.34.4 2026-08-10 03:00:19 +00:00
4 changed files with 22 additions and 8 deletions
+2 -2
View File
@@ -2,8 +2,8 @@ apiVersion: v2
name: n8n name: n8n
description: A Helm chart for n8n workflow automation on Kubernetes (ARM/Raspberry Pi ready) description: A Helm chart for n8n workflow automation on Kubernetes (ARM/Raspberry Pi ready)
type: application type: application
version: "2.33.3" version: "2.36.5-a"
appVersion: "2.33.3" appVersion: "2.36.5"
keywords: keywords:
- n8n - n8n
- workflow - workflow
+9 -2
View File
@@ -119,12 +119,15 @@ helm install my-n8n cafepieters/n8n \
### リソース(Raspberry Pi 向けデフォルト) ### リソース(Raspberry Pi 向けデフォルト)
n8n 2.23 以降はメモリ消費が増加しています。`nodeHeapSizeMb``resources.limits.memory` の約 75% に設定してください。
| パラメータ | デフォルト | | パラメータ | デフォルト |
|---|---| |---|---|
| `resources.requests.cpu` | `250m` | | `resources.requests.cpu` | `250m` |
| `resources.requests.memory` | `256Mi` | | `resources.requests.memory` | `512Mi` |
| `resources.limits.cpu` | `1000m` | | `resources.limits.cpu` | `1000m` |
| `resources.limits.memory` | `512Mi` | | `resources.limits.memory` | `1Gi` |
| `nodeHeapSizeMb` | `768` |
## セキュアCookieの自動設定 ## セキュアCookieの自動設定
@@ -237,6 +240,10 @@ helm upgrade my-n8n cafepieters/n8n \
| バージョン | n8n | 変更内容 | | バージョン | n8n | 変更内容 |
|---|---|---| |---|---|---|
| 2.36.5-a | 2.36.5 | OOM対応: メモリ制限 1Gi・NODE_OPTIONS ヒープ制限追加・WEBHOOK_URL 非推奨警告修正 |
| 2.36.5 | 2.36.5 | 自動更新 |
| 2.35.3 | 2.35.3 | 自動更新 |
| 2.34.4 | 2.34.4 | 自動更新 |
| 2.33.3 | 2.33.3 | 自動更新 | | 2.33.3 | 2.33.3 | 自動更新 |
| 2.33.0 | 2.33.0 | 自動更新 | | 2.33.0 | 2.33.0 | 自動更新 |
| 2.27.3 | 2.27.3 | 自動更新 | | 2.27.3 | 2.27.3 | 自動更新 |
+3 -1
View File
@@ -41,6 +41,8 @@ spec:
containerPort: 5678 containerPort: 5678
protocol: TCP protocol: TCP
env: env:
- name: NODE_OPTIONS
value: "--max-old-space-size={{ .Values.nodeHeapSizeMb }}"
- name: N8N_PORT - name: N8N_PORT
value: "5678" value: "5678"
- name: N8N_PROTOCOL - name: N8N_PROTOCOL
@@ -48,7 +50,7 @@ spec:
- name: N8N_HOST - name: N8N_HOST
value: {{ .Values.n8n.host | quote }} value: {{ .Values.n8n.host | quote }}
{{- if .Values.n8n.webhookUrl }} {{- if .Values.n8n.webhookUrl }}
- name: WEBHOOK_URL - name: N8N_WEBHOOK_URL
value: {{ .Values.n8n.webhookUrl | quote }} value: {{ .Values.n8n.webhookUrl | quote }}
{{- end }} {{- end }}
- name: GENERIC_TIMEZONE - name: GENERIC_TIMEZONE
+8 -3
View File
@@ -7,7 +7,7 @@ replicaCount: 1
image: image:
registry: docker.io registry: docker.io
repository: n8nio/n8n repository: n8nio/n8n
tag: "2.33.3" tag: "2.36.5"
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
imagePullSecrets: [] imagePullSecrets: []
@@ -64,13 +64,18 @@ ingress:
# - n8n.local # - n8n.local
# Resource limits suitable for Raspberry Pi # Resource limits suitable for Raspberry Pi
# n8n 2.23+ requires more memory. Set nodeHeapSizeMb to ~75% of memory limit.
resources: resources:
limits: limits:
cpu: 1000m cpu: 1000m
memory: 512Mi memory: 1Gi
requests: requests:
cpu: 250m cpu: 250m
memory: 256Mi memory: 512Mi
# Node.js heap size limit (MB). Should be ~75% of resources.limits.memory.
# 1Gi limit → 768MB heap leaves headroom for native code and buffers.
nodeHeapSizeMb: 768
autoscaling: autoscaling:
enabled: false enabled: false