Documentation ¶
Index ¶
Constants ¶
View Source
const (
// ToBeDeletedTaint is a taint used to make the node unschedulable.
ToBeDeletedTaint = "ToBeDeletedByClusterAutoscaler"
)
Variables ¶
This section is empty.
Functions ¶
func CleanToBeDeleted ¶
CleanToBeDeleted cleans ToBeDeleted taint.
func GetToBeDeletedTime ¶
GetToBeDeletedTime returns the date when the node was marked by CA as for delete.
func HasToBeDeletedTaint ¶
HasToBeDeletedTaint returns true if ToBeDeleted taint is applied on the node.
func MarkToBeDeleted ¶
func MarkToBeDeleted(node *apiv1.Node, client kube_client.Interface) error
MarkToBeDeleted sets a taint that makes the node unschedulable.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.