add HEALTHCHECK directive support in containers

Registered by Jeffrey Zhang

Now docker supports healthcheck directive[0] in Dockerfile, which is helpful for checking container aliveness. It is nice to add this feature in Kolla.

[0] https://docs.docker.com/engine/reference/builder/#healthcheck

Blueprint information

Status:
Complete
Approver:
Martin André
Priority:
Medium
Drafter:
Jeffrey Zhang
Direction:
Approved
Assignee:
Michal Nasiadka
Definition:
Approved
Series goal:
Accepted for victoria
Implementation:
Implemented
Milestone target:
milestone icon 11.0.0
Started by
Michal Nasiadka
Completed by
Mark Goddard

Related branches

Sprints

Whiteboard

As a start, we could import the healtch checks that were developed as part of tripleo: https://github.com/openstack/tripleo-common/tree/master/healthcheck

Gerrit topic: https://review.opendev.org/#/q/topic:bp/container-health-check

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.