X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/80f755b89c729a2772e9e5f5a6b23f20552f8211..58a026e09bda4c1e2374347615c325007c64fac4:/services/nodemanager/tests/fake_azure.cfg.template diff --git a/services/nodemanager/tests/fake_azure.cfg.template b/services/nodemanager/tests/fake_azure.cfg.template index eacd53faa2..a11a6d807e 100644 --- a/services/nodemanager/tests/fake_azure.cfg.template +++ b/services/nodemanager/tests/fake_azure.cfg.template @@ -1,3 +1,7 @@ +# Copyright (C) The Arvados Authors. All rights reserved. +# +# SPDX-License-Identifier: AGPL-3.0 + # Azure configuration for Arvados Node Manager. # All times are in seconds unless specified otherwise. @@ -34,16 +38,16 @@ max_nodes = 8 max_total_price = 0 # Poll Azure nodes and Arvados for new information every N seconds. -poll_time = 5 +poll_time = 0.5 # Polls have exponential backoff when services fail to respond. # This is the longest time to wait between polls. -max_poll_time = 300 +max_poll_time = 1 # If Node Manager can't succesfully poll a service for this long, # it will never start or stop compute nodes, on the assumption that its # information is too outdated. -poll_stale_after = 600 +poll_stale_after = 1 # If Node Manager boots a cloud node, and it does not pair with an Arvados # node before this long, assume that there was a cloud bootstrap failure and @@ -111,7 +115,7 @@ driver_class = {driver_class} # Azure bills by the minute, so it makes sense to agressively shut down idle # nodes. Specify at least two windows. You can add as many as you need beyond # that. -shutdown_windows = 1, 999999 +shutdown_windows = 0.05, 999999 [Cloud Credentials] # Use "azure account list" with the azure CLI to get these values.