How to implement liveness and readiness endpoints for a gRPC service? How to implement liveness and readiness endpoints for a gRPC service? kubernetes kubernetes

How to implement liveness and readiness endpoints for a gRPC service?