support to run a command inside the container to check healthy
The latest docker version has supported healthcheck. It is useful for application container.
Zun may integration these options.
HEALTHCHECK
--health-cmd Command to run to check health
--health-interval Time between running the check
--health-retries Consecutive failures needed to report unhealthy
--health-timeout Maximum time to allow one check to run
--health-
--no-healthcheck Disable any container-specified HEALTHCHECK
Blueprint information
- Status:
- Complete
- Approver:
- hongbin
- Priority:
- High
- Drafter:
- feng.shengqin@zte.com.cn
- Direction:
- Approved
- Assignee:
- feng.shengqin@zte.com.cn
- Definition:
- New
- Series goal:
- Accepted for rocky
- Implementation:
- Implemented
- Milestone target:
- None
- Started by
- hongbin
- Completed by
- feng.shengqin@zte.com.cn
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
support-
Addressed by: https:/
Support health check for Docker containers
Addressed by: https:/
Add healthcheck to api-ref