bonny icon indicating copy to clipboard operation
bonny copied to clipboard

Composable filters for node scheduling

Open coryodaniel opened this issue 5 years ago • 0 comments

Add submodules / functions to Bonny.Server.Scheduler for composable filtering of nodes:

  • [ ] affinity / anti-affinity for pods / nodes
  • [ ] labels
  • [ ] taints

Blocked by #55

subset_of_nodes = 
  Bonny.Server.Scheduler.Nodes.with_labels(["label-key", {"a-key", "with-a-value"}])
  |> Bonny.Server.Scheduler.Nodes.with_affinity(...)
  |> Bonny.Server.Scheduler.nodes()

coryodaniel avatar Jun 27 '19 18:06 coryodaniel