Skip to content
Open
Show file tree
Hide file tree
Changes from 2 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
11 changes: 6 additions & 5 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.12
version: 1.1.0
appVersion: 1.107.4
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,7 +34,8 @@ annotations:
artifacthub.io/prerelease: "false"
# supported kinds are added, changed, deprecated, removed, fixed and security.
artifacthub.io/changes: |
- kind: fixed
description: "allows empty tls for ingres: fixes https://github.com/8gears/n8n-helm-chart/issues/167"
- kind: changed
description: "Bump appVersion to n8n 1.107.4."
- 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 @@ -112,6 +112,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 @@ -108,6 +108,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 @@ -93,6 +93,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