Q: Does serverInfo return a success mean the policies have been loaded correctly as well? I’m moving cerbos from a server model behind an load balancer to a sidecar, meaning it’ll be deployed far more frequently and want to make sure 🙂
05/12/2023, 7:32 AM
I don't know the answer to your question off hand, but we use
for the same purpose to check the liveness/readiness of the sidecar.
Our application then makes use of the gRPC Health API to programatically interact with the health of the sidecar.
05/15/2023, 10:41 PM
I’ve been using serverInfo as my proxy for this and have used the GRPC health-check as well.