Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

iTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more

Use /ready to decide whether an Express instance should receive traffic, and /live to decide whether its process should be restarted. In Kubernetes, a failed readiness probe removes a Pod from the matching Service endpoints without restarting it; a failed liveness probe can trigger a container restart. Keeping those signals separate helps contain an interruption without turning overload or an upstream outage into a restart cascade.

What readiness and liveness mean during an outage

Check Question it answers Effect of failure in Kubernetes
Readiness (/ready) Can this instance safely serve requests now? Kubernetes marks the Pod unready and removes it from matching Service endpoints. The container is not restarted just because readiness failed.
Liveness (/live) Can this process still make progress? After the configured failure tolerance is exceeded, Kubernetes restarts the container.
Startup probe Has initialization completed enough for normal checks to begin? Until startup succeeds, Kubernetes does not run readiness or liveness probes. If startup fails beyond its configured threshold, the container is killed and handled according to its restart policy.

Express describes health checks as a way for a load balancer to decide whether an application instance is healthy and can accept requests. Kubernetes gives that decision two distinct operational outcomes: traffic exclusion for readiness and restart for liveness. See Express health checks and graceful shutdown and Kubernetes probe behavior.

Choose what each Express endpoint tests

Make readiness reflect ability to serve

Return success only when the instance can safely handle the traffic the Service sends it. Depending on the application, readiness may depend on completed initialization or a temporary inability to serve. If the check fails, Kubernetes can stop routing normal Service traffic to that Pod while the process remains available for recovery and subsequent checks.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Keep liveness narrow

Use liveness for a process that is running but cannot make progress, such as one stuck in a deadlock. Do not make every dependency outage or ordinary period of high load fail liveness. Restarting many healthy-but-busy processes, or a fleet whose upstream dependency is unavailable, can add load and prolong recovery. Kubernetes specifically warns that poorly designed liveness probes can cause cascading failures.

#1 Best Overall
Sale
TP-Link OC200 V3, Hardware Controller
  • Hardware Controller with Professional Network Management-Centralized management for up to 100 Omada devices including Omada access points, Omada Security Gateways and Jetstream switches.
  • Premium Hardware Design-Industry-leading flexible Rackmount/Desktop design with a powerful chipset, durable metal casing, 2 fast ethernet ports and 1 USB 2.0 port for auto backup.
  • Dual power selection-Support PoE (802.3af/802.3at) and micro USB for flexible installations.
  • Easy Network Monitor & Maintenance-The easy-to-use dashboard makes it simple to see your real-time network status and improve network maintenance for peace of mind.
  • Cloud Access with No License Fee-Enjoy cloud service with no license fee with the use of OC200. Remote Cloud access and Omada app brings centralized cloud management of the whole network from different sites—all controlled from a single interface anywhere, anytime.

Keep handlers quick and predictable

Health handlers should respond promptly and avoid doing expensive work. The Node.js Reference Architecture example returns HTTP 200 with JSON status ok from its Express management endpoints. It recommends implementing management endpoints before metric instrumentation so that health checks are not counted as ordinary instrumented application requests. See the Node.js Reference Architecture health-check example.

Match Express paths to Kubernetes probe paths

The endpoint names are a convention, not a Kubernetes requirement. The example below uses /ready and /live; change both the Express routes and manifest if choosing different names. The reference architecture uses /readyz and /livez, illustrating the same requirement: each configured HTTP probe path must exist and return the intended status.

Rank #2
Sale
Keep Connect MAX Router Rebooter, Wi-Fi Reset Device, Monitors Connectivity and Resets When Required. No App Necessary. If You Enter a Phone Number it Will Send Texts Upon resets.
  • Automatic Router Rebooter / Reset - Stop manually restarting your router! Automate the process to ensure highly reliable internet connection uptime
  • Constantly Monitors Router and/or Modem Internet Health. Keep Connect provides 24/7/365 protection to ensure that your smart home and connected devices are always online and available.
  • Notifications - Free Texts or Emails from Keep Connect notifying you of detected eventsif you choose to enter your phone number/email. You may also choose No Notifications.
  • Perfect for Smart Home Reliability - Schedule Periodic Resets to keep your connection fresh and fast.
  • Premium Cloud Services App Available (iOS App Store and Google Play Store) - Our Premium Keep Connect Cloud Services platform allows using our Online/Mobile App to monitor many locations in one place as well. Cloud Services allows remote management of devices at all locations as well as heartbeat monitoring of your Keep Connects to notify you in the event of an ISP internet outage at one of your sites.
