Q: Does <serverInfo> return a success mean the pol...
# help
m
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 🙂
r
I don't know the answer to your question off hand, but we use
/_cerbos/health
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.
m
Makes sense. I’ve been using serverInfo as my proxy for this and have used the GRPC health-check as well.