You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are testing a very specific liveness probe for control n8n node, because due to our workload it happens that control pod hangs, and any workflows won't run until this pod is manually restarted by someone from our crew. unfortunately /healthz endpoint doesn't catch this very specific scenario in our situation.
# Test liveness probe workaround for n8n hanginglivenessProbe:
exec:
command:
- /bin/sh
- -c
- | wget -q --post-data='{ "type": "test" }' --spider http://n8n.namespace.svc.cluster.local/webhook/eventinitialDelaySeconds: 30# Wait 30 seconds before starting the first probeperiodSeconds: 60# Run the liveness probe every full minute (60 seconds)timeoutSeconds: 5# Fail if the command doesn't return within 5 secondsfailureThreshold: 4# After 3 failures, the pod will be restartedsuccessThreshold: 1# One success is enough to declare the pod healthy
However setting this in values.yaml sets it up also for worker nodes, which we don't need now.
Is there any possibility to set different liveness probes for control only, and different (so default) for workers, using this helm chart template?
The text was updated successfully, but these errors were encountered:
hmm, I would say you have to do it in the post-processing, like helm hooks maybe there are other options.
i would not want to add something extra just for your specific use case.
We are testing a very specific liveness probe for control n8n node, because due to our workload it happens that control pod hangs, and any workflows won't run until this pod is manually restarted by someone from our crew. unfortunately
/healthz
endpoint doesn't catch this very specific scenario in our situation.However setting this in
values.yaml
sets it up also for worker nodes, which we don't need now.Is there any possibility to set different liveness probes for control only, and different (so default) for workers, using this helm chart template?
The text was updated successfully, but these errors were encountered: