In the application there is no way to parametrise the health check for the deployment. Instead of the default port health check we want to use http health check. Because when we use the port health check, the deployment maps the route even before the application is properly up.
In the application there is no way to parametrise the health check for the deployment. Instead of the default port health check we want to use http health check. Because when we use the port health check, the deployment maps the route even before the application is properly up.
Having a health check flag as in here (https://docs.cloudfoundry.org/devguide/deploy-apps/healthchecks.html) would solve the problem. (
-u http
or-u port
)