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 resources

  • high_scale – scale of target.supply when increasing resources

  • interval – interval between adjustments in seconds

regulate(interval)[source]
async run()[source]

Service entry point