Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PodEvictor ¶ added in v0.18.0
type PodEvictor struct {
// contains filtered or unexported fields
}
func NewPodEvictor ¶ added in v0.18.0
func (*PodEvictor) EvictPod ¶ added in v0.18.0
EvictPod returns non-nil error only when evicting a pod on a node is not possible (due to maxPodsToEvict constraint). Success is true when the pod is evicted on the server side.
func (*PodEvictor) NodeEvicted ¶ added in v0.18.0
func (pe *PodEvictor) NodeEvicted(node *v1.Node) int
NodeEvicted gives a number of pods evicted for node
func (*PodEvictor) TotalEvicted ¶ added in v0.18.0
func (pe *PodEvictor) TotalEvicted() int
TotalEvicted gives a number of pods evicted through all nodes
Click to show internal directories.
Click to hide internal directories.