Check application health
IDE Services provides the /actuator/health
endpoint to monitor the operational status of your application instance. It relies on Spring Boot Actuator to expose the health status, readiness, and liveliness of the application. To learn more, refer to the Spring documentation.
If the endpoint returns HTTP code 200, the result will look similar to this example:
In case you require more details, for example, if the endpoint returned HTTP code 503, you can add the Authorization header containing an automation token to the request and try again. The endpoint will return an extended response.
Configure readiness and liveness probes
Follow this example to enable health checks and configure readiness and liveness probes in your Kubernetes infrastructure:
For more information, refer to the Kubernetes documentation.