Command-line tool for checking gRPC health of services via gRPC-Web protocol. Version 1.0.4 mimics the gRPC health probe protocol but works over HTTP/1.1 with gRPC-Web clients. Useful for Kubernetes liveness/readiness probes when standard gRPC health checks cannot be used due to gRPC-Web limitations. Single-purpose, no dependencies.
npm install grpc-web-health-probeNo compatibility data collected yet for this library.
Install globally and probe a gRPC-Web endpoint.
Ensure target server implements the standard gRPC health proto and exposes it via gRPC-Web.
For native gRPC, use the official grpc-health-probe tool.
Use child_process.exec or similar to invoke the binary.
Parse stdout programmatically if needed.
No workaround for Watch; implement custom streaming health check if required.
Ensure the server has a gRPC-Web proxy (e.g., Envoy) configured and health service is registered.
Start the gRPC server and proxy before probing.
Check the server's health implementation (e.g., database connection, dependencies).
No dependency data recorded yet.