Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EvictionCost ¶
EvictionCost returns the disruption cost computed for evicting the given pod.
func LifetimeRemaining ¶
lifetimeRemaining calculates the fraction of node lifetime remaining in the range [0.0, 1.0]. If the ExpireAfter is non-zero, we use it to scale down the disruption costs of candidates that are going to expire. Just after creation, the disruption cost is highest, and it approaches zero as the node ages towards its expiration time.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.