wascc-host icon indicating copy to clipboard operation
wascc-host copied to clipboard

Consider deferring schedule decisions to OPA

Open autodidaddict opened this issue 4 years ago • 0 comments

Once we have declarative deployments available for lattice (#67), we should look into the possibility of using Open Policy Agent as a way of deferring the scheduling logic. Instead of each host having hard-coded logic that decides if it can accept an incoming request for work (deploy actor, deploy capability, etc), it will ask an OPA policy if it can accept that work. This would give us the flexibility of growing and improving our scheduling/deployment algorithms without having to break code interfaces.

autodidaddict avatar Jul 27 '20 20:07 autodidaddict