Monitoring BDT health
BDT provides healthz
and liveness
probes to monitor BDT health.
healthz
Probe
Checks the current health status of the BDT container and reports whether BDT is serving the requests.
If the status code
200
(status is OK
) is returned, BDT is running fine. You can proceed with your operations.If the status code
503
(Container is not healthy
), BDT can't process any requests but it is recoverable. Check the issue in the BDT logs and fix it to recover from the error state.
Example
GET https://<BDT instanceip>:<port>/healthz
Output
{
"status": "OK"
}
In the above API call, replace <BDT instanceip>
and <port>
with the actual values from your BDT deployment.
liveness
Probe
Checks the liveness of the BDT container whether BDT is running healthy.
If the status code
200
(status is OK ) is returned, BDT is running fine. You can proceed with your operations.If the status code
503
is returned, BDT can't process any requests and isn't recoverable. In this case, you need to restart or redeploy the BDT container.
Example
GET https://<BDT instanceip>:<port>/liveness
Output
{
"status": "OK"
}
In the above API call, replace <BDT instanceip>
and <port>
with the actual values from your BDT deployment.