mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 10:18:54 +00:00
We periodically fetch a list of all `RUNNING` VMs in GCP and then try to connect to them for clustering. However, during deploys, it's expected that we won't be able to connect to new VMs until they are fully up. The fetch doesn't take health checks into account, so we need a threshold-based error logging. To address this, we do the following: - We only log an error when failing to connect to nodes if we are currently below the threshold for each of the `api`, `domain`, and `web` node counts - We silence node timeout errors, as these will happen during deploys