mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-27 10:28:41 -05:00
(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:
parent
b79c3bfb75
commit
b51ba35c18
2 changed files with 13 additions and 3 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue