cobald.controller.linear module

class cobald.controller.linear.LinearController(*args, **kwargs)[source]

Bases: Controller

Controller that linearly increases or decreases demand

Parameters:
  • target – the pool to manage

  • low_utilisation – pool utilisation below which resources are decreased

  • high_allocation – pool allocation above which resources are increased

  • rate – maximum change of demand in resources per second

  • interval – interval between adjustments in seconds

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

Service entry point