Documentation ¶
Index ¶
- func BuildConfig() (*rest.Config, error)
- func GetNodeInternalIP(node *v1.Node) (string, error)
- func GetUnreachableNodes(c clientset.Interface, namespace string) ([]*v1.Node, error)
- func GetUnreadyNodes(c clientset.Interface) (*v1.NodeList, error)
- func ReportUnreachableIPs(c clientset.Interface, unreachableNodes []NetNode, reportingNodeIP string, ...) error
- type NetNode
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildConfig ¶
func GetNodeInternalIP ¶
GetNodeInternalIP returns the internal IP address of the node object Maybe we should error if there's more than a single IP unless opted in (as workloads could be commiting remote data)
func GetUnreachableNodes ¶
GetUnreachableNodes get nodes that are REPORTED as unreachanble by the function above - used from the monitor thread to provide a consensus of node Unreachability
func GetUnreadyNodes ¶
GetUnreadyNodes returns all the nodes that could be down
func ReportUnreachableIPs ¶
func ReportUnreachableIPs(c clientset.Interface, unreachableNodes []NetNode, reportingNodeIP string, namespace string) error
ReportUnreachableIPs records the ip addresses that can't be contacted - Used by the detector thread to report all node(s) that are unreachable (from a given source)
Types ¶
Click to show internal directories.
Click to hide internal directories.