cobald.controller.relative_supply module

class cobald.controller.relative_supply.RelativeSupplyController(*args, **kwargs)[source]

Bases: Controller

Controller that adjusts demand relative to supply

  • 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 when decreasing resources

  • high_scale – scale of when increasing resources

  • interval – interval between adjustments in seconds

async run()[source]

Service entry point