X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/80f755b89c729a2772e9e5f5a6b23f20552f8211..1e03ea4765bee6db9331a1265c8abf2c3e45caff:/services/nodemanager/tests/fake_gce.cfg.template diff --git a/services/nodemanager/tests/fake_gce.cfg.template b/services/nodemanager/tests/fake_gce.cfg.template index 38ac8bb450..11131efbc3 100644 --- a/services/nodemanager/tests/fake_gce.cfg.template +++ b/services/nodemanager/tests/fake_gce.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] key = 00000000-0000-0000-0000-000000000000