X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/4812b5639cfaf724540786fcd331aaa227635c77..42b483f3a722ad8a506040160e54d0080a197318:/services/nodemanager/doc/azure.example.cfg diff --git a/services/nodemanager/doc/azure.example.cfg b/services/nodemanager/doc/azure.example.cfg index f253621ced..8ba68018d5 100644 --- a/services/nodemanager/doc/azure.example.cfg +++ b/services/nodemanager/doc/azure.example.cfg @@ -1,6 +1,20 @@ +# 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. +[Manage] +# The management server responds to http://addr:port/status.json with +# a snapshot of internal state. + +# Management server listening address (default 127.0.0.1) +#address = 0.0.0.0 + +# Management server port number (default -1, server is disabled) +#port = 8989 + [Daemon] # The dispatcher can customize the start and stop procedure for # cloud nodes. For example, the SLURM dispatcher drains nodes @@ -51,6 +65,15 @@ boot_fail_after = 1800 # an Arvados node that hasn't been updated for this long. node_stale_after = 14400 +# Number of consecutive times a node must report as "idle" before it +# will be considered eligible for shutdown. Node status is checked +# each poll period, and node can go idle at any point during a poll +# period (meaning a node could be reported as idle that has only been +# idle for 1 second). With a 60 second poll period, three consecutive +# status updates of "idle" suggests the node has been idle at least +# 121 seconds. +consecutive_idle_count = 3 + # Scaling factor to be applied to nodes' available RAM size. Usually there's a # variable discrepancy between the advertised RAM value on cloud nodes and the # actual amount available. @@ -60,6 +83,7 @@ node_mem_scaling = 0.95 # File path for Certificate Authorities certs_file = /etc/ssl/certs/ca-certificates.crt + [Logging] # Log file path file = /var/log/arvados/node-manager.log @@ -83,6 +107,8 @@ apiclient = WARNING host = zyxwv.arvadosapi.com token = ARVADOS_TOKEN timeout = 15 +jobs_queue = yes # Get work request from Arvados jobs queue (jobs API) +slurm_queue = yes # Get work request from squeue (containers API) # Accept an untrusted SSL certificate from the API server? insecure = no