Managing Health and Liveness Endpoints

The OPE supports the following health and liveness endpoints to check the overall health of the system and generate the response accordingly:

The HTTP response code numbers are the same for both the endpoints:

  • On Success - 200 (OK)
  • On Failure - 503 (Service unavailability)
Note: While starting up an OPE server, OPE either reads the model cache generated by the omsServer or processes model XMLs.OPE this impacts startup time drastically, therefore there is no ideal periodSeconds wait time before liveness probe can be made. Therefore it is recommended not to set liveness probe when deploying OPE on the Kubernetes or OpenShift.