mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 01:58:41 -05:00
Document backend_weight setting
This commit is contained in:
parent
f5c3c86632
commit
b1586393c7
1 changed files with 11 additions and 0 deletions
|
|
@ -477,6 +477,14 @@
|
|||
# Expects a boolean value
|
||||
# (optional; default: false)
|
||||
#
|
||||
# - backend_weight
|
||||
# A hash of clone_target values with weights assigned to allow selecting VMs by alias with selection probability
|
||||
# This setting is only used when there is a pool title and matching alias that both have values set in backend weight.
|
||||
# When both conditions are met then the next VM is selected by probability using backend weight. When weight is not set
|
||||
# in this configuration then distribution of load is random.
|
||||
# Expects a hash value
|
||||
# (optional)
|
||||
#
|
||||
# Example:
|
||||
|
||||
:config:
|
||||
|
|
@ -493,6 +501,9 @@
|
|||
domain: 'example.com'
|
||||
prefix: 'poolvm-'
|
||||
experimental_features: true
|
||||
backend_weight:
|
||||
'backend1': 60
|
||||
'backend2': 40
|
||||
|
||||
# :pools:
|
||||
#
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue