Closed kmala closed 5 years ago
When ever DCE is killing a pod because of health check failure, it would be helpful to log the reason for health check failure by inspecting the container.
printing json State.Health would suffice:
docker inspect --format='{{json .State.Health}}'
docker inspect --format="{{json .State.Health }}" <container Name/ID>
When ever DCE is killing a pod because of health check failure, it would be helpful to log the reason for health check failure by inspecting the container.