vic icon indicating copy to clipboard operation
vic copied to clipboard

Dockerfile: Support for HEALTHCHECK

Open corrieb opened this issue 8 years ago • 2 comments

User Statement:

As a docker developer, I want to be able to specify a process that checks the health of my container on a regular basis and have the health status of my container reported by docker inspect

Details:

Our lack of support for this isn't a critical portability issue, but being able to monitor health is a capability targeted at exactly the kinds of workloads we expect VIC to run - long-running, well-isolated processes in production.

The exec support we've added may make this simpler as the health-check is basically a cron for exec, driven by the tether.

Acceptance Criteria:

There needs to be a test that demonstrates that this capability works.

corrieb avatar Jun 05 '17 17:06 corrieb

Marking medium priority - please re-assess if necessary.

anchal-agrawal avatar Jun 05 '17 22:06 anchal-agrawal

@anchal-agrawal : Hi Anchal, just wanted to check if there is any further update on Healthcheck feature support through API. Currently we are doing monitoring using ELK Stack and Metricbeat. We have configured Metricbeat to monitor VCH endpoint (remote docker API). We are able to capture details like docker info, cpu stats, memory stats, network stats, containers etc. Only Healthcheck is missing. It will be helpful if we can also get the healthcheck details through API which we can use to trigger a custom workflow if there is any change in state. Thanks.

aviratna avatar Apr 22 '19 08:04 aviratna