Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 1.12 KB

02-26-healthcheck-for-everyone.md

File metadata and controls

24 lines (19 loc) · 1.12 KB
title date tags authors description aliases excludeSearch
Custom healthcheck paths for all applications
2024-02-26
applications
Your applications can now be deployed with one or multiple custom healtchecks
/changelog/2024-02-26-healthcheck-for-everyone
true

Up until now, the deployment process only checked whether the application is listening to TCP port 8080. That doesn't always mean that the application has started correctly.

You can now define the paths that the orchestrator will call to validate a deployment for applications through one or multiple CC_HEALTH_CHECK_PATH environment variables. It works as follows:

  • If the application responds on this specified path, and the response code is between 200 and 300, the orchestrator considers that the deployment has been validated.
  • If it responds with a code outside this interval, the application is considered to have failed its deployment.