const express = require('express');
const app = express();

app.get('/ready', (req, res) => {
  // Return success only when this instance can safely serve traffic.
  res.status(200).json({ status: 'ok' });
});

app.get('/live', (req, res) => {
  // Keep this a narrow check that the process can still make progress.
  res.status(200).json({ status: 'ok' });
});

app.listen(3000);

This is a minimal route shape, not a complete readiness policy: replace the unconditional readiness success with the application’s real serving condition. In Kubernetes, configure matching paths and the port your container actually listens on:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
containers:
  - name: app
    ports:
      - containerPort: 3000
    readinessProbe:
      httpGet:
        path: /ready
        port: 3000
    livenessProbe:
      httpGet:
        path: /live
        port: 3000

For HTTP probes, Kubernetes treats status codes from 200 through 399, inclusive, as success. A route returning a redirect may therefore pass the probe; use an intentional, direct health response to make the signal clear. Configuration details and examples are in Kubernetes probe configuration documentation.

Rank #3
LANProbe 10/100/1000 Gigabit Ethernet/USB Bypass Network Tap
  • (10/100/1G) Gigabit Bypass network tap / sniffer equivalent to port mirror on a switch.
  • The two monitor/sniff ports are isolated from the network being monitored.
  • Automatic bypass of device on power fail.
  • Power-over-Ethernet (POE) pass-through. Rated at .75A max at 57vdc
  • 5v power through USB3 port or 5v wall transformer (or both). ~500ma consumption.

Use a startup probe for slow initialization

If an application needs substantial time to initialize, configure a startup probe rather than weakening liveness for its entire lifetime. Kubernetes waits for startup success before running readiness and liveness checks. A startup failure beyond its configured threshold causes the container to be killed and subject to its restart policy.

Size the startup allowance for the application’s realistic worst-case startup behavior. Kubernetes documents the allowance as the product of failureThreshold and periodSeconds; do not copy sample values without checking them against observed startup times. The current Kubernetes probe concepts page lists defaults of periodSeconds: 10, timeoutSeconds: 1, and failureThreshold: 3. These are version-sensitive defaults, not universal tuning recommendations. See the current probe concepts documentation.

Rank #4
ConnectSense Rebooter Pro – Smart Automatic Router & Modem Rebooter | Internet Monitor, Power Cycle Scheduler, Remote Reboot via App, Local HTTPS API - MPN: CS-REBOOTER-PRO
  • NEVER MANUALLY REBOOT YOUR ROUTER AGAIN – The ConnectSense Rebooter Pro plugs between your modem or router and the wall outlet, automatically detecting lost internet connectivity across up to 5 network targets and power cycling your equipment instantly — keeping your home, office, or remote location always online 24/7.
  • SCHEDULED & AUTOMATIC REBOOTS – Set up to 10 custom reboot schedules to proactively clear memory leaks, prevent slowdowns, and keep your connection fresh — even before problems occur. Perfect for smart homes, security cameras, smart locks, thermostats, and any device that depends on a stable internet connection.
  • REMOTE CONTROL FROM ANYWHERE – Trigger a manual reboot anytime from the free ConnectSense app (iOS & Android) or directly from your home network. Whether you're traveling, at work, or managing a vacation rental or remote office, you stay in control of your network without needing to be on-site.
  • AUTOMATIC POWER OUTAGE RECOVERY – When the power goes out, the Rebooter Pro automatically restores and reboots your networking equipment once power returns, eliminating downtime and the need for manual intervention. Ideal for unattended locations, rental properties, and small business networks.
  • INTEGRATOR & PRO-GRADE FEATURES – The only router rebooter with a built-in local HTTPS API, giving IT professionals, smart home integrators, and power users advanced automation, monitoring, and remote management capabilities — no cloud subscription required for local control.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Reconstruct an interruption from probe and service evidence

