We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kubernetes scheduler server.
All nodes and pods are automatically selected from Bonny.Config.cluster_name/0. pods/0 and nodes/0 are overridable callbacks of Bonny.Server.Scheduler
Bonny.Config.cluster_name/0
pods/0
nodes/0
Bonny.Server.Scheduler
defmodule MyScheduler do use Bonny.Server.Scheduler, name: "foo" @impl Bonny.Server.Scheduler def select_node_for_pod(_pod, nodes) do nodes |> Stream.filter(fn(node) -> name = K8s.Resource.name(node) String.contains?(name, "preempt") end) |> Enum.take(1) |> List.first end end MyScheduler.start_link()
The text was updated successfully, but these errors were encountered:
fb539b5
coryodaniel
No branches or pull requests
Kubernetes scheduler server.
All nodes and pods are automatically selected from
Bonny.Config.cluster_name/0
.pods/0
andnodes/0
are overridable callbacks ofBonny.Server.Scheduler
The text was updated successfully, but these errors were encountered: