Tutorial

Add /healthz to Node http server

GET /healthz returns 200 JSON.

Tutorial1 min readUpdated

  1. Gather credentials and a staging bot/app solely for healthz nodejs http.
  2. Implement the minimal change so that: GET /healthz returns 200 JSON.
  3. Add a fail-closed unit or fixture test that locks the behavior of healthz nodejs http.
  4. Run the flow end-to-end in staging; capture logs for the success and error paths.
  5. Write operator notes (env vars, rollback) for healthz nodejs http in the README.

Deploy checklist ยท Security checklist

Related comparisons and tools