You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
Tell us about your request
Using HEALTHCHECK instruction in Dockerfile is ignored by Fargate. The health status does not appear in the AWS Console, and the task will not get killed even if I make the healthcheck always fail. If I however setup the healthcheck in the task definition, it works fine and health status appears in the console as well.
Which service(s) is this request for?
Fargate
Are you currently working around this issue?
Duplicating healthcheck instruction via AWS CDK / Console does the trick.
Additional context
I use node.js v14, docker, and healthcheck process written in node.
The text was updated successfully, but these errors were encountered:
Since Kubernetes 1.8, the Docker HEALTHCHECK has been disabled explicitly in Kubernetes.
I find that HEALTHCHECK depends a lot on deployment, so as a rule I do not add HEALTHCHECK to Dockerfile, but instead I add it to docker-compose, ECS taskdef, and EKS Deployment, as needed.
Community Note
Tell us about your request
Using
HEALTHCHECK
instruction inDockerfile
is ignored by Fargate. The health status does not appear in the AWS Console, and the task will not get killed even if I make the healthcheck always fail. If I however setup the healthcheck in the task definition, it works fine and health status appears in the console as well.Which service(s) is this request for?
Fargate
Are you currently working around this issue?
Duplicating healthcheck instruction via AWS CDK / Console does the trick.
Additional context
I use node.js v14, docker, and healthcheck process written in node.
The text was updated successfully, but these errors were encountered: