libelection v0.1.2 Election.Strategy.Kubernetes
This leader election strategy leverages the Kubernetes API Docs: https://kubernetes.io/docs/concepts/overview/kubernetes-api/
The node with the least resourceVersion
is elected as leader.
Link to this section Summary
Functions
Returns the leader node of the cluster
Link to this section Functions
Link to this function
leader(connected_nodes, config)
Returns the leader node of the cluster
Link to this function
log(level, tag, fun)