Support Elastic PUs with at most one container per machine (per PU)

Description

Add the limitation to manual and eager scale strategies, so that each machine would have at most one container running the PU.

Example:
final ProcessingUnit pu = gsm.deploy(
new ElasticStatefulProcessingUnitDeployment(puDir)
.maxMemoryCapacity(256*2, MemoryUnit.MEGABYTES)
.memoryCapacityPerContainer(256,MemoryUnit.MEGABYTES)
.dedicatedMachineProvisioning(getMachineProvisioningConfig())
.singleMachineDeployment()
.scale(
new ManualCapacityScaleConfigurer()
.memoryCapacity(512, MemoryUnit.MEGABYTES)
.atMostOneContainerPerMachine()
.create()));

Workaround

None

Acceptance Test

None

Status

Assignee

Itai Frenkel

Reporter

Itai Frenkel

Labels

None

Priority

Minor

SalesForce Case ID

None

Fix versions

Commitment Version/s

None

Due date

None

Product

XAP

Edition

Premium

Platform

None
Configure