# Functions
AddOrUpdateLabelsOnNode updates the labels on the node and returns true on success and false on failure.
AddOrUpdateTaintOnNode add taints to the node.
DeletePods will delete all pods from master running on given node, and return true if any pods were deleted, or were found pending deletion.
GetNodeCondition extracts the provided condition from the given status and returns that.
No description provided by the author
MarkPodsNotReady updates ready status of given pods running on given node from master return true if success.
PatchNodeTaints patches node's taints.
RecordNodeEvent records a event related to a node.
RecordNodeStatusChange records a event related to a node status change.
RemoveTaintOffNode is for cleaning up taints temporarily added to node, won't fail if target taint doesn't exist or has been removed.
SetPodTerminationReason attempts to set a reason and message in the pod status, updates it in the apiserver, and returns an error if it encounters one.
SwapNodeControllerTaint returns true in case of success and false otherwise.
# Constants
NodeUnreachablePodMessage is the message on a pod when its state cannot be confirmed as kubelet is unresponsive on the node it is (was) running.
NodeUnreachablePodReason is the reason on a pod when its state cannot be confirmed as kubelet is unresponsive on the node it is (was) running.
PodBindingAnnotation can be added into pod annotation, which indicates that this pod will be bound to the node that it is scheduled to.
# Variables
No description provided by the author
No description provided by the author