Why n8n health checks matter once a single instance becomes a fleet
n8n health endpoints are how the platform reports liveness and readiness to the systems that decide where traffic goes. A load balancer or Kubernetes probe uses them to tell whether an n8n process should keep receiving requests, and a process that is running but unable to do useful work is exactly the case they exist to catch. Once you run more than one instance, a single instance that quietly stops processing can keep accepting connections while executions pile up behind it. A check that only confirms the process started will miss that failure, so the probe design has to match what each process actually does.
Probe design differs by role. In queue mode, the main instance handles triggers and webhooks and passes executions through Redis to workers, which read and write workflow data in PostgreSQL. A webhook processor accepts inbound calls, so its readiness matters to whatever sits in front of it. A worker that cannot reach Redis or PostgreSQL may still be alive while unable to finish any run, and a main instance that stops responding halts schedules and triggers, which is a different symptom from a stalled worker. Treat each role as its own target with its own probe, and record the dependencies each one needs. Confirm whether each role exposes a health endpoint at all, and what that endpoint checks, in the n8n queue mode documentation.
Before writing any probe, confirm the exact endpoint paths, response bodies and checks in the n8n documentation for the version you run. Confirm too whether workers and webhook processors expose health endpoints, and whether a custom health path can be configured. A probe written against a guessed path or a different version can report healthy while the instance is broken. Test each probe in a staging environment by stopping Redis or PostgreSQL on purpose, then watch whether the load balancer or Kubernetes removes the correct instance from rotation. Record the result, and repeat the test after each upgrade, since n8n ships minor releases roughly weekly.
Which health endpoint to use for which probe
This table compares the liveness style check, the readiness style check and a custom health path by the process each one probes, the system that calls it and the action a failure should trigger. Read each column as a separate decision: the liveness check decides restarts, the readiness check decides traffic. Where the exact behavior is not yet confirmed for this page, the cell says what to verify in the n8n docs before you wire a probe to it.
| Check | /healthz | /healthz/readiness | Custom health path |
|---|---|---|---|
| Question it answers | Is the process running and answering HTTP requests? | Can this instance accept traffic right now? | Whatever condition your team defines for its own caller |
| Process probed | The main n8n process serving the editor and API | The main n8n process, once its startup steps have finished | Whichever process the path is built into, confirm how it is exposed |
| Typical caller | Kubernetes liveness probe | Kubernetes readiness probe or load balancer health check | Load balancer, monitoring agent or a script you write |
| Failure action | Orchestrator restarts the container | Instance is removed from rotation until it passes again | Set by the caller, such as an alert or drained traffic |
| What it checks internally | Verify the exact checks in the n8n health endpoint docs | Verify whether the database and other dependencies are included | Only the tests your own code performs |
| Worker and webhook processors | Confirm whether each worker and webhook processor exposes its own endpoint | Confirm whether readiness is reported separately for each processor | Can be added per process with its own port and path, confirm first |
| Main risk if misused | A slow database can trigger restart loops if the check depends on it | A shared dependency outage can remove every instance from rotation at once | Exposed paths can reveal instance details, so confirm access controls |
How probes reach the main, webhook and worker processes in queue mode
A load balancer or Kubernetes probe starts at the main instance and at the webhook processors, which sit in front of the work. The main instance hands executions through Redis to a pool of workers, and the main instance and workers both read and write PostgreSQL. The encryption key is shared with workers and webhook processors so they can open stored credentials, which makes that path a trust boundary to review. When you wire probes, check each process type separately, since a healthy main instance does not prove that workers are taking jobs from the queue.
Probes check each process type, while work flows through Redis to workers.
Probing the main instance, webhook processors and workers differently
In a single-instance deployment, one n8n process serves the editor, the API, triggers, webhooks and workflow executions. A passing probe tells you that this process accepts HTTP requests and responds on the health path. It does not show that scheduled triggers fire on time, that a webhook on the production URL completes its workflow, or that PostgreSQL accepts writes at that moment.
- Process liveness: A 200 response shows the Node.js process is up and accepting connections, nothing more.
- Database access: Confirm whether the readiness path queries the database in your version. If it does not, a failed PostgreSQL connection can leave the probe green.
- Triggers and schedules: Schedule and polling triggers run inside the same process, so a passing probe does not prove they fire.
- Executions: Run one test workflow through a production-style webhook and confirm the run appears in the execution list.
Stop PostgreSQL in a non-production environment, watch what the probe reports, then restart it and confirm the probe recovers.
In queue mode, the main instance receives triggers and webhooks, then hands executions through Redis to a pool of workers that read and write workflow data in PostgreSQL. A passing probe on the main instance shows that its own process is serving requests. It does not show that Redis accepts jobs, that any worker is consuming them, or that executions are finishing. Queued work can stall while the main instance still looks healthy.
- Enqueueing: The main instance can answer HTTP while Redis is unreachable, so new executions may wait without an obvious failure. Confirm whether your version's readiness check includes Redis.
- Worker consumption: A green main probe says nothing about whether workers pick up jobs. Watch queue depth and the time between an execution being queued and starting.
- Shared encryption key: Workers need the same encryption key as the main instance to read credentials. A probe will not detect a mismatch, but a test workflow that uses a credential on a worker will.
- Multi-main scope: Running several main instances is limited to Enterprise self-hosted deployments, so this tab assumes a single main instance.
See the n8n queue mode documentation for the components involved, then test a queued execution end to end.
When webhook processors or workers run as separate processes, each one has its own process, its own listening port and its own probe. Whether these processes expose health endpoints, and which paths and ports they use, depends on the version in use, so confirm that before you write the probe definitions. A passing probe on one process describes only that process.
- Enable per process: Confirm that the health endpoint setting applies to worker and webhook processor processes in your version, and record the port each one listens on.
- Custom paths: If you change the health path, confirm the new path responds on every process type, then update each probe definition to match.
- Webhook routing: A healthy webhook processor does not prove that the reverse proxy routes production webhook URLs to it or that the main instance handles the resulting executions.
- Independent results: Do not let one probe stand in for the whole fleet. Stop each process in turn and confirm its probe changes state.
Before relying on the probes for load balancer or Kubernetes decisions, record which process each probe targets and what a failure should trigger.
How to set up and verify n8n health probes
This sequence takes a queue mode n8n deployment from an unknown health state to probes that remove an instance from rotation when it cannot serve work. It ends with tested results for the dependencies that matter most, so the load balancer and cluster react to the failures you expect.
Confirm the n8n version and endpoint documentation
Record the exact n8n version running on each process type, including the main instance, workers and webhook processors, and compare it with the release notes for that version. Open the endpoint documentation for that release and note which health paths it lists, such as
/healthzand/healthz/readiness, and which process types expose them. Do not rely on paths from older guides or blog posts. Done when you have a written list of version, process type and documented paths, and the team has agreed on it.Enable health endpoints on the main instance
On the main instance, turn on the health endpoints using the settings your version documents, then restart the process so the change takes effect. Confirm the paths are reachable from the network segment where the load balancer or probe runs, but not from the public internet. Check: from that segment, a request to
/healthzreturns a success response, and a request to/healthz/readinessreturns a response that reflects the instance state. If either path returns not found, the setting is not applied to this version or process type.Enable health endpoints on workers and webhook processors
Workers and webhook processors are separate processes. Confirm whether the health settings carry over to them for your version, and configure each process type explicitly if they do not. Give each process an address the probe can reach, and record which address belongs to which role. Check: request the health path on every worker and every webhook processor individually, not through a shared service name, and confirm each one answers. An instance that responds only through a shared address hides the one you need to diagnose.
Set the shared encryption key on every process
In queue mode, workers and webhook processors read credentials from the database, so each one needs the same encryption key as the main instance. Store the key in your secret manager, inject the identical value into every process, and make sure no container start generates a new key. Check: run a test workflow that uses a stored credential on a worker and confirm it completes. A mismatched key typically appears as errors when a worker tries to use a credential, so a successful run is your proof that the keys match.
Point the load balancer or Kubernetes probes at the paths
Map each path to a probe type deliberately. Use the readiness path to decide whether an instance receives traffic, and use a liveness check only for conditions where restarting the process would help. Set timeouts, failure thresholds and intervals from the startup time you observe on your own hardware, not from example values in a guide. Check: after a rollout, the load balancer marks each target healthy, the Kubernetes pods report ready only once n8n accepts requests, and the probe history shows no restart loop.
Test readiness by stopping Redis in staging
In a non-production environment, stop the Redis instance that queue mode uses to pass executions from the main instance to the workers. Watch the readiness path and the load balancer target state, and confirm the affected instances leave rotation. Restart Redis and confirm they return. Confirm in the documentation for your version exactly what readiness checks, since the outcome depends on it. Check: readiness changes during the outage, recovers after restart, and you have recorded the observed timings to inform your probe settings.
Test readiness by stopping PostgreSQL in staging
In the same non-production environment, stop PostgreSQL, the database where workers read and write workflow data. Observe the readiness path, the load balancer target state and any liveness restarts. Then start PostgreSQL again and confirm the instances recover without manual intervention. Check: readiness fails while the database is down, recovers once it is back, and the liveness history shows whether a database outage triggers restarts you do not want. Adjust the probe configuration if it does.
Security and operational risks of exposing health endpoints
Health and readiness endpoints answer questions for load balancers and orchestrators, but they also tell outsiders what is running and whether it is working. The cards below cover the exposure, encryption, verification and change-control decisions to settle before any probe goes into production.
Keep health and metrics paths private
Decide which networks can reach the health path and the metrics path before you publish either one. Load balancers and cluster probes should reach the instance over an internal address, while public traffic goes only to the webhook and editor paths you intend to expose. Check the reverse proxy rules after every change, because a catch-all route can expose endpoints that were never meant for the internet. Confirm from outside your network that the health path does not answer.
n8n queue mode docsLimit what probe responses reveal
A readiness response that lists database versions, queue details or internal hostnames gives an attacker a map of your deployment. Ask which fields your chosen endpoint returns, and whether a custom health path can return a simple status without detail. Treat any detailed output as internal only, and confirm that the response body does not echo configuration values. Review this again after each upgrade, since response content can change between releases.
Match the encryption key across processes
In queue mode, the main instance's encryption key must be shared with every worker and webhook processor so they can read credentials stored in the database. A mismatch does not stop the process from starting, but the affected process cannot decrypt credentials, so workflows that use them fail at run time. Confirm that every process receives the same key from the same secret source. A probe that reports healthy does not prove this, so test a credential-backed workflow on each process type.
Queue mode docsDo not treat a passing probe as proof
A passing health check shows that the process responds, not that scheduled triggers fire, queued executions run or credentials decrypt. Decide which end-to-end checks prove the platform works, such as a scheduled test workflow that writes a timestamp, and alert when it stops. Pair probes with execution monitoring so that a healthy process with a stalled queue still raises an alert. Verify each worker type separately, since a main instance can pass while workers are idle.
Control probe changes during upgrades
Probe paths, ports and timeouts often live in deployment manifests or load balancer settings that change less often than the application. Put those settings under the same change control as the n8n version, and record the old and new values before an upgrade. Check whether a new release changes the endpoint behavior or the environment variables that control it, and test the probe against a staging instance first. Keep a rollback path for the probe configuration as well as the image.
n8n release notesKeep the platform version current
n8n uses semantic versioning and ships minor releases roughly weekly, so a probe configuration tested on one version may need retesting on the next. Decide who tracks release notes, how quickly security fixes are applied, and which version each environment is pinned to. Confirm that the health endpoint behavior you rely on is documented for the version you run. Unpatched instances carry the same exposure whether or not their probes are configured correctly.
- Latest cited release
- 2.43
When a custom health path is worth the effort
A team needs a custom health path when the default endpoints do not fit how traffic reaches the instance. The usual case is a proxy, ingress or cloud load balancer that only accepts health checks on a specific path, or a platform policy that requires every service to expose health at one naming convention. In those cases, the choice is between reconfiguring the front end to probe the default /healthz paths and exposing a second path that matches the platform. Reconfiguring the front end is usually the cheaper option, so a custom path should be justified by a concrete constraint, not by preference. Confirm the constraint in writing with the team that owns the load balancer or ingress before you change anything in n8n.
The trade-off is ongoing maintenance. A custom path is one more configuration to track across upgrades, and it must be retested after every change to the proxy, the container image, the n8n version or the network path. Each custom path is also a surface that someone must document, monitor and remove later if the platform changes. Confirm with the n8n documentation for your exact version whether custom health paths are supported, which settings control them and what each path exposes, because support and behavior can differ between releases. Do not assume that a path works on queue mode workers or webhook processors until you have tested it on each process type.
Enterprise-only features such as multi-main high availability do not replace a sound probe design. Running several main instances can improve availability of the control plane, but it does not tell a load balancer whether a given process is ready to take traffic, and it does not remove the need to define what healthy means for each component. Start with the default endpoints, document what each one proves, and add a custom path only where a named constraint requires it. Record the owner, the probe settings and the test that proves the path still reports the right state after each upgrade.
Limits to confirm before writing probes
Health endpoints look simple, but what they report depends on your n8n version, your process layout and your license. The cards below list the points to settle in a test environment or with n8n before any probe goes into a load balancer or Kubernetes manifest.
Exact endpoint paths and meaning
Confirm which health paths your n8n version serves, such as /healthz and /healthz/readiness, and what a successful response means in that version. Check the status code and body for a healthy instance, a instance whose database is unreachable and an instance that is still starting. Record the results against the exact version you run, because a probe written for one release can misread another. Treat the vendor documentation for your version as the reference, and test each path yourself before relying on it.
Health endpoints on queue workers
Ask whether worker and webhook processor processes expose health endpoints in your version, and on which port. The main instance may answer while a worker is stuck or unable to reach Redis, so a probe that only checks the main process can hide a stalled execution pool. If workers do not serve health endpoints, plan a different signal, such as queue depth or process liveness, and confirm it with your team before you rely on it.
Multi-main high availability licensing
Confirm whether your deployment is eligible to run several main instances. The n8n queue mode documentation restricts multi-main setup to Enterprise self-hosted deployments, and it is not available in the Community edition or n8n Cloud. If you run a single main instance, a readiness probe on one main process decides whether traffic reaches n8n at all, so the failover design you assume in your architecture must match what your license allows.
Queue mode docsProbes during version skew and upgrades
Check how probe behavior changes during rolling upgrades. Ask n8n whether old and new processes can share one database and encryption key while a rollout is in progress, and how long a new pod takes to report ready after a migration. If your cluster also runs Kubernetes at mixed minor versions, confirm which Kubernetes upgrade order you follow, since the control plane is upgraded before kubelets and kubelets may be up to three minor versions older. Test readiness gating during a staged upgrade in a non-production cluster first.
Feature differences across editions
Ask which health, metrics and logging features are available on the Community edition, Business and Enterprise plans. The n8n pricing page states that log streaming is limited to Business and Enterprise, so an operations design that depends on a feature from a higher tier may not be possible on your current plan. Put the edition you hold, and the edition you plan to buy, into your probe design review so the chosen endpoints are supported by the license you actually run.
n8n pricingQuestions teams ask before setting up n8n health checks
How much effort does setting up n8n health check probes take?
Effort depends mainly on how many process types you run, which orchestrator or load balancer sits in front of them, and whether queue mode is in place. A single main instance behind a load balancer is the simplest case. Each additional process type, such as workers and webhook processors, needs its own probe design, port and path decisions, and failure testing. Custom health paths add work when your load balancer or ingress expects a specific format. Ask for the effort to be broken into these items in a written scope: process types covered, orchestrator and load balancer configuration, test cases for each probe, and a rollout plan for each environment. Most of the work is one-time setup, with smaller recurring work when the n8n version or deployment layout changes.
Can our in-house platform team set up n8n health checks themselves?
Yes, a team that already runs containers and load balancers can usually configure these endpoints without outside help, as long as someone understands n8n's process model. The configuration itself is straightforward: which path each probe calls, what the orchestrator does on failure, and how startup grace periods and restarts are set. The risk lies in probes that restart healthy processes or keep traffic flowing to a failing instance. Check whether your team has planned tests for those cases in a non-production environment, such as stopping the database or Redis and observing how each process responds. If those tests are not planned, an outside review or a fixed-scope engagement can cover them.
What does our team need to provide before a health check engagement starts?
Plan to provide access to the cluster or load balancer configuration, a non-production environment close enough to production to test probes, the exact n8n version in use, and a description of the deployment layout. The layout should list how many main, worker and webhook processes run, where Redis and PostgreSQL sit, and how traffic reaches each process. Access should be limited to the namespaces or load balancer objects involved. Name a person who can approve changes to production probes and set a window for them. Without the version and layout, probe paths cannot be confirmed, so the written scope should list these as inputs with an owner and a date for each.
Do n8n health checks replace monitoring and alerting?
No. A health check answers one narrow question: should this process receive traffic or be restarted right now. It does not show execution failure rates, queue depth, memory trends or slow webhooks. Those signals need metrics, logs and alert routing. Use probes to keep traffic away from unhealthy instances and to trigger restarts, then use your monitoring stack to detect patterns and notify people. A passing probe does not mean executions are succeeding, because the probe was never designed to measure that. Treat metrics collection, log shipping and alert routing as separate work, and confirm that your written scope names them so they are not assumed to be covered by probe setup.
How do n8n upgrades affect health check probes?
Upgrades can change health endpoints, paths or response behavior, so probes should be checked on every n8n version change. Confirm the endpoint names and responses in the n8n release notes for the version you are moving to, then test the probes in staging before production. Orchestrator upgrades matter too. Kubernetes releases come about three times a year, and its version skew policy sets the order in which control plane and node components are upgraded, so probe behavior should be retested after cluster upgrades as well. Keep probe configuration in version control so a rollback restores the previous probe settings together with the previous n8n image.
Do queue mode workers need their own health endpoints and probes?
Usually yes, but the setup differs by process type, so confirm what each one exposes before writing probes. In queue mode the main instance handles triggers and webhooks and passes executions through Redis to workers that read and write PostgreSQL. A worker's health affects throughput, while a webhook processor's health affects inbound traffic, so each needs a probe that matches its role. Enabling health endpoints on workers and wiring them into your orchestrator is part of the configuration work. Check the n8n queue mode documentation for your version to confirm which endpoints each process type serves and how its ports are set.
What does a DeployOpen health check engagement cover?
A DeployOpen engagement covers planning, implementation and documentation of the work inside your own infrastructure, with scope agreed in writing before work starts. For health checks, that typically means reviewing your deployment layout, configuring probes for each process type your instance runs, adding custom health paths where your load balancer or ingress needs them, testing failure cases in a non-production environment, and documenting the settings for your operators. Engagements are fixed-scope, so deliverables and timelines are set in advance. Ask for a list of process types covered, the test cases, the environments touched and how upgrades will be handled. Ongoing upgrade support and retesting are available as a retainer.
How DeployOpen scopes and delivers n8n health check work
DeployOpen plans, implements, documents and supports self-hosted open-source platforms inside the client's own infrastructure, and n8n health endpoints are handled the same way. The work starts with a written scope that names which probes, workers and load balancers are covered before any configuration changes are made.
How we scope
- Inventory which n8n processes run as main, webhook processor or worker, and which need health endpoints
- Confirm the load balancer or Kubernetes probe platform and the exact paths each probe will call
- Agree in writing whether custom health paths and worker health endpoints are in or out of scope
- Record the network zones that may reach health endpoints and any restrictions on what they expose
- Engagements are fixed-scope, with deliverables and timelines agreed before work starts
How we build
- Enable and verify the health endpoints on every process in your queue mode topology
- Configure liveness and readiness probes so they check different conditions and do not restart healthy pods
- Confirm that readiness reflects database and Redis connectivity before traffic is routed
- Test probe behavior under simulated database and Redis outages, then tune timeouts with your team
- Keep the encryption key consistent across all nodes that read credentials during each test
How we hand over
- Document each endpoint, the condition it reports and the probe settings that call it
- Provide a runbook for interpreting a failing readiness check and deciding whether to drain or restart
- Walk your platform and operations teams through the configuration and the test results
- Deliver the configuration files and manifests in the form your change process requires
- Record open questions to confirm with n8n release notes before upgrading the instance
How we support
- Review probe behavior after each n8n upgrade, since minor releases ship roughly weekly
- Retest health endpoints after changes to proxies, ingress, database or Redis settings
- Ongoing support, upgrades and continuous testing are available as a retainer
- Agree the response scope and access model for the retainer in writing at the start
- Coordinate with your monitoring and alerting work so probe failures reach the right team