Health endpoints show what the application reported at a moment in time; Kubernetes probe events show how the orchestrator acted on that signal. Neither alone identifies why users experienced errors. Build the incident timeline by aligning evidence from the same period:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  • Probe successes and failures, including the probe type and configured thresholds.
  • Pod readiness transitions and whether the Pod was available through the matching Service endpoints.
  • Container restarts and their timing relative to probe failures.
  • Request errors and latency, to establish when service symptoms began and eased.
  • Dependency and initialization evidence, to distinguish an application-process failure from inability to serve or an upstream problem.

For example, a readiness failure without a restart is consistent with traffic exclusion while the process remains running. Repeated liveness failures followed by restarts point to a different Kubernetes response, but the timeline still needs application and dependency evidence to establish the underlying cause. Probe state records the decision made by Kubernetes; it is not, by itself, a root-cause diagnosis.

Best Value
Sale
[Upgraded] AURSINC NanoVNA-H Vector Network Analyzer 9KHz -1.5GHz Latest HW V3.7 HF VHF UHF Antenna Analyzer, Measuring S Parameters, SWR, Phase, Delay, Smith Chart
  • [UPGRADED NanoVNA-H] New HW Version V3.7. It is upgradeable as new firmware is developed. With MicroSD card port now can have the measurement data or the screenshots saved in the it at anytime. Added battery circuit management, more secure. Redesigned PCB, you can connect to mobile phone with Type C-Type C cable (original PCB needs OTG cable), see a clear HD image on your phone. Added a ABS case, which is protective and dust-proof. Disply: 2.8 inch TFT (320 x240).
  • [IMPROVED FREQUENCY ALGORITHM] The improved frequency algorithm can use the odd harmonic extension of si5351 to support the measurement frequency up to 1.5GHz. The 9KHz-300MHz frequency range of the si5351 direct output provides better than 70dB dynamic, The extended 300M-900MHz band provides better than 60dB of dynamics, and the 900M-1.5GHz band is better than 40dB of dynamics.
  • [MULTIPLE FUNCTIONS] The default firmware main function is used for antenna performance measurement. The TX/RX method can measure the complete S11 and S21 parameters. If you need to obtain S12 and S22, you need to manually replace the transceiver port wiring. The CH0 output level is increased to 0dBm when using the fundamental wave, resulting in more accurate reflection measurement.
  • [SUPPORT ANDROID PHONE & PC SOFTSARE CONTROL] Designed a practical and simple control application on PC, you can download touchstone(SNP) files for radio design and simulation software. There is a PC interface that adds functionality and lets you work interactively on a bigger screen. Supports time domain analysis function (TDR). Compatible with most Android mobile phones, convenient for connecting to mobile phones. Support Windows Computer Control.
  • [STRONG AND SECURE POWER SUPPLY] This VNA is battery powered or USB powered. Built in 650mAh battery, could work for 2 hours continuously. For longer measurement time, kindly connect an external power source. The product interface displays battery usage, providing a clear understanding of the power status.

Common design mistakes to avoid

  • One check for both purposes: A dependency-sensitive check used for liveness can restart a fleet during an upstream incident. Keep the traffic-serving decision in readiness and reserve liveness for unrecoverable process failure.
  • Path mismatch: If Express exposes /ready but the manifest probes /readyz, the configured check does not reach the intended handler. Keep names aligned.
  • Readiness that never changes: An unconditional success response does not protect traffic when the instance cannot serve. Tie readiness to a genuine serving condition.
  • Startup allowance copied without context: A window too short for real startup can trigger unnecessary kills before normal probes begin. Base the threshold on realistic startup behavior.
  • Reading a failed readiness probe as a restart: Readiness failure removes the Pod from Service endpoints; liveness failure is the probe that can restart its container.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.