feedback
Health check instruction from docker image is not mapped to cycle
Docker image has a HEALTHCHECK instruction in it.
HEALTHCHECK --interval=30s --timeout=5s --retries=5 CMD ["grpc_health_probe", "--addr=:9000"]
But seems it is not picked up by cycle to fill in the health check policy for container.
As a workaround, we are explicitly setting the containers.<container>.config.deploy.health_check
in cycle stack json/yaml.
health_check:
command: "grpc_health_probe --addr=:9000"
delay: "30s"
interval: "30s"
restart: true
retries: 5
timeout: "5s"