summaryrefslogtreecommitdiffstats
path: root/messagebus_test
diff options
context:
space:
mode:
authorHåkon Hallingstad <hakon@verizonmedia.com>2020-11-26 15:22:19 +0100
committerHåkon Hallingstad <hakon@verizonmedia.com>2020-11-26 15:22:19 +0100
commitd6e727e30087e321911aa240fee03053cc22b1f4 (patch)
treef20b90d16103704adcad2085a6084252ef826fc8 /messagebus_test
parentc1303724a101117e5c7cbf0d3ff9997705c01033 (diff)
Allow preprovision capacity on partially filled hosts
Adds new functionality that can be disabled by setting the compact-preprovision-capacity flag to false. preprovision-capacity can be satisfied by hosts with spare resources. The DynamicProvisioningMaintainer does this as follows: 1. For each cluster in preprovision-capacity, try to a. allocate the cluster using NodePrioritizer b. If there is a deficit, provision the deficit with HostProvisioner, which may provision larger shared hosts depending on shared-hosts, and retry (1) from the first cluster again. c. Otherwise, pretend the nodes are allocated and go to next cluster. 2. All of preprovision-capacity was successfully allocated, and empty hosts are therefore excess that can be deprovisioned.
Diffstat (limited to 'messagebus_test')
0 files changed, 0 insertions, 0 deletions