# Functions
New will construct a node struct to perform various node function through the kubernetes api server.
NewWithValues will construct a node struct with a drain helper and an uptime function.
# Constants
ActionLabelKey is a k8s label key that can be added to the k8s node NTH is running on.
ActionLabelTimeKey is a k8s label key whose value is the secs since the epoch when an action label is added.
ASGLifecycleTerminationTaint is a taint used to make instances about to be shutdown by ASG unschedulable.
EventIDLabelKey is a k8s label key whose value is the drainable event id.
Apply this label to enable the ServiceNodeExclusion feature gate for excluding nodes from load balancers.
The value associated with this label is irrelevant for enabling the feature gate By defining a unique value it is possible to check if the label was applied by us before removing it.
No description provided by the author
OutOfServiceTaint is a taint used to forcefully evict pods without matching tolerations and detach persistent volumes.
No description provided by the author
PodEvictMsg is the event message emitted for Pod evictions during node drain.
PodEvictReason is the event reason emitted for Pod evictions during node drain.
RebalanceRecommendationTaint is a taint used to make spot instance unschedulable.
ScheduledMaintenanceTaint is a taint used to make spot instance unschedulable.
SpotInterruptionTaint is a taint used to make spot instance unschedulable.
UncordonAfterRebootLabelVal is a k8s label value that can added to an action label to uncordon a node.