(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-07-20 17:11:35 -05:00
parent 063d45c60b
commit 8a22434629
4 changed files with 84 additions and 8 deletions

View file

@ -285,6 +285,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:
@ -305,3 +313,5 @@
size: 5
timeout: 15
ready_ttl: 1440
vm_lifetime: 1
vm_lifetime_auth: 4