Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions charts/n8n/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: n8n
version: 1.0.14
version: 1.0.15
appVersion: 1.109.1
type: application
description: "Helm Chart for deploying n8n on Kubernetes, a fair-code workflow automation platform with native AI capabilities for technical teams. Easily automate tasks across different services."
Expand Down Expand Up @@ -34,5 +34,8 @@ annotations:
artifacthub.io/prerelease: "false"
# supported kinds are added, changed, deprecated, removed, fixed and security.
artifacthub.io/changes: |
- kind: changed
description: "Update n8n app version to 1.109.1"
- kind: added
description: Add support spec.containers.resizePolicy for all containers. This allows to control the behavior when a container is resized.
links:
- name: GitHub PR
url: https://github.com/8gears/n8n-helm-chart/pull/232
4 changes: 4 additions & 0 deletions charts/n8n/templates/deployment.webhook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,10 @@ spec:
{{- toYaml .Values.webhook.securityContext | nindent 12 }}
resources:
{{- toYaml .Values.webhook.resources | nindent 12 }}
{{- with .Values.webhook.resizePolicy }}
resizePolicy:
{{- toYaml . | nindent 12 }}
{{- end }}
volumeMounts:
- name: data
mountPath: /home/node/.n8n
Expand Down
4 changes: 4 additions & 0 deletions charts/n8n/templates/deployment.worker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,10 @@ spec:
{{- end }}
resources:
{{- toYaml .Values.worker.resources | nindent 12 }}
{{- with .Values.worker.resizePolicy }}
resizePolicy:
{{- toYaml . | nindent 12 }}
{{- end }}
volumeMounts:
- name: data
mountPath: /home/node/.n8n
Expand Down
4 changes: 4 additions & 0 deletions charts/n8n/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,10 @@ spec:
{{- end }}
resources:
{{- toYaml .Values.main.resources | nindent 12 }}
{{- with .Values.main.resizePolicy }}
resizePolicy:
{{- toYaml . | nindent 12 }}
{{- end }}
volumeMounts:
- name: data
mountPath: /home/node/.n8n
Expand Down
22 changes: 22 additions & 0 deletions charts/n8n/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,13 @@ main:
# cpu: 100m
# memory: 128Mi

# Container resize policy allows runtime resource updates without pod restart
resizePolicy: []
# - resourceName: cpu
# restartPolicy: NotRequired
# - resourceName: memory
# restartPolicy: RestartContainer

autoscaling:
enabled: false
minReplicas: 1
Expand Down Expand Up @@ -440,6 +447,13 @@ worker:
# cpu: 100m
# memory: 128Mi

# Container resize policy allows runtime resource updates without pod restart
resizePolicy: []
# - resourceName: cpu
# restartPolicy: NotRequired
# - resourceName: memory
# restartPolicy: RestartContainer

autoscaling:
enabled: false
minReplicas: 1
Expand Down Expand Up @@ -626,6 +640,14 @@ webhook:
# requests:
# cpu: 100m
# memory: 128Mi

# Container resize policy allows runtime resource updates without pod restart
resizePolicy: []
# - resourceName: cpu
# restartPolicy: NotRequired
# - resourceName: memory
# restartPolicy: RestartContainer

autoscaling:
enabled: false
minReplicas: 1
Expand Down