https://cerbos.dev logo
Title
m

Matthew Ebeweber

05/12/2023, 2:10 AM
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

Rob Crowe

05/12/2023, 7:32 AM
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

Matthew Ebeweber

05/15/2023, 10:41 PM
Makes sense. I’ve been using serverInfo as my proxy for this and have used the GRPC health-check as well.