Blue-green deployment always deploy instantly

When I make a deployment with the bluegreen strategy, it always sees my green machines as passing health checks immediately. It does this even before the machines’ VMs have fully started, long before the health check even finishes its grace period. This makes fly.io instantly stop the blue machines and migrate the green machines over, before the green machines have even booted, interrupting traffic quite drastically.

My health checks config is shown below:

[[http_service.checks]]
grace_period = "10s"
interval = "5s"
timeout = "2s"
path = "/v1/bibles"

Hi… It generally helps to post the full fly.toml, since that format has a lot of nuances, particularly when it comes to service configuration. (People often unknowingly have two conflicting definitions, for example.)

The output of fly checks list would also be a good idea, I think, since it sounds like your health checks might not even be registered, :thinking: