Configure Amazon ECS HealthCheck using paketo-buildpacks/health-checker #352
Replies: 2 comments
-
|
Have you considered just using the ALB HTTP health checks here? I run a number of services on ECS and since Spring Boot Actuators provides a Sorry, I know that doesn't necessarily answer your question. I haven't tried running the health checker in the container, but what you're doing looks reasonable. Do you get anything in your logs? Or any further output? If the health-check process fails, it will write the problem to STDOUT. |
Beta Was this translation helpful? Give feedback.
-
|
Hi, have you added the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I have a spring boot application that uses paketo generate and deploy the OCI image over AWS ECS Service.
My problem is that I can't configure the health check to use the paketo health-checker.
I build the image and it works perfectly
Log (the important part):
In my local I run the image and the health works:
But when I configure the AWS ECS HealthCheck, it does not work
Using CMD as the interface to run the command is not valid ?
More information:
https://docs.aws.amazon.com/AmazonECS/latest/developerguide/healthcheck.html
https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#container_definition_healthcheck
thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions