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
4 changes: 4 additions & 0 deletions charts/n8n/templates/deployment.webhook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,10 @@ spec:
- name: http
containerPort: {{ get (default (dict) .Values.webhook.config.n8n) "port" | default 5678 }}
protocol: TCP
{{- with .Values.webhook.startupProbe }}
startupProbe:
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with .Values.webhook.livenessProbe }}
livenessProbe:
{{- toYaml . | nindent 12 }}
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 @@ -99,6 +99,10 @@ spec:
- name: http
containerPort: {{ get (default (dict) .Values.worker.config.n8n) "port" | default 5678 }}
protocol: TCP
{{- with .Values.worker.startupProbe }}
startupProbe:
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with .Values.worker.livenessProbe }}
livenessProbe:
{{- toYaml . | nindent 12 }}
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 @@ -84,6 +84,10 @@ spec:
- name: http
containerPort: {{ get (default (dict) .Values.main.config.n8n) "port" | default 5678 }}
protocol: TCP
{{- with .Values.main.startupProbe }}
startupProbe:
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with .Values.main.livenessProbe }}
livenessProbe:
{{- toYaml . | nindent 12 }}
Expand Down
46 changes: 42 additions & 4 deletions charts/n8n/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,20 @@ main:
# - -c
# - chmod o+rx /root; chown -R node /root/.n8n || true; chown -R node /root/.n8n; ln -s /root/.n8n /home/node; chown -R node /home/node || true; node /usr/local/bin/n8n

# here you can override the startupProbe for the main container
# startupProbe runs during container startup and disables liveness/readiness checks until it succeeds.
# This is useful for slow-starting containers that need time to initialize before health checks begin.
# See https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/#define-startup-probes
startupProbe: {}
# httpGet:
# path: /healthz
# port: http
# initialDelaySeconds: 10
# periodSeconds: 10
# timeoutSeconds: 5
# failureThreshold: 30
# successThreshold: 1

# here you can override the livenessProbe for the main container
# it may be used to increase the timeout for the livenessProbe (e.g., to resolve issues like

Expand Down Expand Up @@ -396,7 +410,19 @@ worker:
# command args
commandArgs: []

# here you can override the livenessProbe for the main container
# here you can override the startupProbe for the worker container
# startupProbe runs during container startup and disables liveness/readiness checks until it succeeds.
startupProbe: {}
# httpGet:
# path: /healthz
# port: http
# initialDelaySeconds: 10
# periodSeconds: 10
# timeoutSeconds: 5
# failureThreshold: 30
# successThreshold: 1

# here you can override the livenessProbe for the worker container
# it may be used to increase the timeout for the livenessProbe (e.g., to resolve issues like
livenessProbe:
httpGet:
Expand All @@ -408,7 +434,7 @@ worker:
# failureThreshold: 6
# successThreshold: 1

# here you can override the readinessProbe for the main container
# here you can override the readinessProbe for the worker container
# it may be used to increase the timeout for the readinessProbe (e.g., to resolve issues like

readinessProbe:
Expand Down Expand Up @@ -585,7 +611,19 @@ webhook:
# Command Arguments
commandArgs: []

# here you can override the livenessProbe for the main container
# here you can override the startupProbe for the webhook container
# startupProbe runs during container startup and disables liveness/readiness checks until it succeeds.
startupProbe: {}
# httpGet:
# path: /healthz
# port: http
# initialDelaySeconds: 10
# periodSeconds: 10
# timeoutSeconds: 5
# failureThreshold: 30
# successThreshold: 1

# here you can override the livenessProbe for the webhook container
# it may be used to increase the timeout for the livenessProbe (e.g., to resolve issues like

livenessProbe:
Expand All @@ -598,7 +636,7 @@ webhook:
# failureThreshold: 6
# successThreshold: 1

# here you can override the readinessProbe for the main container
# here you can override the readinessProbe for the webhook container
# it may be used to increase the timeout for the readinessProbe (e.g., to resolve issues like

readinessProbe:
Expand Down