Monitoring CRDP health
CRDP provides healthz
and liveness
API endpoints to monitor the current CRDP health.
healthz
: Checks the current health of the CRDP container and reports whether CRDP is running fine.If the status code
200
(status is OK ) is returned, CRDP is running fine. You can proceed with your operations.If the status code
503
(an error), CRDP can't process any requests but it is recoverable. Check the issue in the CRDP logs and fix the issue to recover from the error state.
liveness
: Checks the liveness of the CRDP container whether CRDP is running healthy.If the status code
200
(status is OK ) is returned, CRDP is running fine. You can proceed with your operations.If the status code
503
(an error) is returned, CRDP can't process any requests and isn't recoverable. In this case, you need to restart or redeploy the CRDP container.
Refer to CRDP API Reference for details.