# Functions
DeleteTaint removes all the taints that have the same key and effect to given taintToDelete.
GetDeploymentNamespace returns the Namespace this operator is deployed on.
GetLinuxUptime returns the uptime of a linux host.
GetNextBatchSize returns the number of nodes to ask in the next batch.
GetNrOfBatches returns the number of batches we need for the given total number of nodes.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
TaintExists checks if the given taint exists in list of taints.
UpdateNodeAnnotations updates the is-reboot-capable and watchdog timeout node annotations.
# Constants
IsRebootCapableAnnotation value is the key name for the node's annotation that will determine if node is reboot capable.
No description provided by the author
No description provided by the author
No description provided by the author
WatchdogTimeoutSecondsAnnotation value is the key name for the node's annotation that will hold the watchdog timeout in seconds.
# Variables
IsOutOfServiceTaintGA will be set to true in case OutOfServiceTaint is GA (k8s 1.28 or higher).
IsOutOfServiceTaintSupported will be set to true in case OutOfServiceTaint is supported (k8s 1.26 or higher).