(QENG-3376) Allow lifetime to be set per-pool

At current vm_lifetime and vm_lifetime_auth are configured globally only.  This change allows that value to be set/overridden per pool.
This commit is contained in:
Rick Sherman 2016-01-12 15:17:07 -06:00
parent b79c3bfb75
commit b51ba35c18
2 changed files with 13 additions and 3 deletions

View file

@ -220,6 +220,14 @@
# - ready_ttl
# How long (in minutes) to keep VMs in 'ready' queues before destroying.
# (optional)
#
# - vm_lifetime
# How long (in hours) to keep VMs in 'running' queues before destroying.
# (optional; default: '24')
#
# - vm_lifetime_auth
# Same as vm_lifetime, but applied if a valid authentication token is
# included during the request.
# Example:
@ -240,4 +248,6 @@
size: 5
timeout: 15
ready_ttl: 1440
vm_lifetime: 1
vm_lifetime_auth: 4