cobald.controller.relative_supply module
- class cobald.controller.relative_supply.RelativeSupplyController(*args, **kwargs)[source]
Bases:
Controller
Controller that adjusts demand relative to supply
- Parameters:
target – the pool to manage
low_utilisation – pool utilisation below which resources are decreased
high_allocation – pool allocation above which resources are increased
low_scale – scale of
target.supply
when decreasing resourceshigh_scale – scale of
target.supply
when increasing resourcesinterval – interval between adjustments in seconds